On 6/10/05, David Jackman <[EMAIL PROTECTED]> wrote:
> You can still do this on the command line.  It would look something like
> this (all on one line):
>       maven test:single
>                 -Dtestcase=com.yadda.SystemPropertyTest
>                 -Dmyproperty=foo
>                 -Dmaven.junit.sysproperties=myproperty
> 
> It's a bit trickier if there's more than one property, because the
> maven.junit.sysproperties value is space-delimited:
>       maven test:single
>                 -Dtestcase=com.yadda.SystemPropertyTest
>                 -Dmyproperty=foo
>                 -Dother=bar
>                 "-Dmaven.junit.sysproperties=myproperty other"
> 
> It would be harder to do much different because the -D parameter is not
> a Maven parameter, but a Java parameter.
> 

I disagree.  Maven could be made so that it passed any "non-standard"
system property on as a system property to new VMs that it spins off. 
Couldn't it?

-- 
Jamie Bisotti

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to