Last updated January 18, 2011 09:13, by Jørgen Austvik
Building JET Framework on OpenSolaris
This is how to build JET Framework on OpenSolaris (tested on build 111b) if you want the source code in ~/devel/jet~framework/, and some additional downloads in ~/download/:
$ mkdir ~/devel $ mkdir ~/download $ pfexec pkg install SUNWmercurial
If the previous step fails, do:
$ pfexec pkg set-publisher -O http://pkg.opensolaris.org/dev opensolaris.org
and try the pkg install step again
$ cd ~/download
(Download maven 2.1.0 from http://maven.apache.org/download.html to ~/download)
$ unzip apache-maven-2.1.0-bin.zip
(Download JMX Remote API 1.0.1_04 Reference Implementation and JMX 1.2.1 Reference Implementation from http://java.sun.com/products/JavaManagement/download.html to ~/download)
$ unzip jmx-1_2_1-ri.zip $ unzip jmxremote-1_0_1-ri-bin-b58.zip $ ~/download/apache-maven-2.1.0/bin/mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools -Dversion=1.2.1 -Dpackaging=jar -Dfile=./jmx-1_2_1-bin/lib/jmxtools.jar $ ~/download/apache-maven-2.1.0/bin/mvn install:install-file -DgroupId=javax.management -DartifactId=jmxremote -Dversion=1.0.1_04 -Dpackaging=jar -Dfile=./jmxremote-1_0_1-bin/lib/jmxremote.jar $ ~/download/apache-maven-2.1.0/bin/mvn install:install-file -DgroupId=javax.management -DartifactId=jmxremote_optional -Dversion=1.0.1_04 -Dpackaging=jar -Dfile=./jmxremote-1_0_1-bin/lib/jmxremote_optional.jar $ cd ~/devel $ hg clone https://kenai.com/hg/jet~framework $ cd ~/devel/jet~framework $ ~/download/apache-maven-2.1.0/bin/mvn install site
Maven will now download a lot and build and generate documentation. If you think Maven is slow (it can take up to 10 minutes the first time, but should only take around 10 seconds on later builds) - think about setting up Nexus.





