incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Bean Validation > JSR303 TCK
Date Fri, 21 May 2010 16:40:00 GMT
Space: Apache Bean Validation (http://cwiki.apache.org/confluence/display/BeanValidation)
Page: JSR303 TCK (http://cwiki.apache.org/confluence/display/BeanValidation/JSR303+TCK)

Change Comment:
---------------------------------------------------------------------
added tck cmds

Edited by Donald Woods:
---------------------------------------------------------------------
h3. How to obtain the TCK for testing

The JSR303 Bean Validation TCK was created by Red Hat/JBoss and is available under the ASL
2.0 license, which allows anyone to download and run the TCK without having to sign the Sun/ASF
NDA.

Please see the [Bean Validation TCK|http://community.jboss.org/wiki/BeanValidationTCK] website
for details on how to setup a local JBoss instance for running the TCK.  The /bval-tck module
should be used to execute the TCK in JBoss against our implementation.

\\

h3. Steps to run the TCK against our implementation

For the below build and TCK runs, I'm assuming you have the latest Sun 1.6.0 JDK installed
and set as the default Java implementation.

h4. Stand-alone

# Build the project and run the junits -
{code}
cd bval/trunk
mvn clean install
{code}
# Run the JBoss provided TCK in stand-alone mode -
{code}
cd bval/trunk/bval-tck
mvn -Ptck
{code}

h4. In-container

# Build the project and run the junits -
{code}
cd bval/trunk
mvn clean install
{code}
# Download and extract a copy of the jboss-5.1.0.GA-jdk6.zip file (for Java SE 6 users) from
[http://sourceforge.net/projects/jboss/files/JBoss/JBoss-5.1.0.GA/]
# Run the JBoss provided TCK in the in-container mode, against your local copy of JBoss 5.1.0.GA
(where $jboss510home=/opt/jboss-5.1.0.GA/ below) -
{code}
cd bval/trunk/bval-tck
mvn -Ptck,incontainer -Djboss.home=$jboss510home
{code}

\\

h3. Certification against the JCP provided TCK

TBD - Need to ask if we must use the Sun/Oracle provided TCK for final certification testing....

\\


Change your notification preferences: http://cwiki.apache.org/confluence/users/viewnotifications.action
   

Mime
View raw message