Embedded GlassFish Build Instructions

General Build Setup

  1. Download and install http://java.sun.com/javase/downloads/index.jsp Java SE 6
  2. Set the system/user variable JAVA_HOME=C:\Program Files\Java\jdk1.6 (example)
  3. Add %JAVA_HOME%\bin to your system path.
  4. Download and install Subversion
  5. Add the Subversion directory to your system path.
  6. Download and install Maven2
  7. Add the system/user variable M2_HOME
  8. Add $M2_HOME/bin directory to your system path.
  9. Type the following: mvn -version
  10. You should see: Maven version: 2.0.9

Checkout Prelude and Embedded

* cd ${MyWorkspace}  
* svn checkout https://svn.java.net/svn/glassfish-svn/branches/embedded_v3_prelude_release

Build V3-Prelude:

# cd ${MyWorkspace}/embedded_v3_prelude_release
# mvn -Prelease-phase1 install
# mvn -U install
# cd packager
# mvn -U install

Build Embedded

# cd ${MyWorkspace}/embedded_v3_prelude_release/embedded
# mvn -U install 
# cd packager
# mvn -U install
# Note: Rename ${MyWorkspace}/embedded_v3_prelude_release/embedded/packager/all/target/final.jar to glassfish-embedded-all.jar

For additional info. http://wiki.glassfish.java.net/Wiki.jsp?page=V3FullBuildInstructions

There are several hudson builds that are in service, building binaries whenever a svn checkin occurs

Purpose Hudson URL Maven Repository URL Artifact (product) Filename
Build the Embedded API URL URL glassfish-embedded-api-10.0-SNAPSHOT.jar
Build the Embedded Packager Jars URL URL for the ALL jar glassfish-embedded-all-10.0-SNAPSHOT.jar
Build the V3 Packager Files - Part I, build V3 first URL Not Applicable Not Applicable
Build the V3 Packager Files - Part 2, build packager files URL Not Applicable Not Applicable