Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 45501 invoked from network); 24 Jun 2008 23:29:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Jun 2008 23:29:47 -0000 Received: (qmail 39894 invoked by uid 500); 24 Jun 2008 23:29:45 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 39833 invoked by uid 500); 24 Jun 2008 23:29:45 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 39822 invoked by uid 99); 24 Jun 2008 23:29:45 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2008 16:29:45 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=FORGED_MUA_OUTLOOK,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [170.215.19.28] (HELO server.csparks.com) (170.215.19.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jun 2008 23:28:55 +0000 Received: from Asus (asus.csparks.com [192.168.1.6]) by server.csparks.com (8.14.1/8.14.1) with SMTP id m5ONRCIE014798 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Tue, 24 Jun 2008 18:27:13 -0500 Message-ID: <01DB1709090641E2840A07259A55F1C9@Asus> From: "Hugh Sparks" To: References: <48610998.40100@memocomp.de> <4861154F.7030509@memocomp.de> Subject: Cocoon22 - core.properties and modes with Tomcat Date: Tue, 24 Jun 2008 18:27:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Virus-Checked: Checked by ClamAV on apache.org How do I specify the operating mode when running cocoon under Tomcat? I have a webapp that I built and tested with jetty. It has some changes to core.properties file in: src\main\resources\META_INF\cocoon\properties\dev\core.properties I set the mode to "dev" in the POM for the maven-jetty-plugin: ... org.apache.cocoon.mode dev This works ok. When I take the war file and deploy it under Tomcat, the core.properties under the dev directory are ignored, but they work if I move them to a "prod" subdirectory instead. In the deployed instance, the path is: WEB-INF\classes\META-INF\cocoon\properties\prod\core.properties So the mode has evidently become "prod" instead of "dev". How can I set this when running with Tomcat rather than jetty? Thanks to all, -Hugh Sparks, hugh@csparks.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org