Hi all,
I'm developing a test framework using Ant. The test framework consists
of web services and clients (clients are java applications NOT JUnit
tests). There are seperate build.xml files to compile and run each
client individually. I have a master build.xml file which calls the
build.xmls of each client via (ant antfile) command. Now my problem is,
if one of the clients fail (If build fails of sub directories), the
master build script also quits.
I tried with <java fork="true" failonerror="false"> with no luck.
Can someone please provide me a solution to overcome this issue?
(The master build.xml is attached here with)
Thank you very much!
Charitha
<project name="Runall" default="deploy.services">
<taskdef resource="net/sf/antcontrib/antlib.xml">
<classpath>
<pathelement location="ant-contrib-1.0b3.jar"/>
</classpath>
</taskdef>
<xmlproperty file="global_config.xml"/>
<property name="project.base.dir" value="."/>
<target name="deploy.services">
<for list="${wsas.services.service}" param="name">
<sequential>
<ant antfile="@{name}\service\build.xml"/>
</sequential>
</for>
</target>
<target name="run.clients">
<for list="${wsas.clients.client}" param="name">
<sequential>
<ant antfile="@{name}\client\build.xml"/>
</sequential>
</for>
</target>
<target name="clean.clients">
<for list="${wsas.clients.client}" param="name">
<sequential>
<ant antfile="@{name}\client\build.xml" target ="clean"/>
</sequential>
</for>
</target>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]