Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

XML or Properties file on classpath

Status
Not open for further replies.

chilired

Programmer
Dec 14, 2002
1
US
If I have a properties file or an xml file and I am locating it as a resource within my java code it will look for the file on the CLASSPATH. How do you setup a JBuilder project so that it includes a folder onto the CLASSPATH? I tried creating a JBuilder library that points to the directory containing the file but when I run my Junit test, the classpath that is spit out at the beginning of the run does not show the directory and it does not find my resource.

I am sure this is a simple answer but I am stumped.

Thanks,
Craig
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top