ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alejandro Abdelnur <alejandro.abdel...@sun.com>
Subject [PATCH] ant1.4B2 - ant task, added fallbackantfile attribute
Date Sun, 02 Sep 2001 02:40:24 GMT

i've modified the the org.apache.tools.ant.taskdefs.Ant class to
support a fallback ant file in case the antfile specified does not
exist.

the build file specified in the fallbackantfile attribute will be used
if 
the file specified in the antfile is not found.

    <target name="buildModule" if="module">
        <ant target="build"
            antfile="${module}/config/buildModule.xml"
            fallbackantfile="default/config/buildModule.xml"/>
    </target>


attached you'll find the modified Ant.java file.

regards.

a
Mime
View raw message