facebook

How to deploy my *.properties files into /WEB-INF/classes ?

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

    gelinp
    Member

    Hi,

    I need to deploy my *.properties files into /WEB-INF/classes directory for my webapp.

    But I can’t create a directory /WEB-INF/classes because Eclipse say me it already existe (but I can’t see it). I can’t find any form to do achieve this goal into windows/preferences dialog box…

    I’m using MyEclipse for eclipse 3.1.

    Any help is welcome.

    #234621 Reply

    jheadley
    Member

    I have my properties files in the root of the source folder and then when it is built, the properties files are copied into the /WEB-INF/classes folder.

    #234642 Reply

    Riyad Kalla
    Member

    gelinp,
    As jheadley already pointed out, the correct location for your .properties file is in the appropriate place in your Source tree. Do not put anything manually into your output dir, default behavior of Eclipse is to erase that dir when the project is rebuilt. So the properties file belongs in your source tree and will be copied over at build time.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: How to deploy my *.properties files into /WEB-INF/classes ?

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