[jboss-cvs] jboss-seam/seam-gen ...
Peter Muir
peter at bleepbleep.org.uk
Thu Nov 29 10:50:05 EST 2007
User: pmuir
Date: 07/11/29 10:50:05
Modified: seam-gen build.xml
Log:
Make generate-ui work for war style project
Revision Changes Path
1.122 +5 -3 jboss-seam/seam-gen/build.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: build.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-seam/seam-gen/build.xml,v
retrieving revision 1.121
retrieving revision 1.122
diff -u -b -r1.121 -r1.122
--- build.xml 29 Nov 2007 06:32:47 -0000 1.121
+++ build.xml 29 Nov 2007 15:50:05 -0000 1.122
@@ -1028,12 +1028,14 @@
<target name="generate-ui" depends="validate-project, init-generate" description="Build the ui based on existing entities">
<echo message="Building project '${project.name}' to generate views and controllers" />
- <ant antfile="${project.home}/build.xml" target="jar" inheritall="false"/>
+ <ant antfile="${project.home}/build.xml" target="archive" inheritall="false"/>
<hibernate templatepath="${base.dir}">
<jpaconfiguration persistenceunit="${project.name}" />
<classpath>
- <pathelement path="${project.home}/exploded-archives/${project.name}.jar"/>
+ <pathelement path="${project.home}/exploded-archives/${project.name}.war/WEB-INF/classes" />
+ <pathelement path="${project.home}/exploded-archives/${project.name}.war/WEB-INF/dev" />
+ <pathelement path="${project.home}/exploded-archives/${project.name}.jar" />
</classpath>
<property key="hibernatetool.util.toolclass" value="org.jboss.seam.tool.Util"/>
<hbmtemplate filepattern="{class-name}List.xhtml"
More information about the jboss-cvs-commits
mailing list