Hi Mathieu

On 20/11/2018 14:46, Mathieu Dubois wrote:
> Hi Jim and Mongo,
>
> Thank you very much for your help. I was able to generate a correct JNLP 
> file.
very welcome :)
>
> 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'
-->

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.

Jim.

-- 
-------------------------------------------------------------------
Dr JB Procter, Jalview Coordinator, The Barton Group
Division of Computational Biology, School of Life Sciences
University of Dundee, Dundee DD1 5EH, UK.
+44 1382 388734 | www.jalview.org | www.compbio.dundee.ac.uk

_______________________________________________
Jalview-discuss mailing list
Jalview-discuss@jalview.org
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-discuss

Reply via email to