Is the property listed in the maven.junit.sysproperties property?

They're the only ones passed to junit's test runners.

Brett Porter wrote:

This doesn't seem to get passed on if maven.junit.fork is set - maybe that is the problem?

dIon Gillard wrote:

Bryan Zarnett wrote:

Afternoon,
In Maven, what is the best approach to pass the -D parameters down the tube so that Log4j and the classes it calls get the details? I am currently using the J2SE Logging in my code and have a custom logging properties file I want to set.
I need to do a -Djava.util.logging.config.file=XXXX to Maven for my tests to pick this up. (or something to that extent)
Thanks for any info.



maven -Djava.util.logging.config.file=XXXX


should do the trick, or am I missing something here?

Oh, and if it's just maven stuff, see us over on the maven mailing lists...




--
dIon Gillard, Multitask Consulting
Blog:      http://www.freeroller.net/page/dion/Weblog
Work:      http://www.multitask.com.au



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



Reply via email to