Java development kit (JDK1.6 is the recommended platform for developing with Jalview, although JDK1.7 seems to work too!).
-
Ant (we think 1.5.4 is quite sufficient to use the simple build
-file supplied, and it seems to work with later versions e.g. 1.7).
+
Java development kit (JDK1.8 is now the recommended platform for developing with Jalview.
+
Ant (1.7 or later will be needed for some of the jarsigning tools).
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 :
+ (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:
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,
diff --git a/examples/appletDeployment.html b/examples/appletDeployment.html
index a7653ed..7fcca00 100644
--- a/examples/appletDeployment.html
+++ b/examples/appletDeployment.html
@@ -18,30 +18,83 @@
-->
-
Package all your data files into a single (or multiple) zip / jar
- files. This is very useful to reduce download time of large data files.
- The applet archive tag can take multiple entries separated by commas,
- eg
-
To run Jalview applet in your web page download the Jars listed above. The snippet below shows a minimal code for embedding Jalview applet into a web page.
+
Package all your data files into a single (or multiple) zip /
+ jar files. This is very useful to reduce download time of large data
+ files. The applet archive tag can take multiple entries separated by
+ commas, eg
Use Jalview for input to a HTML form. For an example of how to
+ code this using Javascript, click here.
+
+
Embed Jalview into the web page, without the "Start
+ Jalview" button by setting the embed parameter to true;
+ <param name="embedded" value="true">
+
+
For more examples, see the links to the left.
+
+
+
+
Applet Release History
+
+
Release
+
+
New Features / required changes
+
+
+
2.9 (Latest)
+
Split Views for cDNA and Protein alignments Specify second alignment with 'file2' parameter, and set cDNA/Protein column scaling with scaleProteinAsCdna
RNA secondary structure annotation row
@@ -71,9 +126,11 @@
original Jalview structure viewer will still be available.
-
-
**NEW FEATURES** in Jalview 2.7
-
+
+
+
+
2.7
+
Javascript callbacks capabilities
oninit parameter and methods for registering javascript handlers for selections, mouseovers and linking to Jmol applets on the page.
To use javascript callbacks, ensure the applet tag includes the 'mayscript' attribute - either as a parameter (<param name="mayscript" value="true"/;gt;) or as a bare attribute in the applet html tag).
Minimum recommended version of Java runtime for the applet is now 1.5 (JalviewLite v2.6 without the Jmol viewer may work ok on earlier Java environments but compatibility can no-longer be guaranteed).
-
- **NEW FEATURES** in Jalview 2.5
-
-
New parameters to control display of tree annotation, width of alignment columns, and to disable the jalview button and check for Jmol on startup.
-
- **NEW FEATURES** in Jalview 2.4
-
+
+
+
+
2.5
+
+
New parameters to control display of tree annotation, width of alignment columns, and to disable the jalview button and check for Jmol on startup.
+
+
+
+
2.4
+
New applet API methods for feature display control, views, and obtaining current selection via javascript.
Group show and hide parameters:
"showfeaturegroups" and
@@ -104,9 +165,11 @@
"debug" parameter to control verbosity of the applet's console output.
"showbutton" parameter to disable launch button and open JalviewLite immediatly.
"nojmol" parameter to disable check for Jmol classes.
-
- **NEW FEATURES** in Jalview 2.3
-
+
+
+
+
2.3
+
Note that Parameter "PDBFile" now takes
the PDB file followed by a space separated list of alignment sequence
ids to associate the structure to. It is also possible to associate
@@ -126,11 +189,12 @@
Jalview Applet can read and display JNet secondary structure annotation
directly via the jnetfile parameter.
@@ -158,5 +222,9 @@
<param name="sequence2" value="FER1_PEA/14-29 TSFLRTQPMPMSVTTT">
(All the usual Jalview File formats are valid, however each
new line in an alignment file must be entered as a parameter)
-
+
+
+
+
+
diff --git a/examples/appletParameters.html b/examples/appletParameters.html
index 433f5a9..cc95ecb 100644
--- a/examples/appletParameters.html
+++ b/examples/appletParameters.html
@@ -28,7 +28,7 @@ which are described below. Once initialised,
the applet can be interacted with via its
Javascript API.
Issues arising from tightening of Java Security default settings JalviewLite is provided as a signed applet with 'sandbox' permissions and wildcards that allow it to be run from any website. Unfortunately, earlier versions of Java may not be compatible with these settings.
-Try out JalviewLite by pressing one of the buttons below.
- For more information on how to use the applet in your website, see the applet parameters and other documentation in the links to the left.
+Try out JalviewLite by pressing one of the buttons below.
+ View the source for the examples below here (If the link doesn't work on your browser try going to this page and viewing the page source manually).
+ For more information on how to use the applet in your website, see the applet deployment,applet parameters, and other documentation in the links to the left.
Ferredoxins, chloroplast precursor related UniRef50
diff --git a/examples/embedded.html b/examples/embedded.html
index aa67325..0d5ddf3 100644
--- a/examples/embedded.html
+++ b/examples/embedded.html
@@ -23,9 +23,6 @@