This is supposed to work, right?

System.setProperty("OJB.properties", "OJB-offline.properties");

Basically, I'm testing for a condition that requires using a different OJB.properties file. However, I can only seem to get this working by passing in -DOJB.properties=OJB-offline.properties to the jvm.

Can someone confirm that this indeed works?

phil.
--
                                  Whirlycott
                                  Philip Jacob
                                  [EMAIL PROTECTED]
                                  http://www.whirlycott.com/phil/

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



Reply via email to