blob: 6ef9739c45d34cf8a78555375cc814d0110b8d56 [file] [log] [blame]
Steps to run the tests:
1. Set APS_HOME and S1AS_HOME environment variables.
2. Copy embedded configuration files:
cp $APS_HOME/devtests/embedded/config/common.xml $APS_HOME/config
cp $APS_HOME/devtests/embedded/config/run.xml $APS_HOME/config
3. Download ant-tasks.jar from http://maven.glassfish.org/content/groups/glassfish/org/glassfish/ant-tasks/3.1/ant-tasks-3.1.jar and keep it under /tmp/ant-tasks-3.1.jar
4. Set CLASSPATH environment variable:
export CLASSPATH=$S1AS_HOME/lib/embedded/glassfish-embedded-static-shell.jar:/tmp/ant-tasks-3.1.jar:$CLASSPATH
5. Run the tests:
GF_EMBEDDED_ENABLE_CLI=true ant testset1
GF_EMBEDDED_ENABLE_CLI=true ant testset2
GF_EMBEDDED_ENABLE_CLI=true ant unsetup