facebook

How to create properties file in WEB-INF\classes

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #221942 Reply

    mmohan
    Member

    My property files in WEB-INF/classes directory gets deleted when I restart the myeclipse IDE. Some of the example files are commons-logging.properties and simplelog.properties.

    How can I make them persist? Is there a way to see these files in the Package Explorer?

    This is for MyEclipse 3.8.2

    #221944

    Greg
    Member

    Any files in the project output folder (WEB-INF/classes for webprojects) can be “scrubbed” at any time by eclipse. Put them in the root of your src folder. They will be copied to WEB-INF/classes by eclipse. Any non-buildable files in the source folder are copied directly to WEB-INF/classes.

    Now your properties files will show up as normal in the source folder.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to create properties file in WEB-INF\classes

You must be logged in to post in the forum log in