From: jprocter Date: Tue, 7 Jun 2005 13:39:15 +0000 (+0000) Subject: quickie build instructions. X-Git-Tag: Release_2_0~104 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=abf63a568e73d434a081cf0d5c6d93aa7bea48a3;hp=caf2d4e4dcc3dda5e3d426fb3c60d9bcbb3e8bfa;p=jalview.git quickie build instructions. --- diff --git a/doc/building.html b/doc/building.html new file mode 100755 index 0000000..0a9048b --- /dev/null +++ b/doc/building.html @@ -0,0 +1,55 @@ + + +Building Jalview from Source + + +

Building Jalview from Source

+

+

+You will need the following:
+

+With any luck, after setting your paths and JAVA_HOME correctly, you +just need to change to the Jalview directory and run ant (this works +from JBuilder and eclipse too). +
+   ant
+
+ +

+

Building a webstart version of jalview

+Jalview depends on several libraries contained in the libs directory +of the distribution. In order to access them, they must all be signed +jars - using the same jarsigner key as jalview itself. There is a +build target in ant to make the signed jar files in a directory called +dist. But first you need to make your own key: +

Making your own key

+ +

The ant 'makejars' target assumes that a keystore exists in a +directory 'keys'. To make a key accessible using the default settings +in the build.xml file then make the keys directory and add the +jarsigner key with the following : +

+
+mkdir keys
+keytool -genkey -keystore keys/.keystore -keypass alignmentisfun
+-storepass alignmentisfun -alias jalview
+ (you will have to answer some personal questions here)
+ant makejars
+ (should eventually generate a Jalview.jnlp file 
+  in ./dist along with a set of signed jars using the jalview
+  key)
+
+ +

+ +

+

+Jim Procter (GJB) +
+ +