WHIRLYCOTT wrote:

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?

It works (using it myself), but you have to set it before using *ANYTHING* from OJB.


Tom

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



Reply via email to