Jim, Mungo,
Le 21/11/2018 à 12:57, Jim Procter a écrit :
We generate the JNLP file ourselves because we pass a parameter to
JalView (-open URL). I'm not sure if we can do that with the launchApp
servlet.
That's actually the reason we set up the service:
http://www.jalview.org/services/launchApp?open=http%3A%2F%2Fwww.jalview.org%2Fexamples%2Funiref50.fa&annotations=http%3A%2F%2Fwww.jalview.org%2Fexamples%2Funiref50.score_ascii&treeFile=http%3A%2F%2Fwww.jalview.org%2Fexamples%2Fferredoxin.nw
Documentation for supported parameters is given as a comment in the
JNLP file:
<?xml version="1.0" encoding="UTF-8"?><!--
Jalview Launch Desktop service
If you have downloaded this file after pressing "Launch Full
Application" from Jalview on a web page and you don't know what to do
with this file, you must install Java from http://www.java.sun.com
then try opening this file again.
JNLP generated by /jalviewServlet/services/launchApp
JNLP generated from http://www.jalview.org/webstart/jalview.jnlp
Available servlet parameters (please URLEncode):
open=<alignment file URL>
version=<Valid Jalview Version string> (default is latest patched
release, other available versions are 'stable', 'release', 'next',
'test', 'develop')
jvm-max-heap=heap size in M or G
features maps to '-features'
treeFile maps to '-tree'
tree maps to '-tree'
annotations maps to '-annotations'
colour maps to '-colour'
-->
Thanks for the explanation. We will probably use the launch service in
the next version as it's very convenient and simple to use.
If there's anything else you'd like to be able to do with this then do
let us know. As you might be aware, Java Webstart is not going to be
widely available on many systems in the future and we are exploring
ways to replace the web launch functionality.
As for the future of JNLP, if I'm correct, it will disappear soon so I
guess the only option is JS.
Mathieu
_______________________________________________
Jalview-discuss mailing list
Jalview-discuss@jalview.org
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-discuss