facebook

[Closed]Where to put properties files?

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #292164 Reply

    Heikki Pakkala
    Participant

    I have .properties files in MyEclipse web project containing translations for different languages. Where should I put these files in the source tree so that they are placed to application’s WEB-INF\classes directory on server when I select to deploy the project?

    I’ve tried to put them under WEB-INF\classes in the source tree, but MyEclipse seems to delete then occasionally during deployment.

    #292186 Reply

    Loyal Water
    Member

    You will have to put the properties file in the root of the /src folder. Then it should get deployed to WEB-INF\classes.

    #292193 Reply

    Heikki Pakkala
    Participant

    Thanks!
    For some reason I had to re-create the files in MyEclipse IDE (new -> file) under WEB-INF/src node in Package Explorer, copying the files under WEB-INF\src in file system didn’t get them deployed. But now it works!

    #292261 Reply

    Loyal Water
    Member

    Glad its working now. Thanks for letting us know.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: [Closed]Where to put properties files?

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

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