| Summary: | Can't specify jacorb.properties location | ||
|---|---|---|---|
| Product: | JacORB | Reporter: | Kevin McCarthy <king_ramen> |
| Component: | ORB | Assignee: | Simon McQueen <sm> |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 2.2 | ||
| Hardware: | All | ||
| OS: | All | ||
|
Description
Kevin McCarthy
2004-06-07 02:22:50 UTC
Hi Kevin, Just to clarify - have you tried using -Dcustom.props=/path/to/some/file ? If so in what way does it not meet your requirements ? No, I did not try that, since it is not an advertised feature. :) According to the JacORB 2.2 documentation on page 16, properties are searched for: 1. in the lib directory of the JDK installation. (The JDK’s home directory denoted by the system property ”java.home”). 2. in the user home directory. (This is denoted by the system property ”user.home”. On Windows, this is c:\documents\username, on Unixes it’s ˜user. If in doubt where your home directory is, write a small Java programm that prints out this property. 3. on the class path. There is no referece to a "custom.props" system property. I tried using such a property and it loaded IN ADDITION to jacorb.properties, and not instead of. [configuration loaded from classpath resource file:/home/kevin/development/ucp/conf/jacorb.properties] [configuration loaded from /home/kevin/development/ucp/conf/jacorb.properties.2] This presented issues (obviously) but I can work around it if such behaviour is desired. Thanks, Kevin Custom properties are perhaps not advertised, but they are documented in the Programming Guide :-). (beginning p. 17) Cheers, Gerald. As Gerald points out custom.props are documented in the next two parts of section 3.1.1. I will close this as invalid unless you have any objection ? |