You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Le Strat <dl...@yahoo.com> on 2004/03/08 00:25:03 UTC

maven.junit.sysproperties question

Hello there,

I am using maven.junit.sysproperties in my
project.properties to initialize system properties.

I want to set the JDK
java.util.prefs.PreferencesFactory to a custom class.

When in my unit test, I do:

System.setProperty("java.util.prefs.PreferencesFactory",
"org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl");

The property is set appropriately.

If in my project.properties, I use:

maven.junit.sysproperties=java.util.prefs.PreferencesFactory
java.util.prefs.PreferencesFactory =
org.apache.jetspeed.prefs.impl.PreferencesFactoryImpl

The system property is not set.  Any suggestion on
what I am doing wrong would be greatly appreciated.

Regards,

David Le Strat.

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org