X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=doc%2Fbuilding.html;h=ecde4d88d016af127253153d08ddc950011ec08f;hb=37de9310bec3501cbc6381e0c3dcb282fcaad812;hp=dfb21a2b480be7e35ca4b9aea9d6073147145843;hpb=a45774ee31d9f35d4eff46d54d7deab719afb092;p=jalview.git diff --git a/doc/building.html b/doc/building.html index dfb21a2..ecde4d8 100755 --- a/doc/building.html +++ b/doc/building.html @@ -1,20 +1,21 @@ Building Jalview from Source @@ -25,14 +26,12 @@

You will need the following (hopefully):

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, but NetBeans is a bit trickier). +from eclipse too, but NetBeans is a bit trickier).
    ant
 
@@ -46,23 +45,24 @@ 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 'makefulldist' 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 makedist
- (should eventually generate a Jalview.jnlp file
-  in ./dist along with a set of signed jars using the jalview
-  key)
-
- -

+

The ant 'makefulldist' 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 -sigalg SHA1withRSA -keyalg RSA -alias jalview
+ (you will have to answer some personal questions here) +
ant makedist -DWebStartLocation="file://.pathtojalviewsource./dist" -Dapplication.codebase="*"
+

This should eventually generate a jalview.jnlp file in ./dist + along with a set of signed jars using the jalview key). In order to + test locally via webstart you'll now need to add 'file:/' to your + java webstart security exception list. Then:

+
javaws file://.pathtojalviewsource./dist/jalview.jnlp
+

Please remember to remove that entry afterwards, since it will leave + your system vulnerable to malicious code. +

+

Building the JalviewLite applet
The JalviewLite applet is compiled using a subset of the packages in the src directory (specifically: MCView, and jalview.{datamodel,