QuickLook_Test_Instructions.html revision ada1678a4262b208a7b87391f520a7767d25287c
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<!--
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright (c) 2010 Oracle and/or its affiliates. All rights reserved.
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
https://glassfish.dev.java.net/public/CDDL+GPL_1_1.html
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.
-->
<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 &lt;ws_root&gt;</FONT></P>
<LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Edit
&lt;ws_root&gt;/build.properties and mention deploy.platform=&rdquo;v3&rdquo;
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">&lt;ws_root&gt;/ant
-f run.xml startDerby. (This should start derby in spawn mode).For
port information, &lt;ws_root&gt;/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
&lt;ws_root&gt;/gfproject/db-targets.xml and in startDerby and
stopDerby targets remove &ldquo;spawn=true&rdquo;</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">&lt;ws_root&gt;/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 &lt;ws_root&gt;/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 &lt;ws_root&gt;</FONT></P>
<LI><P STYLE="margin-bottom: 0in"><FONT FACE="Trebuchet MS, sans-serif">Edit
&lt;ws_root&gt;/build.properties and mention deploy.platform=&rdquo;v2&rdquo;
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 &lt;ws_root&gt;/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">&lt;ws_root&gt;/ant
-f run.xml startDerby. (This should start derby in spawn mode).For
port information, &lt;ws_root&gt;/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
&lt;ws_root&gt;/gfproject/db-targets.xml and in startDerby and
stopDerby targets remove &ldquo;spawn=true&rdquo;</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">&lt;ws_root&gt;/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">&lt;ws_root&gt;/test-output/index.html</FONT></P>
</UL>
<P STYLE="margin-bottom: 0in"><BR>
</P>
<P STYLE="margin-bottom: 0in"><BR>
</P>
</BODY>
</HTML>