Default location servoy-client .jnlp file?

Dear Servoyians,

I do have this issue at installing Windows clients for some time now, and I can’t figure out how to solve this… :(

When the clients download the Servoy Client .jnlp file -for the first time-, they cannot find where the file is stored…

The file is mostly hidden in some vague java system folder somewhere, and that gives me no zero deployment time to find the file for them! :wink:

In the past I could save a Client solution with a choose location dialog, but that didn’t occur after the 2.1 update…

I hope it’s just some prefs that needs to be selected :?:

We are also interested in the ability to control not only where the .jnlp downloads, but naming it as well (and even the icon). Stil have yet to scour the documentation for how to achieve these things, but wanted to put my 2 in here.

~ Tara

where it downloads shoudn’t be of any concern.
Webstarts gives or asked you the option to generate desktop icons (and i think it does that by default the second time you start it)

I don’t think you can give that jnlp file another icon that easily because that is something the system does (like al word files get a the word icon)

What you can do is create a shortcut somehow (what webstart does or can do for you). And give that short cut an image.

Also the shortcut webstart creates uses the images you have on the server:
/lib/images/servoy_client_icon.gif

replace that one with the one you want and you have youre own
just as youre own splash:
/lib/splashclient.gif

jcompagner:
where it downloads shoudn’t be of any concern. Webstarts gives or asked you the option to generate desktop icons (and i think it does that by default the second time you start it)

I do think it does matter where the .jnlp file is stored, because the Client needs to start his application the second time from this file to be able to create a desktop icon… AND problem is that Servoy doesn’t give the ‘save option’ the second time the Client starts the application.

Would it be possible to let Servoy ask the user at the first time to create a desktop icon?

yes i have fixed this now. Sun has changed the behaviour for this creation of shortcuts. I have made the change in our jnlp file it will generated a desktop icon nicely now the first time you start it. Also can it generate now more then one link if you load directly a solution this way:

http://servername:port/servoy-client/se … NNAME.jnlp

Then it will generate a icon like this on the desktop:

Servoy Client - SOLUTIONNAME

I am having difficulty getting the link in the above comment to work.

I sucessfully use the deep link
http://localhost:8080/servoy-client/ser … LUTIONNAME

But when I use
http://localhost:8080/servoy-client/ser … NNAME.jnlp
The download window appears and stalls at ‘download in progress’ indefinitely (I left it for 5 minutes with no change). No error message.

I even tried
http://localhost:8080/servoy-client/ser … LUTIONNAME
with the same results.

Thanks!

~ Tara
Servoy R2 2.1.2 - build 315
Java version 1.4.2-38
Mac OS X

Hi tara, I think this only works in the new 2.2beta.

Thanks for the heads-up. I see now that the post with that tip was just made a couple of weeks ago, so makes sense that the feature is in the beta. I was just too excited to try it out :D

Thank you Johan! Looks and works great! Keep up the good work :wink: