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:[EMAIL PROTECTED]]
> Sent: Thursday, April 12, 2001 9:45 AM
> To: [EMAIL PROTECTED]
> 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
>