I have a project with several modules, each in its own directory. Each module has its own ant build file (build.xml)
In the root directory, I installed a shared assembly file that calls the assembly file of each module in the correct order.
<?xml version="1.0"?> <project name="bridgedb" default="all" basedir="."> <target name="all"> <ant dir="corelib"/> <ant dir="tools"/> <ant dir="makeGdb"/> <ant dir="cytoscape-plugin"/> </target> </project>
Now each module also has a βcleanβ goal, so I add the following lines:
<target name="clean"> <ant dir="corelib" target="clean"/> <ant dir="tools" target="clean"/> <ant dir="makeGdb" target="clean"/> <ant dir="cytoscape-plugin" target="clean"/> </target>
And there are more such goals. Is there a way to overwrite the assembly file to avoid duplication? I was looking for an inline property that contains an active target, but I could not find it.
build ant
amarillion
source share