Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31265
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Robbie Brown <rob@example.com> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: How do you set java to read properties in relative path ? |
| Date | Mon, 02 Mar 2015 16:24:22 +0000 |
| Organization | A noiseless patient Spider |
| Lines | 23 |
| Message-ID | <md22qb$1vp$1@dont-email.me> (permalink) |
| References | <3044c107-8eec-4c22-8954-83f1fce6bc6e@googlegroups.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Mon, 2 Mar 2015 16:23:39 +0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="896c419cace3c343dd1aaf493906dad2"; logging-data="2041"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18THw51NphDgUCZ3ZkP3FApchMxLPGHcko=" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 |
| In-Reply-To | <3044c107-8eec-4c22-8954-83f1fce6bc6e@googlegroups.com> |
| Cancel-Lock | sha1:e81AJ71+ego8ixCLg4QHvJiY4Kk= |
| Xref | csiph.com comp.lang.java.programmer:31265 |
Show key headers only | View raw
On 02/03/15 11:02, Ajay Paul wrote: > How do you set java to read properties in relative path in local file system. > > I can do it absolute path but not in relative path. > Put the properties file in the same directory as the root of your binary(compiled) class hierarchy, by default, in Kepler it's bin. So, in Navigator view you would have myproject myproject/bin myproject/bin/props.properties myproject/bin/com myprojecy/bin/com/mycompany ...etc works for me -- Not floundering ... just fishing
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread
How do you set java to read properties in relative path ? Ajay Paul <ajaykpaul@gmail.com> - 2015-03-02 03:02 -0800
Re: How do you set java to read properties in relative path ? Nigel Wade <nmw@ion.le.ac.uk> - 2015-03-02 12:39 +0000
Re: How do you set java to read properties in relative path ? Nigel Wade <nmw@ion.le.ac.uk> - 2015-03-02 13:07 +0000
Re: How do you set java to read properties in relative path ? Ajay Paul <ajaykpaul@gmail.com> - 2015-03-02 06:33 -0800
Re: How do you set java to read properties in relative path ? Jeff Higgins <jeff@invalid.invalid> - 2015-03-02 10:57 -0500
Re: How do you set java to read properties in relative path ? Robbie Brown <rob@example.com> - 2015-03-02 16:24 +0000
csiph-web