Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #27990
| From | markspace <markspace@nospam.nospam> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: setting system propertes |
| Date | 2014-04-08 19:59 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <li2d1q$kq0$1@dont-email.me> (permalink) |
| References | <vd79k99augsjug4r5qnngdhqqkjs4t8f74@4ax.com> <5344a32d$0$305$14726298@news.sunsite.dk> |
On 4/8/2014 6:32 PM, Arne Vajhøj wrote: > > Are you asking if you can read data from a properties file > and use that data to call System.setProperty? You have to be careful of this though, because some parts of the system (notably the logger in my experience) can initialize before even your main() entry point is called. (And the logger does look at system properties to initialize.) Sometimes System.setProperty() will work for ya, and sometime it won't. But yeah generally this is an RTFM type question. I think however Roedy might be asking for his web site, to make sure he hasn't missed any details or standard practice. I think it might be better if he stated his goal, though, since his OP makes it sound like he's just looking for one answer. P.S. I don't know any other techniques other than what's been mentioned so far.
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
setting system propertes Roedy Green <see_website@mindprod.com.invalid> - 2014-04-08 18:12 -0700
Re: setting system propertes Arne Vajhøj <arne@vajhoej.dk> - 2014-04-08 21:32 -0400
Re: setting system propertes markspace <markspace@nospam.nospam> - 2014-04-08 19:59 -0700
Re: setting system propertes Roedy Green <see_website@mindprod.com.invalid> - 2014-04-08 23:39 -0700
csiph-web