facebook

log4j with tomcat5 and ME

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

    kiwispeak
    Member

    Hi
    I’ve just started using ME. Nice work guys.
    I use log4j. I’m using tomcat5 as the app server.
    Outside of ME, I put my log4j.properties file in WEB-INF/classes.
    I have put my log4j.propoerties file into WEB-INF/classes in my ME project dir, but ME does not seem to deploy this file into the deployment WEB-INF/classes directory.
    I copied it manually, and that works.
    Where should I put my log4j.properties file in my ME project to have it deployed automatically?

    thanks

    #218496 Reply

    Scott Anderson
    Participant

    It should go in your source folder at the root level. Eclipse will copy all non-Java resources directly the output directory instead of trying to compile them. So, placing log4j.properties at the root of your source tree will cause it to be copied to the root of your classes tree when the project is built.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: log4j with tomcat5 and ME

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