Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Setting child JUNIT task 's timeout attribute when using SUBANT task

Setting child JUNIT task 's timeout attribute when using SUBANT task

2005-05-04       - By John.Mathews@(protected)
Reply:     1     2  

Hi,



I have a problem setting up subant to execute junits in my subprojects.



This is my set up



Parent build

============

<target>

<subant target="test">

 <fileset dir="*" includes="*/build.xml"/>

</subant>

</target>



Child build



<target name="test">

 <junit ...

</target>







QUESTION:



Without changing the child build.xml, is there a way to set the timeout
attribute of the JUNIT task from the SUBANT task of the parent?



Thanks for you help



John










©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.