Hi Henri! This version.xml (located in the jnlp-Directory) is used to find the corresponding jar file. If the download servlet is configured correct this should work (I'm not sure because I created my own version of the download servlet...).
Hope this helps. Cheers Andi -----Original Message----- From: Henri Pihkala [mailto:he...@metsapolku.fi] Sent: Dienstag, 10. Mai 2011 11:19 To: user@mojo.codehaus.org Subject: [mojo-user] webstart: Invalid href in generated jnlp file Hi! I'm using the maven webstart plugin to package my app into a war file and generate the jnlp file. I'm using the $dependencies tag in the Velocity template, but the results are invalid. The hrefs are wrong for the jar files. This is what I'm getting: (in the .jnlp file): .. <resources> .. <jar href="commons-logging.jar" version="1.1.1"/> .. </resources> .. However, the actual file name in the webstart dir within the war file is (continuing with the same example): commons-logging-1.1.1.jar Anyone having the same problem? How can I change this behaviour? I'm using Maven 3. I can currently work around this by manually entering the correct filenames into the Velocity template (and removing the $dependencies), but I would very much like to get the information to be generated, as I don't want to update the template every time a library version changes. Best regards, Henri Pihkala --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email