jtaylor 02/05/24 06:09:52
Modified: src/templates/build build.init.target
Log:
Use our backport of the 'Ant' task from Ant 1.5 when invoking callback
targets. This way all properties and references are properly passed.
Revision Changes Path
1.34 +10 -4 jakarta-turbine-maven/src/templates/build/build.init.target
Index: build.init.target
===================================================================
RCS file: /home/cvs/jakarta-turbine-maven/src/templates/build/build.init.target,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- build.init.target 15 May 2002 19:17:44 -0000 1.33
+++ build.init.target 24 May 2002 13:09:52 -0000 1.34
@@ -358,10 +358,16 @@
depends="${cbName}-callback-check"
if="maven.callback.${cbName}.ok">
- <ant antfile="$buildFile"
- target="$buildTarget">
- <property name="maven.build.classpath" value="classpath" />
- </ant>
+ <taskdef name="maven-ant"
+ classname="org.apache.maven.ant.Ant">
+ <classpath>
+ <path refid="maven-classpath"/>
+ </classpath>
+ </taskdef>
+
+ <maven-ant antfile="$buildFile"
+ target="$buildTarget"
+ inheritRefs="true" />
</target>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>