After issue #90498, if you specify jnlp.indirect.jars for some random JAR files not in your module's classpath, they
will be added to the JNLP classpath with an extra entry so that InstalledFileLocator will be able to find them at
runtime. Very helpful for letting modules smoothly switch to JNLP operation.
This does not help for other kinds of files packed in the NBM. There should be a separate but similar property such as
jnlp.indirect.files, a list of relative paths to files in the NBM fileset which would otherwise need to be listed in
jnlp.verify.excludes. MakeJNLP should collect all of these into one ZIP file added to the JNLP classpath. Suggested
format: for each entry in the list such as maven2/settings.xml, pack into META-INF/files/maven2/settings.xml.
Then jnlplauncher.InstalledFileLocatorImpl could simply look for the corresponding resource in its CP. If found, extract
to a temporary file somewhere - File.createTempFile and deleteOnExit, or could perhaps use javax.jnlp.* methods to use
local storage. Then return that temp file.
Would be helpful for issue #154108, for example.
Created attachment 74495 [details]
Sample application taking advantage of new facility
Created attachment 74496 [details]
LH1 - please, do not push enhancements in "stabilization" phase of Milestone 1 (http://wiki.netbeans.org/NetBeans70).
Postpone the changes after M1 clone will be created. Thank you.
How silly. If you really wanted to stabilize, you should have branched it already.
Integrated into 'main-golden', will be available in build *200812050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Milos Kleint <email@example.com>
Log: #154108 exclude java cluster as maven.grammar has zillions of maven plugin xml files as external resources, need #154471 fixed.
Miloš you may want to use this in Maven modules (issue #154108).
Integrated into 'main-golden', will be available in build *200812180201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jesse Glick <firstname.lastname@example.org>
Log: #154471: add jnlp.indirect.files property to make InstalledFileLocator more useful in JNLP mode.