Question

Hi!

Is there anyway to include non jar files to my dependency list in jnlp? By dependency i mean a way to make my code look for these non jar files as a "dependency".

When my code looks for for a set of database files I want to specify in jnlp where it should look for it. Like a system property I would think be the best name ?

Is it possible to specify this in my maven plugin for java webstart?

Thanks!

Was it helpful?

Solution

As noted in <resources>, "The resources element has six different possible subelements: jar, nativelib, j2se, property, package, and extension." A compressed JAR is the correct container for miscellaneous dependencies. As described in Retrieving Resources from JAR files, "Java Web Start only transfers JAR files from the Web server to the client machine." It's up to your application to provide the mechanisms to manage working copies in user-accessible storage.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top