ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mathews, John" <John.Math...@WellsFargo.COM>
Subject RE: Setting child JUNIT task's timeout attribute when using SUBAN T task
Date Thu, 05 May 2005 17:13:46 GMT
That was a typo it should be "." instead of "*" like so:

<subant target="test">
   <fileset dir="." includes="*/build.xml"/>
                  ^ I don't think you can have a glob pattern here!?
</subant>

But the point is: is there a way to set the attribute of a child junit task
from the parent?

Thanks
John

-----Original Message-----
From: Dominique Devienne [mailto:DDevienne@lgc.com] 
Sent: Thursday, May 05, 2005 6:56 AM
To: Ant Users List
Subject: RE: Setting child JUNIT task's timeout attribute when using SUBANT
task

> From: John.Mathews@wellsfargo.com [mailto:John.Mathews@wellsfargo.com]
> <subant target="test">
>   <fileset dir="*" includes="*/build.xml"/>
                  ^ I don't think you can have a glob pattern here!?
> </subant>
>
> 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?

Can't you define a property in the subbuild for the timeout value, which
default to something, and pass in an override in <subant> with a nested
<property>? --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message