ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KC Baltz <KBa...@responsenetworks.com>
Subject RE: junit task def
Date Thu, 12 Apr 2001 15:27:40 GMT
Yes.  <junit> supports nested <jvmarg> elements.  Look at the docs for
<java> if the <junit> docs don't cover <jvmarg>

Here's an example:

<junit blah="blah" >
  <jvmarg value="-Dtrace=true" />
</junit>

> -----Original Message-----
> From: Nathan Coast [mailto:nathan.coast@netdecisions.co.uk]
> Sent: Thursday, April 12, 2001 9:45 AM
> To: ant-user@jakarta.apache.org
> Subject: junit task def
> 
> 
> Hi, 
> 
> I'm using the optionaly JUnit task from within a build script 
> to run tests
> as part of the build process.  The problem is that various 
> system properties
> need setting for the code to execute successfully.  Normally 
> these would be
> set using the -D option.  Is it possible to set these 
> parameters in the
> target VM for the JUnit task?
> 
> Cheers
> Nathan
> 

Mime
View raw message