You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jo...@wellsfargo.com on 2005/05/05 02:11:19 UTC

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

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