On 2/22/2011 3:37 AM, Konstantin Kolinko wrote: > Two steps: > 1. Remove path and docBase from the file. > 2. Rename the context file into "META-INF/context.xml" (exact name -- > case of characters does matter!) and add it into your war file. (That > is easy with Ant, or with `jar -uf`, I do not know about jenkins). > That file will be used by Tomcat when you deploy your application. > See "Context" page in the configuration reference for more details.
Sure, I understand that part of how Context works, the problem is this is a shared-build war file, and the Parameters are used to tell the deployed war file where to store it's config file and log configuration. So I can't embed it into the .war file. The goal is to have a mvn tomcat:deploy punch a war file via the manager into a running tomcat server, and having it's context there have Parameters associated with it. I think this might be impossible since tomcat-deploy makes up it's own context upon deployment :-/ -d --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org