Browse Source

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 )


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273724 13f79535-47bb-0310-9956-ffa450edef68
master
Costin Manolache 22 years ago
parent
commit
0088b06732
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      proposal/embed/build.xml

+ 7
- 0
proposal/embed/build.xml View File

@@ -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>


Loading…
Cancel
Save