Sorry, I should have explained better.
Here is my *partial* script that sets the variable before starting JBoss in production:
JBOSS_HOME=${PROJECT_BASEDIR}
PROJECT_PROPERTY_FILE=${PROJECT_BASEDIR}/properties/project.properties
…
export PROJECT_PROPERTY_FILE
According the propertary class notes, this is coupled to the environment.
And here is how it is used in the code:
private static final String PROPERTY_FILE_KEY = “project.property.file”;
String filename = System.getProperty(PROPERTY_FILE_KEY);
…
BufferedInputStream bis = new BufferedInputStream(new FileInputStream(filename));
// load the project properties into the new properties object
_nprops.load(bis); <== proprietary class I don’t have source for
_nprops.putAll(System.getProperties());
So I can either try to rewrite existing functionality with my own sort of map, or I can set the property environment variable so Eclipse picks it up. Like I said, this works already in production, but in trying to run it inside of MyEclipse I can’t seem to set this.