ANT subprojects



Hi,
I have many ANT files that I've wrote for compiling and packing a set
of projects.

Each ANT file has its own properties file with the configuration
variables. Now I want to make a new ANT names i.e. "big-ant.xml" that
calls the other subprojects, using this instruction:


<target name="build-cac">
<ant antfile="CAC/create-ear.xml" dir="CAC">
<property file="CAC/parameters.properties"/>
</ant>
</target>

.... And I got:

BUILD FAILED
Target `delete_temp' does not exist in this project. It is used from
target `end'.


Thats because the subproject file (create-ear.xml) is looking for the
"delete_temp" target in the ANT file where I called "ant file" task
(big-ant.xml).

How can I make the subprojects look for its targets in its own file?

Regards,

Andrés

.