In development, it is generally encountered that several projects need to be compiled and released at the same time. If you execute ant in sequence, it is too annoying. You can call other ant scripts from the ant scripts of a target project.
Add the following to the target project
<target name="callNewsExtractor">
<echo message="building xxxxx project" />
<ant antfile="build.xml" dir="dir\xxx" />
</target>
This will call the build.xml compilation in the dir directory