Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Where should tomcat base configuration be located in Eclipse using Sonatype Webby Plugin?

I have Eclipse Indigo installed, with latest Maven Integration plugin (m2eclipse) and Sonatype Webby Plugin which allows me to run my WAR in an installed tomcat inside Eclipse.

I need to put several files in tomcat/conf directory (log4j.properties, acme.proeprties, etc) which my WAR reads from the classpath (since conf is in the classpath). I did place them in my installed tomcat location (~/tomcat/conf), and when I created a new Webby Launch Configuration I referenced ~/tomcat directory, but from some reason the target/m2e-webby/container/conf doesn't include my log4j.properties and acme.properties files. When I try to copy them to target/m2e-webby/container/conf it gets erased as soon as I launch Webby.

I've tried finding a wiki page explaining how to setup WAR maven project to run in an installed tomcat instance using Sonatype Webby plugin but without any luck.


-- 
Asaf Mesika
Sent with Sparrow


Back to the top