Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 13817 invoked from network); 11 Aug 2010 16:57:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Aug 2010 16:57:08 -0000 Received: (qmail 70298 invoked by uid 500); 11 Aug 2010 16:57:08 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 70224 invoked by uid 500); 11 Aug 2010 16:57:07 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 70217 invoked by uid 99); 11 Aug 2010 16:57:07 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 16:57:07 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jgawor@gmail.com designates 209.85.160.54 as permitted sender) Received: from [209.85.160.54] (HELO mail-pw0-f54.google.com) (209.85.160.54) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Aug 2010 16:56:59 +0000 Received: by pwj4 with SMTP id 4so141612pwj.13 for ; Wed, 11 Aug 2010 09:56:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=nvErnbR+2mzmHhe5ODylj1DMzy9ENb6C6FPir4WAeCw=; b=IK/ImXkZY5hPRM1BOFH8l4pqexOHXk9w0MBQ0b83tOe8evm7zkJXERwchG5JhBh2CQ pd/CRlwB+GYinJx9U3TsrChIPJnjeMhQBYCcWawi4vwtf/6vkkPRk4jaV6IqSM5J9knx pfcZVDPMjLwNLoW3f/Zg1drbIlgFAYTynM5OY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ulHn0HTeIQkTy2wU7ZnaE09CUbTEY56dL3YwjWKwyxNkCga//vC5k0fiWbFjTh+ron hM0rmHOcyoXoTWoRdCq5kysniC6fhKBXt981UZ6CIni8m+jWJ3f5Mzw8ZC5Rq8U0adgy dAEw6HTCnrWCt1aaouYpgjoHtHnicsYsbq+oE= MIME-Version: 1.0 Received: by 10.142.147.7 with SMTP id u7mr16454695wfd.219.1281545798013; Wed, 11 Aug 2010 09:56:38 -0700 (PDT) Received: by 10.220.74.136 with HTTP; Wed, 11 Aug 2010 09:56:37 -0700 (PDT) In-Reply-To: <4C62CA87.30005@apache.org> References: <4C62CA87.30005@apache.org> Date: Wed, 11 Aug 2010 12:56:37 -0400 Message-ID: Subject: Re: [discuss]atinject tck From: Jarek Gawor To: dev@geronimo.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Donald, As Lin pointed out the atinject is a bit different. Both JCDI and Bean Validation TCKs can be run in standalone and in-container mode. For Geronimo we run them in in-container mode. However, the atinject TCK seems to only support the standalone mode. So the question is, is it enough to just run the atinject TCK in standalone mode or do we have to write some extra code to ensure it runs in in-container mode with Geronimo? Jarek On Wed, Aug 11, 2010 at 12:06 PM, Donald Woods wrote: > It looks like the same general setup as the BVAL tck, in that it uses > the surefire plugin and a suiteXmlFiles which is either provided in the > downloaded TCK files or provided locally (which I don't think we can use > the open web beans overrides unless we have TCK challenges approved by > Oracle.) > > You should be able to copy the content from > https://svn.apache.org/repos/asf/openwebbeans/trunk/webbeans-tck/ > over into our geronimo/tck/branches/3.0/ area and make a > atinject-tck-runner project similar to the validator-tck-runner. =A0Jarek > already created the required jboss-test-harness-geronimo module to allow > the JBoss TCK testharness to start/stop a Geronimo server, so the > biggest part of the effort would be mapping the openwebbeans profile > from Tomcat over to using Geronimo.... > > Since the JBoss provided TCKs use ASL 2.0, take a look at their website, > which usually describes in pretty good detail how to run the TCKs in > other app servers. > > > -Donald > > > On 8/11/10 9:30 AM, Lin Sun wrote: >> Hi >> >> I have been investigating how to run the JSR 330 tck (also called the >> atinject tck), as this is a requirement for Java EE 6 compliance. >> >> I am able to check out the open web bean project and run its atinject >> tck from the open web bean project checkout dir, using the atinject >> tck runner provided by open web bean =A0 Basically the atinject tck >> runner deploys the tck test classes (note it is not an archive) to a >> stand-alone test container and the atinect tck tests verifies various >> fields/constructors/methods are injected correctly. =A0 The special part >> of the atinject tck is that there is no Java EE archive and all tests >> are written as junit tests. >> >> My first thought is we could reuse the atinject tck runner from open >> web bean project to run the tck, but the concern is that the tests are >> only deployed to a stand-alone test container instead of the Geronimo >> server. =A0So I am not sure if that is valid. >> >> My current thoughts are that atinject tck is relatively small and are >> junit tests thus it is reasonable to run in a stand-alone test >> container. =A0The JCDI(JSR 299) tck overlaps some of the atinject tck >> and should run with the real Application Server like Geronimo. >> >> If we also agree with this approach, I think we can just reuse the >> atinject tck runner in open web bean. =A0 WDYT? >> >> Lin >> >> >> ---------- Forwarded message ---------- >> From: Kevan Miller >> Date: Tue, Aug 10, 2010 at 10:43 PM >> Subject: Re: JCDI and Bean Validation TCKs >> To: dev@geronimo.apache.org >> >> >> >> On Jul 21, 2010, at 12:04 AM, Jarek Gawor wrote: >> >>> Ok, it sounds like more people prefer to move these tcks into a public >>> svn location. >>> >>> So I guess we should create a >>> https://svn.apache.org/repos/asf/geronimo/tck repo and move the tcks >>> over. There should be no problem with moving the following modules >>> (since it's all Apache licensed stuff): >>> >>> 1) jboss-test-harness-geronimo - integration code between jboss test >>> harness & geronimo which is used by #2 and #3 >>> 2) jcdi-testsuite - jcdi tck runner >>> 3) validator-testsuite - bean validation tck runner >> >> All, >> Please note that the above TCK tests are in our public SVN. Unlike the >> mainstream Java EE TCK tests, which we are required to keep private, >> these tests are Apache licensed. We can discuss them openly. This >> means we have TCK materials in two places (public svn and private >> svn). I *much* prefer to have our TCK materials in public svn. So, >> although it complicates some things, IMO, we should err on the side of >> openness, rather than simplicity... >> >> --kevan >> >