R
RVic
I inherited someones mountain of code wherein they use different idioms and ways of doing things than I typically do.
In one instance, there is a line of code:
System.getProperty("cn.env");
which, depending on what machine it is run on, has properties like "production" or "mirror"
Yet, I think this call, System.getProperty(), calls properties from the actual system, like (System.getProperty("user.home") or System.getProperty("file.separator").
So how can I set this on a particular machine (Ubuntu 12 in this case) for a value for cn.env?
Thanks in advance, RVic
In one instance, there is a line of code:
System.getProperty("cn.env");
which, depending on what machine it is run on, has properties like "production" or "mirror"
Yet, I think this call, System.getProperty(), calls properties from the actual system, like (System.getProperty("user.home") or System.getProperty("file.separator").
So how can I set this on a particular machine (Ubuntu 12 in this case) for a value for cn.env?
Thanks in advance, RVic