ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhu, Yao" <Yao....@gs.com>
Subject RE: Does junit take -Dproperty=value in Ant's Junit task?
Date Thu, 19 Oct 2000 16:50:07 GMT

Thanks.

-----Original Message-----
From: Stefan Bodewig [mailto:bodewig@bost.de]
Sent: Thursday, October 19, 2000 12:10 PM
To: ant-user@jakarta.apache.org
Subject: Re: Does junit take -Dproperty=value in Ant's Junit task?


>>>>> "ZY" == Zhu, Yao <Yao.Zhu@gs.com> writes:

 ZY> Hi, Does junit task take java command line user defined
 ZY> properties like -Dproperty=value in ant's build.xml?
 
Yes, but only in fork=true mode.

 ZY> If yes, what's the syntax to implement it?
 
<junit fork="yes">
  <jvmarg value="-Dproperty=value" />
</junit>
 
Stefan

Mime
View raw message