.jnlp doesn't seem to read .xpr settings

Having trouble installing Oxygen? Got a bug to report? Post it all here.
thu
Posts: 12
Joined: Wed Jan 11, 2012 7:46 pm

.jnlp doesn't seem to read .xpr settings

Post 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.
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
adrian
Posts: 2879
Joined: Tue May 17, 2005 4:01 pm

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

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply