Difference between revisions of "Passing Arguments to JASigning Apps"

From Virtual Humans
Jump to navigation Jump to search
(Initial content.)
 
m
 
Line 5: Line 5:
 
== Launching SiGML Player Apps using <code>javaws</code> ==
 
== Launching SiGML Player Apps using <code>javaws</code> ==
  
Java Web Start will be launched when opeing the <code>.jnlp</code> files for SiGML Player apps.
+
Java Web Start will be launched when opening the <code>.jnlp</code> files for SiGML Player apps.
 
Alternatively, the command <code>javaws</code> can be used in the folder containing the <code>.jnlp</code> file with a command such as:
 
Alternatively, the command <code>javaws</code> can be used in the folder containing the <code>.jnlp</code> file with a command such as:
 
  <code>javaws SiGMLURLApp.jnlp</code>
 
  <code>javaws SiGMLURLApp.jnlp</code>
Line 18: Line 18:
 
to read from a different file:
 
to read from a different file:
 
  <code>javaws  -open "JASiGMLURLApp -ja.version.tag=095s -ja.remote.base.url=... -sigml.file=welkom-ngt.sigml" SiGMLURLApp.jnlp</code>
 
  <code>javaws  -open "JASiGMLURLApp -ja.version.tag=095s -ja.remote.base.url=... -sigml.file=welkom-ngt.sigml" SiGMLURLApp.jnlp</code>
It is necessary to include the standard parameters, however, since the argumanets from the <code>.jnlp</code> file are ignored.
+
It is necessary to include the standard parameters, however, since the arguments from the <code>.jnlp</code> file are overridden.
 
----
 
----
 
[[Main Page|Home]] > [[JASigning]]
 
[[Main Page|Home]] > [[JASigning]]

Latest revision as of 19:37, 14 March 2015

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 opening 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 arguments from the .jnlp file are overridden.


Home > JASigning