[seam-commits] Seam SVN: r8259 - in branches/Seam_2_0: seam-gen and 1 other directory.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Wed May 21 16:57:06 EDT 2008


Author: jbalunas at redhat.com
Date: 2008-05-21 16:57:06 -0400 (Wed, 21 May 2008)
New Revision: 8259

Modified:
   branches/Seam_2_0/build/common.build.xml
   branches/Seam_2_0/seam-gen/build.xml
Log:
JBSEAM-3017 - modified seam-gen library dependencies and locations so that seam-gen does not require a network connection. 

Modified: branches/Seam_2_0/build/common.build.xml
===================================================================
--- branches/Seam_2_0/build/common.build.xml	2008-05-21 18:02:12 UTC (rev 8258)
+++ branches/Seam_2_0/build/common.build.xml	2008-05-21 20:57:06 UTC (rev 8259)
@@ -118,6 +118,7 @@
 		<copyDependencies id="pdf" pom="${pdf.pom}" todir="${lib.dir}" scope="runtime" />
 		<copyDependencies id="remoting" pom="${remoting.pom}" todir="${lib.dir}" scope="runtime" />
 		<copyDependencies id="ui" pom="${ui.pom}" todir="${lib.dir}" scope="runtime" />
+	    <copyDependencies id="gen" pom="${gen.pom}" todir="${lib.dir}" scope="runtime" />
 		<copyDependencies id="core" pom="${core.pom}" todir="${lib.dir}" scope="compile" />
 		<copyDependencies id="debug" pom="${debug.pom}" todir="${lib.dir}" scope="compile" />
 		<copyDependencies id="ioc" pom="${ioc.pom}" todir="${lib.dir}" scope="compile" />
@@ -125,6 +126,7 @@
 		<copyDependencies id="pdf" pom="${pdf.pom}" todir="${lib.dir}" scope="compile" />
 		<copyDependencies id="remoting" pom="${remoting.pom}" todir="${lib.dir}" scope="compile" />
 		<copyDependencies id="ui" pom="${ui.pom}" todir="${lib.dir}" scope="compile" />
+	    <copyDependencies id="gen" pom="${gen.pom}" todir="${lib.dir}" scope="compile" />
 		<property name="copyseamdependenciesdone" value="true" />
 	</target>
 

Modified: branches/Seam_2_0/seam-gen/build.xml
===================================================================
--- branches/Seam_2_0/seam-gen/build.xml	2008-05-21 18:02:12 UTC (rev 8258)
+++ branches/Seam_2_0/seam-gen/build.xml	2008-05-21 20:57:06 UTC (rev 8259)
@@ -7,8 +7,8 @@
 	<!-- Order is important -->
 	<property file="./build.properties" />
 	<import file="${seam.dir}/build/common.build.xml" />
-	
-	<target name="init" depends="initpoms">
+    
+    <target name="init">
         <path id="seam-gen.path" path="${seam.dir}/lib/jboss-seam-gen.jar" />
 
 	    <!-- taskdefs -->
@@ -39,8 +39,6 @@
 	    <taskdef name="pathFixer" 
 	             classname="org.jboss.seam.tool.FixPathTask" 
 	             classpathref="seam-gen.path"/>
-		
-		<copyDependencies pom="${gen.pom}" id="gen" scope="runtime" todir="${lib.dir}/gen" />
 	</target>
     
     <target name="init-properties" depends="init">
@@ -1060,9 +1058,13 @@
 		
 	<target name="init-generate">
 		<path id="htools.classpath">
-            <fileset dir="${lib.dir}/gen">
-                <include name="*.jar"/>
-            </fileset>
+            <pathelement path="../lib/ant.jar"/>
+            <pathelement path="../lib/hibernate-tools.jar"/>
+            <pathelement path="../lib/freemarker.jar"/>
+            <pathelement path="../lib/jboss-seam.jar"/>
+            <pathelement path="../lib/runtime.jar"/>
+            <pathelement path="../lib/common.jar"/>
+            <pathelement path="../lib/text.jar"/>  
         	<pathelement path="../lib/dom4j.jar" />
         	<pathelement path="../lib/persistence-api.jar" />
         	<pathelement path="../lib/hibernate.jar" />




More information about the seam-commits mailing list