jstrachan 02/05/22 03:50:51
Modified: jelly build.xml
Log:
Added new target, 'demo-hw2' that demonstrates that I cannot reference the classpath
defined inside Maven using the projects.xml document.
Revision Changes Path
1.26 +10 -1 jakarta-commons-sandbox/jelly/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/jelly/build.xml,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- build.xml 22 May 2002 08:43:13 -0000 1.25
+++ build.xml 22 May 2002 10:50:51 -0000 1.26
@@ -67,7 +67,7 @@
</target>
<target name="maven:jar-resources">
- <ant antfile="${maven.home}/build-maven.xml" target="jar-resources"/>
+ <ant antfile="${maven.home}/plugins/core/build.xml" target="jar-resources"/>
</target>
<target name="maven:fo">
@@ -205,6 +205,15 @@
description="Runs the Hello World demo">
<java classname="org.apache.commons.jelly.Jelly" fork="yes">
<classpath refid="test.classpath"/>
+ <arg value="src/test/org/apache/commons/jelly/hello_world.jelly"/>
+ </java>
+ </target>
+
+
+ <target name="demo.hw2" depends="compile"
+ description="Runs the Hello World demo using Maven's classpath">
+ <java classname="org.apache.commons.jelly.Jelly" fork="yes">
+ <classpath refid="maven.dependency.classpath"/>
<arg value="src/test/org/apache/commons/jelly/hello_world.jelly"/>
</java>
</target>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>