On Tue, 8 Nov 2011 02:34:20 -0800 (PST) stlecho <[email protected]> wrote:
I will try to have a look ASAP. Could you create a issue on JIRA with a minimal project that reproduce your problem to make my work easier and quicker. Thanks. Tony. > > I'm having the same problem with v1.0-beta-2 of webstart-maven-plugin: > > -Error - com.sun.deploy.net.FailedDownloadException: Unable to load > resource: > (http://localhost:7101/apps/nova-client.jar?version-id=0.1-SNAPSHOT, > 0.1-SNAPSHOT) > -NOK - > http://localhost:7101/apps/nova-client.jar?version-id=0.1-SNAPSHOT > -OK - http://localhost:7101/apps/nova-client-0.1-SNAPSHOT.jar > > Adding <outputJarVersions>false</outputJarVersions> to my pom.xml > does not change the resulting JNLP: > > <jar href="apps/nova-client.jar" version="0.1-SNAPSHOT" main="true"/> > <jar href="apps/nova-common.jar" version="0.1-SNAPSHOT"/> > <jar href="apps/kis-client.jar" version="0.1-SNAPSHOT"/> > <jar href="apps/kis-common.jar" version="0.1-SNAPSHOT"/> > <jar href="apps/jettison.jar" version="1.1"/> > <jar href="apps/stax-api.jar" version="1.0.1"/> > <jar href="apps/DJNativeSwing.jar" version="1.0.1"/> > <jar href="apps/DJNativeSwing-SWT.jar" version="1.0.1"/> > <jar href="apps/swt-x86_s.jar" version="3.7M5-win32-win32"/> > <jar href="apps/swt-win32.jar" version="2.1.0"/> > > > Could someone please help with this issue ? > > > Andrew Goodnough-2 wrote: > > > > On Fri, Oct 23, 2009 at 12:11 PM, stevenmaring > > <[email protected]>wrote: > > > >> >> >> <jnlp spec="1.0+" codebase="$$codebase" context="$$context" > >> >> href="$$name"> > >> >> <information> > >> >> <title>Release Deployer WebStart</title> > >> >> <vendor>Name</vendor> > >> >> <homepage href="http://maven.apache.org"/> > >> >> <description>$project.Description</description> > >> >> <offline-allowed/> > >> >> </information> > >> >> <security> > >> >> <all-permissions/> > >> >> </security> > >> >> <resources> > >> >> <j2se version="1.5+"/> > >> >> <jar href="release-deployer.jar" version="1.0.0" main="true"/> > >> >> </resources> > >> >> <application-desc main-class="com.example.MyMain"/> > >> >> </jnlp> > >> >> > >> >> > >> >> Thanks, > >> >> Steve Maring > >> > > > > I can't help you with the theory about why this is failing but if > > you just want it to work... if you remove the version property from > > the jar element and reference the real jar name with the version, > > it should work. So change: > > > > <jar href="release-deployer.jar" version="1.0.0" main="true"/> > > > > to > > > > <jar href="release-deployer-1.0.0.jar" main="true"/> > > > > in your .jnlp file. > > > > Also, this will be how the JNLP will be generated if you set > > > > <outputJarVersions>false</outputJarVersions> > > > > in the jnlp section of your pom.xml. > > > > Andy > > > > > -- Tony Chemit -------------------- tél: +33 (0) 2 40 50 29 28 email: [email protected] http://www.codelutin.com --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
