facebook

Files Keep Dissapearing from WEB-INF\classes – Help

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #221883 Reply

    jpwinans
    Member

    Hey All,

    I’m having a problem where properties files I’m putting in the WEB-INF\classes folder are randomly dissapearing. If i catch it in time, I can retrieve it from the history, but otherwise they are just gone.
    Has anyone ever experienced anything like this? And if so, how do you fix it?

    Thanks,
    James

    #221888 Reply

    Greg
    Member

    If you are using a MyEclipse WebProject, the WEB-INF/classes directory is a output folder. Output folders in eclipse can be “srubbed” by eclipse automatic buider at any time. So you can’t put files that they you might not want deleted. However, you can put that properties file in a “src” folder. Any non-java class in a source folder will just be copied straight over to the output folder. So if you put your properties file in the root directory of a “src” folder, it will be copied into the root directory of the the WEB-INF/classes directory.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Files Keep Dissapearing from WEB-INF\classes – Help

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