Passing Arguments to JASigning Apps

From Virtual Humans
Revision as of 18:35, 14 March 2015 by John.Glauert (talk | contribs) (Initial content.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Home > JASigning


This page describes how to pass arguments to SiGML Player apps.

Launching SiGML Player Apps using javaws

Java Web Start will be launched when opeing the .jnlp files for SiGML Player apps. Alternatively, the command javaws can be used in the folder containing the .jnlp file with a command such as:

javaws SiGMLURLApp.jnlp

Providing Settings to SiGML Player Apps using javaws

When javaws is called with no extra arguments, the app is provided with arguments from the .jnlp file. Alternatively, the -open argument can be used to provide the arguments. For the standard distribution, the following settings are equivalent to the example above:

javaws  -open "JASiGMLURLApp -ja.version.tag=095s -ja.remote.base.url=http://vhg.cmp.uea.ac.uk/tech/jas/095s/" SiGMLURLApp.jnlp

Other JASigning settings can be provided. As an example, the additional parameter -sigml.file can be used to set the SiGML URL Player to read from a different file:

javaws  -open "JASiGMLURLApp -ja.version.tag=095s -ja.remote.base.url=... -sigml.file=welkom-ngt.sigml" SiGMLURLApp.jnlp

It is necessary to include the standard parameters, however, since the argumanets from the .jnlp file are ignored.


Home > JASigning