costin 2002/12/28 22:06:27
Modified: proposal/embed build.xml
Log:
Changed the build system.
embed-optional will build optiona-dynprop.jar containing the dynamic
properties and XMLDOM.
Main will just display a message - the hooks are not needed with ant1.6,
only for ant1.5. ( the component helper is not yet in 1.6, but
it's easier )
Revision Changes Path
1.8 +7 -0 jakarta-ant/proposal/embed/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-ant/proposal/embed/build.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- build.xml 21 Nov 2002 22:29:48 -0000 1.7
+++ build.xml 29 Dec 2002 06:06:27 -0000 1.8
@@ -27,6 +27,11 @@
<target name="build" depends="main" />
<target name="main" depends="init" >
+ <echo>Embed is no longer supported with ant1.6. It is only used with
ant1.5 ! The dynamic properties work with both, use embed-optional target</echo>
+ </target>
+
+ <target name="main-ant15" depends="init"
+ description="Build hacks into ant1.5 to support some 1.6 features"
>
<javac srcdir="src/java"
debug="${debug}"
destdir="${embed.build}/classes" >
@@ -49,6 +54,7 @@
debug="${debug}"
destdir="${embed.build}/classes" >
<include name="org/apache/tools/ant/taskdefs/optional/**" />
+ <include name="org/apache/tools/ant/taskdefs/XMLDOM**" />
<classpath>
<!-- all this will move to their package -->
<pathelement location="build/classes" />
@@ -66,6 +72,7 @@
<jar file="${embed.build}/optional-dynprop.jar"
basedir="${embed.build}/classes">
<include name="org/apache/tools/ant/taskdefs/optional/**" />
+ <include name="org/apache/tools/ant/taskdefs/XMLDOM**" />
</jar>
</target>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>