Is it possible to use the JavaFXPackager to create a bundle that has multiple apps?
I have two applications, each which has it's own primary jar file, but both use the same set of dependent 3rd party libraries / jars. I want to package them in the same bundle so that they use the same JRE, but one application actually launches and uses the second application.
However, from looking at how the JavaPackager ant stuff is structured, there seems to be no way to bundle this together. For example, fx:preferences is a top level element under fx:deploy. IMO, it should be under fx:application so you can set each specific application preferences as to whether it should create a menu, desktop icon etc. In the same way, you can't specify global filesets as well as individual application level filesets.
I can't see any way to solve this problem without generating 2 completely different installer packages each including it's own JVM... which poses a problem since I won't be able to know / control where the second app is installed (I want them together in the same location and using the same JRE).
It doesn't look like the packager was designed to support multiple apps in the same bundle.. which is a big oversight IMO.