Return-Path: Delivered-To: apmail-ws-tuscany-dev-archive@locus.apache.org Received: (qmail 55780 invoked from network); 6 Feb 2008 01:41:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Feb 2008 01:41:18 -0000 Received: (qmail 23513 invoked by uid 500); 6 Feb 2008 01:41:10 -0000 Delivered-To: apmail-ws-tuscany-dev-archive@ws.apache.org Received: (qmail 23198 invoked by uid 500); 6 Feb 2008 01:41:10 -0000 Mailing-List: contact tuscany-dev-help@ws.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: tuscany-dev@ws.apache.org Delivered-To: mailing list tuscany-dev@ws.apache.org Received: (qmail 23189 invoked by uid 99); 6 Feb 2008 01:41:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 17:41:10 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of luckbr1975@gmail.com designates 72.14.246.241 as permitted sender) Received: from [72.14.246.241] (HELO ag-out-0708.google.com) (72.14.246.241) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Feb 2008 01:40:55 +0000 Received: by ag-out-0708.google.com with SMTP id 23so4264175agd.5 for ; Tue, 05 Feb 2008 17:40:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=VoiwT3oNPdz8Vej96azJUb4VQmaH80bQD8agyyZSDw8=; b=t9Rsg2NjcnOZl6fSutN1Ym96Ohit6IJeK3n/6ICVdarmNqK0eZbkgjdzMrL4C0MKFFnumU0eyGuFCvoeAQysO26anMrqI+KL9y4ibXyOoJOF7YX1LoNdb1bKtXclRvK8db8vebPkSBNAQkzBWomHUHIJ5QVHU4zoVnrOxqn0l14= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Ar4/3WUjEklfxZHCOU+Mn/g7wAZkZErRGgbrCJbnl1us2ZBeuNPXPFye+T9elIlZ612DKht5am7kVX6eFF8a00CsI2JJm1yy98A46jfgtK0RRN+TQqq0SpIULzvJwf55xjIwp1Xv2BgGWuk/Pl+mXOly1S9dGjUM1e0r8V/Ll2M= Received: by 10.114.94.1 with SMTP id r1mr9270886wab.32.1202262046767; Tue, 05 Feb 2008 17:40:46 -0800 (PST) Received: by 10.114.76.18 with HTTP; Tue, 5 Feb 2008 17:40:46 -0800 (PST) Message-ID: <5a75db780802051740t46f42ecbn7f603adc8c3ddfe2@mail.gmail.com> Date: Tue, 5 Feb 2008 17:40:46 -0800 From: "Luciano Resende" To: tuscany-dev@ws.apache.org Subject: Re: [PROPOSAL] Automate itests for WAR packaging In-Reply-To: <47A849F7.60605@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <003601c864f9$b92f0580$7faf4109@rfengt60p> <71e1b5740802030242m411ac8c2tba423d15d8aa4c15@mail.gmail.com> <5a75db780802031604m269ac5b5qa9fca6eb7e4422dd@mail.gmail.com> <00f001c866ec$2a8bd020$17b93109@rfengt60p> <71e1b5740802040653w6547153dv334d20dc33f63295@mail.gmail.com> <71e1b5740802040714l4a8409bdn73fac4fe74d4940@mail.gmail.com> <013e01c86778$ebdaca60$0ea24109@rfengt60p> <71e1b5740802041458x3986eca9q7390d259c00a9ab@mail.gmail.com> <47A849F7.60605@apache.org> X-Virus-Checked: Checked by ClamAV on apache.org We now have the iTest pom handling all the configuration for running the execution of the iTests in a web-container. At the moment, we have enabled selected iTests (services and componentType) and you can execute the tests in Geronimo and/or Jetty. Adding new iTests should be as simple as adding it to the module list of the webApp profile, but we might find issues when experimenting with ws and other bindings (port issues for example). To execute the tests, use the webApp profile + the web-container you want to test on (Geronimo or Jetty) under the iTest folder. mvn -Pwebapp,geronimo clean install Note : for geronimo, you should have GERONIMO_HOME env variable set properly. I now looking into getting the same integration with Websphere App Server. On Feb 5, 2008 3:35 AM, Simon Nash wrote: > ant elder wrote: > > Could you say a bit more about why it needs to be a runtime module not just > > somewhere like maven-web-junit, and what the issue is in point 3? (as you > > can guess my preference is for this to not be in the core runtime :)) > > > > ...ant > > > I agree that we should keep this out of the core runtime if possible. > The "get it working now, refactor later" approach sounds attractive > but in practice it's hard to prioritize refactoring something that > already works when we have so many other things that also need to > be done. > > Simon > > > > On Feb 4, 2008 9:57 PM, Raymond Feng wrote: > > > >> Hi, > >> > >> I don't have a strong preference. Let's try to get the basic function > >> working well first. A few points to think about before we refactor it. > >> > >> 1) maven-web-junit is a maven plugin under tools. We need to add another > >> runtime project under modules folder. > >> 2) host-webapp adds the junit as a runtime dependency which is not great > >> but > >> not too bad. > >> 3) Configuring two servlet filters conditionally is a bit complex :-). We > >> can also disable the /junit unit with an init-parameter "junit.enabled" > >> set > >> to false. > >> > >> Thanks, > >> Raymond > >> > >> ----- Original Message ----- > >> From: "ant elder" > >> To: > >> Sent: Monday, February 04, 2008 7:14 AM > >> Subject: Re: [PROPOSAL] Automate itests for WAR packaging > >> > >> > >>> If this is just for itests then to keep runtime cleaner how about moving > >>> it > >>> all out of the main runtime code into the maven-web-junit module? So > >> move > >>> WebTestRunner, XMLFormatter, add a new ITestTuscanyServletFilter that > >>> extends the TuscanyServletFilter to add the /junit hook and revert > >>> host-webapp, and the web.xml in the itest/services module can refer to > >> the > >>> new ITestTuscanyServletFilter? > >>> > >>> ...ant > >>> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org > For additional commands, e-mail: tuscany-dev-help@ws.apache.org > > -- Luciano Resende Apache Tuscany Committer http://people.apache.org/~lresende http://lresende.blogspot.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org For additional commands, e-mail: tuscany-dev-help@ws.apache.org