Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ahmet Aksoy
Ranch Hand
Posts: 30
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 243
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic