Try to use:
maven.junit.sysproperties=...

for setting properties for your tests..

Michal

> -----Original Message-----
> From: Marc Dugger [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 28, 2003 7:17 PM
> To: [EMAIL PROTECTED]
> Subject: system property
> 
> 
> When invoking the goal test:test, I specify the JVM to fork.  However,
> the system properties that I am defining with '-D' appear not to be
> passed to the new JVM.  Here's my command line when invoking Maven:
>  
> $ maven -Dcom.susnetdirect.core.config.dir=. test:test
>  
> I'd like to set this property in a preGoal to test:test, but haven't
> read about any way to do this.  Any solution would be fine.  Thanks in
> advance for answers/comments. 
> 
> 
> ----------------------------------------------------------------------
> Miejsce WARSZAWSKICH spotkan... >>> http://link.interia.pl/f172b 
> 


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

Reply via email to