<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
The contents of this file are subject to the terms of either the GNU
General Public License Version 2 only ("GPL") or the Common Development
and Distribution License("CDDL") (collectively, the "License"). You
may not use this file except in compliance with the License. You can
obtain a copy of the License at
or packager/legal/LICENSE.txt. See the License for the specific
language governing permissions and limitations under the License.
When distributing the software, include this License Header Notice in each
file and include the License file at packager/legal/LICENSE.txt.
GPL Classpath Exception:
Oracle designates this particular file as subject to the "Classpath"
exception as provided by Oracle in the GPL Version 2 section of the License
file that accompanied this code.
Modifications:
If applicable, add the following below the License Header, with the fields
enclosed by brackets [] replaced by your own identifying information:
"Portions Copyright [year] [name of copyright owner]"
Contributor(s):
If you wish your version of this file to be governed by only the CDDL or
only the GPL Version 2, indicate your decision by adding "[Contributor]
elects to include this software in this distribution under the [CDDL or GPL
Version 2] license." If you don't indicate a single choice of license, a
recipient has the option to distribute your version of this file under
either the CDDL, the GPL Version 2 or to extend the choice of license to
its licensees as provided above. However, if you add GPL Version 2 code
and therefore, elected the GPL Version 2 license, then the option applies
only if the new code is made subject to such option by the copyright
holder.
-->
<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>
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-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
</UL>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Test
<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>
path</FONT></P>
<LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">admin.password.file=complete
</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
<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-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
</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>