This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

change location of ApplicationResources properties file

 
Shawn Garner
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to change the location of ApplicationResources.properties file to something other than WEB-INF/classes because Eclipse will delete the contents of this directory when it recompiles or rebuilds the project sometimes.

Anyone have any suggestions as to how to go about this?

Shawn
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Put it with your .java files.
 
Shawn Garner
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That doesn't make sense.
I know where I would like to put it.
I would like to put it in WEB-INF/ OR WEB-INF/CONFIG
What I don't know how to do is tell struts to look for it there by default instead of the WEB-INF/classes directory.
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It does make sense. Eclipse should copy properties files from your src directory (where Java classes are) over to the classes directory each time you rebuild.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic