L
laredotornado
Hi,
I'm using Java 1.6 and am writing a stand alone java app. I have a
file on my system ...
/Users/davea/projects/app/app/ant/build.properties
I included the parent directory of this file, "/Users/davea/projects/
app/app", in my classpath that I pass to the java command that runs a
stand alone app. However, I'm not able to load the build.properties
file from my app using
InputStream
stream=this.getClass().getClassLoader().getResourceAsStream("build.properties");
The "stream" field is null. Any ideas what I'm doing wrong and why
I'm not able to access this file? Thanks, - Dave
I'm using Java 1.6 and am writing a stand alone java app. I have a
file on my system ...
/Users/davea/projects/app/app/ant/build.properties
I included the parent directory of this file, "/Users/davea/projects/
app/app", in my classpath that I pass to the java command that runs a
stand alone app. However, I'm not able to load the build.properties
file from my app using
InputStream
stream=this.getClass().getClassLoader().getResourceAsStream("build.properties");
The "stream" field is null. Any ideas what I'm doing wrong and why
I'm not able to access this file? Thanks, - Dave