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

Attachment: Ant.java
Description: application/unknown-content-type-java_auto_file

Reply via email to