Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 39709 invoked from network); 23 Aug 2006 07:48:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 23 Aug 2006 07:48:30 -0000 Received: (qmail 63309 invoked by uid 500); 23 Aug 2006 07:48:28 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 63212 invoked by uid 500); 23 Aug 2006 07:48:27 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@cocoon.apache.org List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 63012 invoked by uid 99); 23 Aug 2006 07:48:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Aug 2006 00:48:27 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [212.85.125.162] (HELO v07528.home.net.pl) (212.85.125.162) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 23 Aug 2006 00:48:26 -0700 Received: from sj163.internetdsl.tpnet.pl (HELO ?192.168.1.62?) (lgawron.mobilebox@home@80.55.87.163) by m029.home.net.pl with SMTP; Wed, 23 Aug 2006 07:48:04 -0000 Message-ID: <44EC0839.9090606@mobilebox.pl> Date: Wed, 23 Aug 2006 09:48:09 +0200 From: Leszek Gawron User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: svn commit: r433754 - in /cocoon/trunk/core: cocoon-core/src/main/java/org/apache/cocoon/core/ cocoon-core/src/main/java/org/apache/cocoon/core/container/spring/ cocoon-core/src/main/java/org/apache/cocoon/core/container/spring/avalon/ cocoon-webapp/sr... References: <20060822210833.AD70F1A981A@eris.apache.org> <44EC047B.3020409@mobilebox.pl> In-Reply-To: <44EC047B.3020409@mobilebox.pl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Leszek Gawron wrote: > Two questions: > > 1. Does it mean that soon I will be able to do: > public class StartUp extends AbstractTransactionalSpringContextTests { > public StartUp() { > setPopulateProtectedVariables( true ); > } > > @Override > protected String[] getConfigLocations() { > return new String[]{ > "META-INF/spring/applicationContext-common.xml", > "META-INF/spring/applicationContext-services.xml", > "META-INF/spring/applicationContext-acegi.xml", > "WEB-INF/applicationContext.xml" }; > } > > public void testStart() { > // and have cocoon up and running here in test case? > } > } > > 2. Could we put the file into some jar (cocoon-core.jar)? If this is put > into cocoon-webapp/WEB-INF/applicationContext.xml every user has to sync > it once a while after creating a webapp from older version of archetype. > Shoot ... I am sorry for such stupid citing. -- Leszek Gawron, IT Manager MobileBox sp. z o.o. +48 (61) 855 06 67 http://www.mobilebox.pl mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65