facebook

How to deploy message.properies under WEB-INF/classes?

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #268521 Reply

    kingcu
    Member

    Hi,

    I have a web project as part of an EAR project and when at development time, deployed using exploded mode. For the servlet classes in the web project, I specify the output folder as WebRoot/WEB-INF/classes. The problem I have is that once the WEB-INF/classes is selected as output folder, it disappears from the tree view in the package explorer view and also clears all the files existing in that folder, which includes the message.properties file. So how can I put message.properties file under WEB-INF/classes folder and at the same time, have that as the output folder for the servlet classes?

    Thanks,
    Tong

    #268534 Reply

    Riyad Kalla
    Member

    Tong,
    You just stick it in the root of your source tree. Any non-compilable units (like properties or XML files) are just copied directly to the right place in the output location during a build.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: How to deploy message.properies under WEB-INF/classes?

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