Announcement Announcement Module
Collapse
No announcement yet.
Views.properties file dissapearing in Eclipse - Help Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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

    Comment


    • #3
      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

      Comment

      Working...
      X