Hi All,
I have one replace.xml with Task1 and MainBuild.xml , SubBuild1.xml , SubBuild2.xml
The replace.xml:
<target name="task1"></target>
<target name="task2"></target>
In the MainBuild.xml
<import file="replace.xml">
<target name="">
<
ant antfile="/sample/SubBuild1.xml" target="build"/>
<ant antfile="/sample/SubBuild1.xml" target="build"/>
</target>
But i need to call replace.xml targets from the Sub Build files and need not imported replace.xml in sub build files.
Is it posiible by using ANT script and could you please let me know any other ways to achive this task.
It would be great help.
Regards,
Sam