[
http://jira.codehaus.org/browse/MWEBSTART-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=259276#action_259276
]
Jason Wraxall commented on MWEBSTART-43:
----------------------------------------
Perhaps there is some way to attach meta tags to POM dependencies which are
then picked up by the webstart plugin to determing the xml attributes for the
jnlp file.
eg something like this for a dependency
<dependency>
<plugin-data forplugin="webstart">
<attribute name="lazy" value="true"/>
<attribute name="part" value="animation-subsystem"/>
</plugin-data>
<groupId>com.cybernostics.lib</groupId>
<artifactId>cntools-gui</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
cheers,
Jason
> Support for lazy loading of jars
> --------------------------------
>
> Key: MWEBSTART-43
> URL: http://jira.codehaus.org/browse/MWEBSTART-43
> Project: Maven 2.x Webstart Plugin
> Issue Type: New Feature
> Components: jnlps
> Environment: any
> Reporter: Francis De Brabandere
>
> support for lazy loading of jars by declaring wich packages are available in
> the jar + defining what the main artifact is that should be eagerly loaded
> <package name="com.foo.splashscreen.*" part="splashscreen" recursive="true"/>
> <jar href="foo-splashscreen.jar" part="splashscreen" main="true"
> download="eager"/>
> <package name="org.jfree.chart.*" part="jfreechart" recursive="true"/>
> <package name="org.jfree.data.*" part="jfreechart" recursive="true"/>
> <jar href="jfreechart-1.0.2.jar" part="jfreechart" download="lazy"/>
> ...
> in the above example the splashscreen is a small jar that loads quickly, that
> jar invokes the main application using Class.forName()...
> this in combination with pack200 gives you the fastest startup
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email