facebook

how to package properties files in WEB-INF/classes to war

  1. MyEclipse Archived
  2.  > 
  3. Documentation
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #226419 Reply

    icheung
    Member

    Got a quick question, the default deploy wizard does not package any properties files I put in WEB-INF/classes folder in the war file. How can I config that ?
    Thanks
    Ivan

    #226428 Reply

    Riyad Kalla
    Member

    Ivan,
    This isn’t actually the fault of the deployment tool, but the fact that they are likely being erased from your /classes folder by the default Eclipse build operation (which is to “clean” the output dir).

    Your properties fiels should always go in your source folder, they will be copied into the output locations when the project is built by Eclipse, then the deployment tool will find/deploy them for you.

    #226433 Reply

    icheung
    Member

    bingo! Thanks.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: how to package properties files in WEB-INF/classes to war

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