Posted By

maxkar on 11/27/08


Tagged

actionscript entity generate Flex maven vo granite


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

yakafokon


Generate Actionscript VO from Java entity with granite-generator from maven


 / Published in: Java
 

URL: http://www.graniteds.org/confluence/pages/viewpage.action?pageId=229378

  1. <plugin>
  2. <groupId>org.apache.maven.plugins</groupId>
  3. <artifactId>maven-antrun-plugin</artifactId>
  4. <executions>
  5. <execution>
  6. <id>generate-as3</id>
  7. <phase>compile</phase>
  8. <configuration>
  9. <tasks>
  10. <taskdef name="gas3" classname="org.granite.generator.ant.AntJavaAs3Task" />
  11. <gas3 outputdir="${project.build.directory}/classes/as3">
  12. <!--
  13. entitytemplate="${basedir}/gen-templates/as3/entity.gsp"
  14. entitybasetemplate="${basedir}/gen-templates/as3/entityBase.gsp" -->
  15. <classpath>
  16. <pathelement location="${project.build.directory}/classes"/>
  17. </classpath>
  18. <fileset dir="${project.build.directory}/classes">
  19. <include name="com/cybercomgroup/sio/ejb3/entity/*.class"/>
  20. <!--exclude name="com/cybercomgroup/sio/ejb3/entity/BaseEntity.class"/-->
  21. </fileset>
  22. </gas3>
  23. </tasks>
  24. </configuration>
  25. <goals>
  26. <goal>run</goal>
  27. </goals>
  28. </execution>
  29. </executions>
  30. <dependencies>
  31. <dependency>
  32. <groupId>org.granite</groupId>
  33. <artifactId>gas3</artifactId>
  34. <version>1.1.0</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.granite</groupId>
  38. <artifactId>granite-generator</artifactId>
  39. <version>1.1.0</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>groovy</groupId>
  43. <artifactId>groovy-all</artifactId>
  44. <version>1.5.6</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.cybercomgroup.sio</groupId>
  48. <artifactId>sio-util</artifactId>
  49. <version>2.0-SNAPSHOT</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>antlr</groupId>
  53. <artifactId>antlr</artifactId>
  54. <version>2.7.6</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>asm</groupId>
  58. <artifactId>asm-all</artifactId>
  59. <version>2.2</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>commons-lang</groupId>
  63. <artifactId>commons-lang</artifactId>
  64. <version>2.3</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.hibernate</groupId>
  68. <artifactId>hibernate-commons-annotations</artifactId>
  69. <version>3.3.0.ga</version>
  70. <exclusions>
  71. <exclusion>
  72. <groupId>asm</groupId>
  73. <artifactId>asm</artifactId>
  74. </exclusion>
  75. <exclusion>
  76. <groupId>asm</groupId>
  77. <artifactId>asm-attrs</artifactId>
  78. </exclusion>
  79. </exclusions>
  80. </dependency>
  81. </dependencies>
  82. </plugin>

Report this snippet  

You need to login to post a comment.