Create SVR4/IPS Packages for any bundle:

Follow SVR4/IPS Packages instructions.

Steps to create GlassFish V3 IPS distribution:

Downloaded repo-sunos-i386.zip & ips-sunos-i386.zip from

http://updates.sfbay.sun.com/distros/UC20-ms5/

For other platforms, check in http://updates.sfbay.sun.com/UC20/

Unzip ips-sunos-i386.zip, and add location of <path to pkg> for pkg, pkgsend, pkg.depotd to PATH (for me its: $PWD/tools/lib/pkg/bin/pkg)

Start IPS UC2.0 Repository:

Unzip repo-sunos-i386.zip, and set this as PKG_REPO

> setenv PKG_REPO /export/tinderbox/dinesh/IPS_UC2.0/uc2_repo

> pkg.depotd

Insufficient privilege to bind to port 80.

Bound server to port 10000 instead.

Use the -p option to pick another port, if desired.

Build V3 completely

% svn checkout https://svn.java.net/svn/glassfish-svn/trunk/v3

% cd v3; mvn -U install

Build V3 IPS packages

% cd ../packager; mvn package

Push V3 IPS packages into UC2.0 IPS repository, and create IPS image for Installer/Rezip GlassFish:

Following 2 targets used only to push/create IPS packages/image.

% ant push-to-repository

% ant create-ips-image

You can see following 2 zip files in packager/build

V3IPSImage_GF.zip <= This image contains domains/domain1 for Rezip GlassFish

V3IPSImage_Installer.zip <=This is for Installer w/o domains

UC2.0 IPS repository is here.
http://iasenglx2.red.iplanet.com:10000/

To push/install IPS packages on/from remote IPS repository, use following:

% ant -DREPO_URL=http://iasenglx2.red.iplanet.com:10000 push-to-repository

% ant -DREPO_URL=http://iasenglx2.red.iplanet.com:10000 create-ips-image