Instructions for running QuickLook test on GlassFish V3
Complete paths are required for some of the properties as each testsuite can be imported as an independent Netbeans project.
There is no need to setup an environment variable.
Setting Up.
JDK 5.0 or above is required.
Unzip in working directory <ws_root>
Edit <ws_root>/build.properties and mention deploy.platform=”v3” and
deploy.platform=v3
glassfish.http.host=localhost
glassfish.http.port=8080
Since this is a v3 build, v3-config.properties file needs to be further edited.
glassfish.home=complete path
Starting GlassFish and Derby
<ws_root>/ant -f run.xml startDerby. (This should start derby in spawn mode).For port information, <ws_root>/gfproject/derby.properties.Default port is
If you want to start in non-spawn mode, then please edit file <ws_root>/gfproject/db-targets.xml and in startDerby and stopDerby targets remove “spawn=true”
To start glassfish v3, go to ${glassfish.home}/bin/asadmin start-domain. (usual instructions)
Run and Reporting Tests
<ws_root>/ant build deploy runtest report | tee run.log
Test Report should be available at <ws_root>/test-output/index.html
If tests are imported inside Netbeans for editing, please make sure that Netbeans ANT version is 1.7 or higher.
Instructions for running test on GlassFish V2
Complete paths are required for some of the properties as each testsuite can be imported as an independent Netbeans project.
There is no need to setup an environment variable.
Setting Up.
JDK 5.0 or above is required
Unzip in working directory <ws_root>
Edit <ws_root>/build.properties and mention deploy.platform=”v2” and
deploy.platform=v2
glassfish.http.host=localhost
glassfish.http.port=8080
Since this is a v2 build, v2-config.properties file needs to be further edited.
Glassfish.home=complete path
admin.password.file=complete path for <ws_root>/gfproject/admin.password.file
Starting GlassFish and Derby
<ws_root>/ant -f run.xml startDerby. (This should start derby in spawn mode).For port information, <ws_root>/gfproject/derby.properties.
If you want to start in non-spawn mode, then please edit file <ws_root>/gfproject/db-targets.xml and in startDerby and stopDerby targets remove “spawn=true”
To start glassfish v2, go to ${glassfish.home}/bin/asadmin start-domain. (usual instructions
Run and Reporting Tests
<ws_root>/ant build deploy runtest report | tee run.log
Test Report should be available at
<ws_root>/test-output/index.html