X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=doc%2Fbuilding.html;h=ecde4d88d016af127253153d08ddc950011ec08f;hb=08c202dd3ef0f34bde305c11da9eec03520174dc;hp=9c0932447ea130a044c04f2bfb67b8ad81a1713d;hpb=0626431815242eadbb07fd18945e038c55c67c4f;p=jalview.git diff --git a/doc/building.html b/doc/building.html index 9c09324..ecde4d8 100755 --- a/doc/building.html +++ b/doc/building.html @@ -1,20 +1,21 @@
You will need the following (hopefully):
ant@@ -46,23 +45,38 @@ 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,
+ analysis, appletgui, utils, schemes, api, structure}, and
+ com.stevesoft.*). Once compiled, these class files are obfuscated to
+ make the code run efficiently. To compile the applet Jar, use the
+ makeApplet task - optionally passing in a 'donotobfuscate' property to
+ the ant build (e.g. -Ddonotobfuscate=true) to disable obfuscation.
+ The ant target 'pubapplet' can be used to compile install the + jalviewApplet.jar and any dependent jars (under appletlib) into a copy + of the examples directory created under the outputDir build + property (which defaults to the 'dist' directory). +
+
The Jalview source distribution includes project definitions for Eclipse, Netbeans and some rather ancient Borland JBuilder .jpx