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

Reply via email to