Community
Participate
Working Groups
I have a resources properties file located in my WEB-INF/classes directory so that it will be loaded by the Tomcat class loader. When I do a rebuild, all files in that directory are delete instead of just the *.class files. This is a serious problem in that I am going to have to backup a copy of the file every time it changes to avoid data loss.
Can't you instead put it in a separate library folder ? The output folder is managed by the Java builder. Also see JDT/Core notes (under development resources) on the output folder http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.eclipse.jdt.core/notes/r 2.0/output%20folder/output-folder.html
Not really. It is a webapp and I need for the resource (Struts message file, by the way) to be available to the class loader.
Then you need to deploy your code in a distinct folder, see the explanation at the URL above.