Author: jbalunas(a)redhat.com
Date: 2008-05-22 09:53:34 -0400 (Thu, 22 May 2008)
New Revision: 8265
Modified:
trunk/build/common.build.xml
trunk/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: trunk/build/common.build.xml
===================================================================
--- trunk/build/common.build.xml 2008-05-22 12:31:15 UTC (rev 8264)
+++ trunk/build/common.build.xml 2008-05-22 13:53:34 UTC (rev 8265)
@@ -121,6 +121,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="wicket" pom="${wicket.pom}"
todir="${lib.dir}" scope="compile" />
@@ -129,6 +130,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: trunk/seam-gen/build.xml
===================================================================
--- trunk/seam-gen/build.xml 2008-05-22 12:31:15 UTC (rev 8264)
+++ trunk/seam-gen/build.xml 2008-05-22 13:53:34 UTC (rev 8265)
@@ -8,7 +8,7 @@
<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 -->
@@ -38,9 +38,7 @@
<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" />
+ classpathref="seam-gen.path"/>
</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" />