From: jprocter Date: Wed, 29 Jun 2011 17:33:37 +0000 (+0100) Subject: documentation and targets for building a working applet examples X-Git-Tag: Release_2_7~166 X-Git-Url: http://source.jalview.org/gitweb/?p=jalview.git;a=commitdiff_plain;h=5aad8085fbd06d2e0f6a97d71e8ed58d0e02e6db documentation and targets for building a working applet examples directory (JAL-834) --- diff --git a/build.xml b/build.xml index a75e4ea..5b1066f 100755 --- a/build.xml +++ b/build.xml @@ -134,8 +134,10 @@ - - + + @@ -448,7 +450,7 @@ - + @@ -474,7 +476,7 @@ - + @@ -540,6 +542,10 @@ + + + + @@ -557,7 +563,22 @@ + + + + + + + + + + + + + + + diff --git a/doc/building.html b/doc/building.html index 9c09324..5202400 100755 --- a/doc/building.html +++ b/doc/building.html @@ -62,7 +62,21 @@ 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). +

+

using IDEs to build Jalview

The Jalview source distribution includes project definitions for Eclipse, Netbeans and some rather ancient Borland JBuilder .jpx diff --git a/doc/index.html b/doc/index.html index 8c18340..fcc01fe 100644 --- a/doc/index.html +++ b/doc/index.html @@ -32,11 +32,12 @@ Jalview Source Documentation information about each task, and there's lots of comments too.

  • src - all jalview source packages, including any specially - adapted code from other GPL programs. See Jalvew + adapted code from other GPL programs. See Jalview Development for more info.
  • lib - All the libraries that Jalview depends on. Every jar file in this directory should be added to the classpath when building or running the jalview application.
  • +
  • appletlib - Any libraries that are specifically required for compiling and/or running the jalviewLite applet (e.g. an applet build of Jmol).
  • help - the jalview JavaHelp documents
    • help.hs - the main index page. This is generated by the @@ -137,12 +138,11 @@ Jalview Source Documentation documentation.
  • -
  • dist - where the Jars and JNLP file for the java webstart distribution is generated.
  • installAnywhere - where the installAnywhere build is generated
  • keys - you might not have this - see building for info on how to create it.
  • - - +
  • dist - where the Jars and JNLP file for the java webstart distribution is generated, and where a copy of the examples directory is created complete with jalviewApplet.jar and the contents of appletlib/*.jar.
  • +
  • examples - a set of example jalview projects and web pages demonstrating the jalviewLite applet. This is essentially mirrors the www.jalview.org/examples directory on Jalview's website.
  • nbbuild.xml - custom config used by the vanilla netbeans project in nbproject
  • nbproject - vanilla netbeans project
  • JalviewApplet.jpx, JalviewX.jpx - old JBuilder project files