-props argument

Hi all,

I wonder if any of you use the "-props" argument for the .jnlp file ?
I'm actually trying to use it, but the file given in argument isn't used by jalview!

I actually want the user to download a jnlp file with a joined "jalview_properties" file containing my customized properties.
So I provide a zip file containing both the jnlp file and the properties file which are then in the same directory.
I use the folowing code :

<argument>-props</argument>
<argument>jalview_properties</argument>

But when launching the .jnlp file, the properties aren't used.

Moreover, I tried different names for the properties file and after launching the jnlp (and seeing properties not set like I want), jalview creates a properties file in my home (like when no properties file is provided) but with the same custom name as my properties file.

Can any of you tell me what I am doing wrong ? Is this a bug ?
Is anyone using successfully the "-props" argument ?

I would also find nice if it could be a URL, like for the other inputs of jalview.

Cheers,

Balazs Laurenczy

Dear Balascz.

I wonder if any of you use the “-props” argument for the .jnlp file ?
I’m actually trying to use it, but the file given in argument isn’t used by jalview!
The reason for this is that Jalview expects the properties file
specified by -props to be a file on the computer. Since webstart (the
jnlp launch mechanism) runs Jalview in some arbitrary directory
(varies from machine to machine), then it’s very difficult to specify
the correct file path for the properties file.

Can any of you tell me what I am doing wrong ? Is this a bug ?
Is anyone using successfully the “-props” argument ?

I would also find nice if it could be a URL, like for the other inputs of jalview.
That is a good feature request - although there are some security
caveats that might have to be considered. Those who have seen the
source of Jalview may have noticed an undocumented argument
(‘setprop’) which allows specific properties to be set, but I never
enabled this function because it could, potentially, be abused.

Anyhow - I’ll consider this feature for the next but one release
(http://issues.jalview.org/browse/JAL-761)

Jim.

I’ve now added this to the development version - try passing a URL to the version at
http://www.compbio.dundee.ac.uk/jalview/latest/webstart/jalview.jnlp

Jim.

···
-- 
-------------------------------------------------------------------
J. B. Procter  (JALVIEW/ENFIN)  Barton Bioinformatics Research Group
Phone/Fax:+44(0)1382 388734/345764  [http://www.compbio.dundee.ac.uk](http://www.compbio.dundee.ac.uk)
The University of Dundee is a Scottish Registered Charity, No. SC015096.

Hi Balazs.

I was just wondering if you had found the ‘-props http://www.yoursever/myjalview.properties’ to be suited for your needs.
I’ll probably include this fix in the forthcoming release, but I wanted to make sure the mechanism was behaving itself.

Jim.

ps. this issue is at: http://issues.jalview.org/browse/JAL-761