SailFin Build and Testing Quick Help

Here are some quick steps to build and test SailFin from scratch:

  1. Checkout and build

  • mkdir <workspace> ; cd <workspace>

  • cvs -d :pserver:<java.net-id>@cvs.dev.java.net:/cvs co sailfin/bootstrap

  • Make sure ~/build.properties has the following entries:

# maven properties

maven.proxy.host=<proxy-host>

maven.proxy.port=<proxy-port>

# GlassFish properties

glassfish.cvs.username=<java.net-id>

glassfish.os.name=SunOS

  • cd sailfin/bootstrap

  • maven checkout bootstrap-all build

  • maven configure-runtime --> To install developer version

    or maven configure-cluster --> To install cluster version

  • maven clean-config --> To delete the installation

  1. Running GlassFish Quicklook

  • maven checkout-quicklook

  • export APS_HOME=<workspace>/glassfish/appserv-tests

  • export S1AS_HOME=<workspace>/publish/glassfish

  • cd $APS_HOME

  • maven runtest

or maven runtest-ee-standalone

  • cat count.txt --> to view the results

  1. Running SailFin Quicklook

  • cvs co sailfin/sailfin-tests

  • export SF_HOME=<workspace>/publish/glassfish

  • export HOST_IP_ADDRESS=<ip-address-of-machine>

  • export ANT_HOME=$SF_HOME/lib/ant

  • export PATH=$ANT_HOME/bin:$PATH

  • Modify the following properties in config-[dev/cluster].properties

http-proxyhost, http.proxyport --> point to proxy server/port

  • ant setup quicklook

  • cat quicklook-count.txt --> to view results

  1. Running SailFin Cluster Quicklook

  • Follow the same steps as above except for the ant command which is:

  • ant set-cluster-config quicklook-cluster

Note: Suppose you have just run cluster QL and want to switch to running developer QL, run:

ant set-developer-config setup quicklook

    References:

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

yamini

Search

Top Tags
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today