facebook

Need to include extra components in war — how do I do that?

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #270594 Reply

    Rob Tanner
    Member

    Hi,

    In order to implement the logging I need in Tomcat 5, I need to include a properties file in WEB-INF/classes and a log4j jar file in WEB-INF/lib. What do I need to do to get MyEclipse to package those extra components when it build the war file?

    Thanks,

    Rob Tanner
    Linfield College

    #270615 Reply

    Loyal Water
    Member

    Hi Rob,
    In you package explorer, make sure the log4j.jar file is present under WebRoot / WEB-inf / lib folder and the properties file needs to go in the root of your /src directory, it will be built (copied) into the /classes dir for you.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Need to include extra components in war — how do I do that?

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