This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I have a manifest file and have listed required jar files in the Class-Path of the Manifest file, this works fine. I am trying to refer a property file using Class-Path of the Manifest but it doesn't work. Please let me know if this is the correct way or is there any other approach.
The classpath is a list of jar files and directories. So if what you tried was putting the name of the properties file in the classpath, then no, that wouldn't work. Putting the name of the directory which contains the properties file in the classpath would have a better chance of working.
Joined: Jan 12, 2007
Thanks for you reply. I tried mentioning the directory name where the property file is located in the manifest file but it didn't work. Any other idea(s)?