Maven 2.x Webstart Plugin

Multi Application JNLP

Details

  • Type: Improvement Improvement
  • Status: Open Open
  • Priority: Critical Critical
  • Resolution: Unresolved
  • Affects Version/s: 1.0-alpha-1, 1.0-alpha-2
  • Fix Version/s: 1.0-beta-4
  • Component/s: jnlps
  • Labels:
    None
  • Number of attachments :
    1

Description

Under maven 1, I was able to build a single WAR containing multiple applications and multiple components.

The structure was

app1.jnlp -> components/comp1.jnlp
app1.jar

app2.jnlp -> components/comp1.jnlp & components/comp2.jnlp
app2.jar
components
comp1.jnlp
comp1-1.jar
comp1-2.jar

comp2.jnlp
comp2-1.jar
...

This structure, and others, should be possible with this plugin.

I have attached a mockup of a possible plugin configuration to enable this type of structure...

Issue Links

Activity

Hide
Lewis Henderson added a comment -

The above allows us to create a WAR file that contains multiple applications and is more in line with the JNLP specification.

Please comment on this suggestion.

Thanks

Lewis

Show
Lewis Henderson added a comment - The above allows us to create a WAR file that contains multiple applications and is more in line with the JNLP specification. Please comment on this suggestion. Thanks Lewis
Hide
Jerome Lacoste added a comment -

It's definitively something I am interested in, not for 1.0-alpha-2 as I want to release 1.0-alpha-2 soon.

We need to find a way to introduce this without causing much change to the existing configurations.

Show
Jerome Lacoste added a comment - It's definitively something I am interested in, not for 1.0-alpha-2 as I want to release 1.0-alpha-2 soon. We need to find a way to introduce this without causing much change to the existing configurations.
Hide
Kevin Stembridge added a comment -

This is much like what the new JnlpDownloadServletMojo does. Multiple JNLP applications in a single WAR file. It creates a version.xml file, which is specific to the JnlpDownloadServlet, but maybe there should be a more general superclass.

Show
Kevin Stembridge added a comment - This is much like what the new JnlpDownloadServletMojo does. Multiple JNLP applications in a single WAR file. It creates a version.xml file, which is specific to the JnlpDownloadServlet, but maybe there should be a more general superclass.
Hide
Jerome Lacoste added a comment -

Any particular reason you've name the various jnlp nodes differently ? <jnlpApplicationFile> <jnlpAppletFile> <jnlpInstallerFile> etc... ?

Show
Jerome Lacoste added a comment - Any particular reason you've name the various jnlp nodes differently ? <jnlpApplicationFile> <jnlpAppletFile> <jnlpInstallerFile> etc... ?
Hide
Lewis Henderson added a comment -

I named them differently for validation purposes. Some allow/need a main class etc and others can have different child tags.

Show
Lewis Henderson added a comment - I named them differently for validation purposes. Some allow/need a main class etc and others can have different child tags.

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated: