X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=doc%2Fbuilding.html;h=dfb21a2b480be7e35ca4b9aea9d6073147145843;hb=9eb7ef40604ef4779523f2f2a283c23cef429bb4;hp=df33b12219db64df10e5c34100ab6d0de982df3d;hpb=5065dbe7153585f5ce25d91d9f227c0a6263bde0;p=jalview.git diff --git a/doc/building.html b/doc/building.html index df33b12..dfb21a2 100755 --- a/doc/building.html +++ b/doc/building.html @@ -1,4 +1,21 @@ +
You will need the following (hopefully):
ant@@ -45,9 +62,36 @@ ant makedist key) -
- -
+
+ 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 + project files. These files should be sufficient to set up basic source + folders and build paths, but you will need to ensure that all .jar + files in the lib and appletlib directories are added to the build path + for your IDE project, and that the 'buildindices' target in Jalview's + build.xml is executed with the 'outputDir' ant property set to the + directory where the IDE expects to place compiled classes ('classes' + directory for eclipse, 'build/classes' for netbeans).
+Note: It is generally not recommended that you distribute build + artefacts that were generated automatically via an IDE's own packaging + mechanism (e.g. Netbeans' executable Jar and dependent lib directory). + The hand-crafted ant build.xml is (currently) the only officially + supported method of building distributable versions of Jalview.
Jalview development team