| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> |
| <HTML> |
| <HEAD> |
| <!-- |
| |
| Copyright (c) 2010, 2018 Oracle and/or its affiliates. All rights reserved. |
| |
| This program and the accompanying materials are made available under the |
| terms of the Eclipse Public License v. 2.0, which is available at |
| http://www.eclipse.org/legal/epl-2.0. |
| |
| This Source Code may also be made available under the following Secondary |
| Licenses when the conditions for such availability set forth in the |
| Eclipse Public License v. 2.0 are satisfied: GNU General Public License, |
| version 2 with the GNU Classpath Exception, which is available at |
| https://www.gnu.org/software/classpath/license.html. |
| |
| SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0 |
| |
| --> |
| |
| <META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1252"> |
| <TITLE></TITLE> |
| <META NAME="GENERATOR" CONTENT="StarOffice 8 (Win32)"> |
| <META NAME="AUTHOR" CONTENT="d s"> |
| <META NAME="CREATED" CONTENT="20080319;10465059"> |
| <META NAME="CHANGED" CONTENT="20080325;17282512"> |
| <STYLE> |
| <!-- |
| @page { size: 8.5in 11in; margin: 0.79in } |
| P { margin-bottom: 0.08in } |
| --> |
| </STYLE> |
| </HEAD> |
| <BODY LANG="en-US" DIR="LTR"> |
| <P ALIGN=LEFT STYLE="margin-bottom: 0in"><FONT SIZE=4 STYLE="font-size: 16pt"><B><FONT FACE="Trebuchet MS, sans-serif">Instructions |
| for running QuickLook test on GlassFish V3</FONT></B></FONT></P> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Complete |
| paths are required for some of the properties as each testsuite can |
| be imported as an independent Netbeans project. </FONT> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">There |
| is no need to setup an environment variable.</FONT></P> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><B>Setting |
| Up.</B></FONT></P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">JDK |
| 5.0 or above is required.</FONT></P> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Unzip |
| in working directory <ws_root></FONT></P> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Edit |
| <ws_root>/build.properties and mention deploy.platform=”v3” |
| and </FONT> |
| </P> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">deploy.platform=v3</FONT></P> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">glassfish.http.host=localhost</FONT></P> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">glassfish.http.port=8080</FONT></P> |
| </UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Since |
| this is a v3 build, v3-config.properties file needs to be further |
| edited.</FONT></P> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">glassfish.home=complete |
| path</FONT></P> |
| </UL> |
| </UL> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><B>Starting |
| GlassFish and Derby</B></FONT></P> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><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 </FONT> |
| </P> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">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”</FONT></P> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">To |
| start glassfish v3, go to ${glassfish.home}/bin/asadmin |
| start-domain. (usual instructions)</FONT></P> |
| </UL> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><B>Run |
| and Reporting Tests</B></FONT></P> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><ws_root>/ant |
| build deploy runtest report | tee run.log</FONT></P> |
| </UL> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Test |
| Report should be available at <ws_root>/test-output/index.html</FONT></P> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in; font-weight: medium"><FONT FACE="Trebuchet MS, sans-serif">If |
| tests are imported inside Netbeans for editing, please make sure that |
| Netbeans ANT version is 1.7 or higher.</FONT></P> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P ALIGN=LEFT STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><FONT SIZE=4 STYLE="font-size: 16pt"><B>Instructions |
| for running test on GlassFish V2</B></FONT></FONT></P> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Complete |
| paths are required for some of the properties as each testsuite can |
| be imported as an independent Netbeans project. </FONT> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">There |
| is no need to setup an environment variable.</FONT></P> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><B>Setting |
| Up.</B></FONT></P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">JDK |
| 5.0 or above is required</FONT></P> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Unzip |
| in working directory <ws_root></FONT></P> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Edit |
| <ws_root>/build.properties and mention deploy.platform=”v2” |
| and </FONT> |
| </P> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">deploy.platform=v2</FONT></P> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">glassfish.http.host=localhost</FONT></P> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">glassfish.http.port=8080</FONT></P> |
| </UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Since |
| this is a v2 build, v2-config.properties file needs to be further |
| edited.</FONT></P> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Glassfish.home=complete |
| path</FONT></P> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">admin.password.file=complete |
| path for <ws_root>/gfproject/admin.password.file</FONT></P> |
| </UL> |
| </UL> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><B>Starting |
| GlassFish and Derby</B></FONT></P> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><ws_root>/ant |
| -f run.xml startDerby. (This should start derby in spawn mode).For |
| port information, <ws_root>/gfproject/derby.properties.</FONT></P> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">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”</FONT></P> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">To |
| start glassfish v2, go to ${glassfish.home}/bin/asadmin |
| start-domain. (usual instructions</FONT></P> |
| </UL> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><B>Run |
| and Reporting Tests</B></FONT></P> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><ws_root>/ant |
| build deploy runtest report | tee run.log</FONT></P> |
| </UL> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Test |
| Report should be available at </FONT> |
| </P> |
| <UL> |
| <LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif"><ws_root>/test-output/index.html</FONT></P> |
| </UL> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| <P STYLE="margin-bottom: 0in"><BR> |
| </P> |
| </BODY> |
| </HTML> |