GithubHelp home page GithubHelp logo

bingli-borland / bvtck-porting Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eclipse-ee4j/bvtck-porting

0.0 0.0 0.0 6.06 MB

Glassfish Bean Validation 2.0 porting kit

License: Other

Shell 9.03% Standard ML 90.97%

bvtck-porting's Introduction


To run the Bean Validation TCK against the Java EE 8 Reference Implementation, follow the steps in this file. The ant targets provided will call Maven which will download the TCK artifacts and execute the TCK against the Java EE Reference implementation.


Other links:

TCK Bundle: http://sourceforge.net/projects/hibernate/files/beanvalidation-tck/2.0.0.Final/ TCK workspace: https://github.com/beanvalidation/beanvalidation-tck


Steps to run the tests

  • Install Maven - http://maven.apache.org/download.cgi Ensure that mvn is in your path Set MAVEN_HOME in your environment Note: The test will overwrite ~/.m2/settings.xml with beanvalidation specific settings.xml. Take a backup of your settings.xml

  • Install Ant - http://ant.apache.org/bindownload.cgi Ensure that ant is in your path

  • Install V5 refer to this as GF_HOME

  • Unzip the BV porting bundle in the top level of the BV TCK (not required). Refer to this location as PORTING_HOME

  • cd to PORTING_HOME and edit the build.properties file

  • set the JAVA_HOME environment variable in your shell environment

  • set porting.home, and glassfish.home in build.properties

  • If necessary, modify the following default property values in build.xml for your environment On windows, try setting max.heap.size=1024 and max.perm.gen.size=512

  • Invoke 'ant sigtest' to run the signature tests

  • Invoke 'ant test' to run the TestNG test suite

  • To run the sig tests and the TestNG tests in a single run, you can invoke ant run.all.tests

-If running Glassfish with a security manager (by executing $GF_HOME/bin/asadmin create-jvm-options -Djava.security.manager, you must add the following permissions to the server.policy file...

grant { permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; permission org.osgi.framework.AdminPermission "", ""; permission java.lang.RuntimePermission "createClassLoader"; permission javax.security.auth.AuthPermission "modifyPrincipals"; permission org.hibernate.validator.HibernateValidatorPermission "accessPrivateMembers"; };

bvtck-porting's People

Contributors

gurunrao avatar anajosep avatar ankitoracle avatar alwin-joseph avatar starksm64 avatar scottmarlow avatar arjantijms avatar edbratt avatar rohitkumarjain avatar anandf avatar bhatpmk avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.