Page 1 of 1

.jnlp doesn't seem to read .xpr settings

Posted: Thu Apr 19, 2012 6:22 pm
by thu
We use JWS to install and update our oXygen editor/author clients. In our .jnlp file (oxygen.jnlp) we have this entry:

...

<property name="com.oxygenxml.default.options" value="http://docs.rackspace.com/oxygen/defaults.xpr"/>
</resources>

...

Obviously you can access our defaults.xpr file via: http://docs.rackspace.com/oxygen/defaults.xpr. However, none of the settings seem to take when we launch the client. You can also view a copy of our .jnlp file via:
http://docs.rackspace.com/oxygen/oxygen.install

Thanks for your help.

Re: .jnlp doesn't seem to read .xpr settings

Posted: Fri Apr 20, 2012 12:51 pm
by adrian
Hi,

Note that in the JNLP, a few lines above from where you're setting this property, there are a few XML comments with instructions mentioning you have to add the 'oxy' prefix to the name of the properties that should be forwarded to the application:

Code: Select all

<!-- You can specify some properties that will be forwarded to the oXygen application when started. The properties MUST be prefixed with 'oxy'. The prefix will be stripped before being passed to the started application.-->
<!--<property name="oxyPropertyName" value="testValue"/>-->
So it should work like this:

Code: Select all

<property name="oxycom.oxygenxml.default.options" value="http://docs.rackspace.com/oxygen/defaults.xpr"/>
Let us know if the problem persists.

Regards,
Adrian

Re: .jnlp doesn't seem to read .xpr settings

Posted: Wed Apr 25, 2012 1:10 pm
by adrian
Hi,

In case someone else encounters this, it turned out to be a bug in Oxygen that prevents the application from using a remote URL (HTTP) for the default options.
I have logged this to our issue tracking tool and it will be analyzed and resolved in the next release of Oxygen.
We will also post a notification here when the bugfix becomes available.

Regards,
Adrian