X

SailFin Build and Testing Quick Help

Yamini Kalyandurga
Consulting Member of Technical Staff












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:





Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.