create jnlp using absolute references to jars on remote repository
------------------------------------------------------------------
Key: MWEBSTART-68
URL: http://jira.codehaus.org/browse/MWEBSTART-68
Project: Maven 2.x Webstart Plugin
Issue Type: New Feature
Reporter: Ryan Sonnek
Priority: Critical
I want to be able to deploy my jnlp file alongside my jar file on my maven
repository. The references to dependency jars should *not* be relative to the
current jnlp codebase, and should use the absolute url from ibiblio (or other
remote repository) to be downloaded.
I've tested that the JNLP spec allows for this using a slightly modified JNLP
file from https://j3d-webstart.dev.java.net/test/index.html
{code:xml}
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+"
codebase="http://download.java.net/media/java3d/webstart/test/"
href="HelloUniverse.jnlp">
<information>
<title>Java 3D HelloUniverse via Web Start</title>
<vendor>Sun Microsystems Inc.</vendor>
<homepage href="http://java3d.dev.java.net/"/>
<description>HelloUniverse</description>
<description kind="short">HelloUniverse: a simple 3D rotating cube demo,
using the Java 3D API</description>
<icon href="duke.gif"/>
<offline-allowed/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.5+"/>
<jar
href="http://download.java.net/media/java3d/webstart/test/j3d-examples.jar"
main="true"/>
<jar
href="http://mirrors.ibiblio.org/pub/mirrors/maven2/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar"/>
<extension
href="http://download.java.net/media/java3d/webstart/release/java3d-latest.jnlp"/>
</resources>
<application-desc
main-class="org.jdesktop.j3d.examples.hello_universe.HelloUniverse"/>
</jnlp>
{code}
notice how the *main* jar and the commons logging jar are absolute urls instead
of relative to the JNLP codebase.
The only thing that is unknown to me is how to figure out where a local
dependency (like commons logging) was downloaded from?
--
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