Results 1 to 3 of 3

Thread: Views.properties file dissapearing in Eclipse - Help

  1. #1

    Default Views.properties file dissapearing in Eclipse - Help

    Hey all,

    I'm having a problem where, no matter what project I'm working on, the views.properties file keeps dissapearing from the WEB-INF/classes folder in Eclipse.
    If I catch it in time, I can recover it from the history, but otherwise it's just gone! Has anyone experienced anything like this, and if so, how do you fix it?

    Thanks,
    James

  2. #2
    Join Date
    Oct 2004
    Location
    Atlanta, GA
    Posts
    38

    Default Re: Properties file disappearing

    Is the properties file also located in your source directory? If not, it will be deleted since Eclipse automatically deletes and rebuilds your classes (output) directory as part of the build process. Instead, put the properties file in your source tree so that Eclipse will automatically copy it to the corresponding output location during the build process. i.e. src/pkg/view.properties will end up in classes/pkg/view.properties..

    Hope that helps,
    Derek Adams
    dadams (at) gaijin-studio (dot) org

  3. #3

    Default

    Brilliant. Thanks, for some reason, the examples I was working off of did not include the view.properties in the src directory, so I didn't even think about it.

    Thanks,
    James

Similar Threads

  1. Replies: 5
    Last Post: Mar 17th, 2010, 04:32 AM
  2. Replies: 19
    Last Post: Sep 10th, 2007, 12:46 PM
  3. Saving large files to a db using hibernate?
    By Dan Washusen in forum Data
    Replies: 10
    Last Post: Sep 20th, 2006, 12:18 PM
  4. Deferred file upload
    By Thomas Matzner in forum Web
    Replies: 4
    Last Post: Sep 30th, 2005, 12:06 PM
  5. Replies: 2
    Last Post: Nov 15th, 2004, 07:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •