Return-Path: Delivered-To: apmail-jakarta-cactus-user-archive@www.apache.org Received: (qmail 2649 invoked from network); 26 Sep 2008 11:33:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Sep 2008 11:33:51 -0000 Received: (qmail 78672 invoked by uid 500); 26 Sep 2008 11:33:47 -0000 Delivered-To: apmail-jakarta-cactus-user-archive@jakarta.apache.org Received: (qmail 78656 invoked by uid 500); 26 Sep 2008 11:33:47 -0000 Mailing-List: contact cactus-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Cactus Users List" Reply-To: "Cactus Users List" Delivered-To: mailing list cactus-user@jakarta.apache.org Received: (qmail 78645 invoked by uid 99); 26 Sep 2008 11:33:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2008 04:33:47 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [207.58.137.236] (HELO server.valbosoft.com) (207.58.137.236) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Sep 2008 11:32:45 +0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=valbosoft.com; b=KdTRUyWxBn9lZ4W+xHnoQjaxBp0p2MCZlvgGNm0X/H3RZUAP/jfYrrvkEVfm01N55RuaYiztpyCiAXomMpweX7Bm+mfzI3Zbm6qGdNIxP6pmfF5sRk65kE+tBUtFR3UJ ; Received: (qmail 22483 invoked from network); 26 Sep 2008 13:32:17 +0200 Received: from static-239-114-226-77.ipcom.comunitel.net (HELO mortadelo.oficina.valbosoft.com) (77.226.114.239) by valenciaalmar.com with SMTP; 26 Sep 2008 13:32:17 +0200 In-Reply-To: <1222242060.7386.2.camel@lenovo3> Subject: Re: samples servlet test classes To: "Cactus Users List" X-Mailer: Lotus Notes Release 7.0.1 January 17, 2006 [via SMTPAuth 2.01, bisswanger.com] Message-ID: From: b.v.weert@valbosoft.com Date: Fri, 26 Sep 2008 13:44:46 +0200 X-MIMETrack: Serialize by Router on reserva/srvNotes(Release 6.5.1|January 21, 2004) at 26/09/2008 13:44:48 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII X-Virus-Checked: Checked by ClamAV on apache.org Hi, as far as I can see, you have to treat test and production versions differently anyway, at least in my case, because for example the database settings in the testcase are different than in the production case, and some property files are different. One way this could be solved is to allow the cactifywar tast to copy certain property files. regards, Bo Martin West Para Cactus Users List 24/09/2008 09:41 cc Por favor, Asunto responda a Re: samples servlet test classes "Cactus Users List" The better way to address this problem is add the test classes to the cactified war as part of the cactify task. Otherwise you have to have special processing to build test and producton versions of the applicaton war. On Mon, 2008-09-22 at 21:53 +0100, Martin West wrote: > Another observation, all the test classes are in src/main/java. You > can > move them to the standard location, then remove the testSource and > testClass from surefire plugin configuration and add the following > plugin to the pom at the start of the plugins section. > -- regards Martin West 07879 680096 skype:amartinwest --------------------------------------------------------------------- To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: cactus-user-help@jakarta.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: cactus-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: cactus-user-help@jakarta.apache.org