wood burning stoves*
The moose likes JNLP and Web Start and the fly likes Is it possible to supply resources after a Web Start installation? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Is it possible to supply resources after a Web Start installation?" Watch "Is it possible to supply resources after a Web Start installation?" New topic
Author

Is it possible to supply resources after a Web Start installation?

Ahmet Aksoy
Ranch Hand

Joined: Apr 04, 2005
Posts: 30
Hi,
I want to install my application, and many empty dictionary directories using Web Start.
After the installation, the required directory structure will be ready (but empty).
Then, if I copy the required dictionary files into the related directories, is it possible to let my application to read those new resources?
Ahmet Aksoy
Jared Cope
Ranch Hand

Joined: Aug 18, 2004
Posts: 243
Hi,

I think I do something similar with our application. The application supports spell checking in multiple languages.

The webstart is responsible for downloading the spelling.jar files that contain the dictionary words files (as specified in the .jnlp file), but the application is responsible for making sure that the directory structure exists and the files get copied into that directory from the downloaded .jar file. I don't believe it is possible for webstart to do this part for you. I do all this as part of application initialization before the application is presented to the user.

Of course your application can read those files as long as the files exist in the expected place.

Hope this helps.

Cheers, Jared.


SCJP 1.4 91%, SCJP 1.5 88%, SCJD B&S
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is it possible to supply resources after a Web Start installation?