You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/01/28 18:40:59 UTC

[jira] Updated: (MPJNLP-4) Add support for jar versions

The following issue has been updated:

    Updater: Leif Nelson (mailto:lnelson@llnl.gov)
       Date: Wed, 28 Jan 2004 12:40 PM
    Comment:
the patch file for v1.19 of plugin.jelly.
    Changes:
             Attachment changed to jnlp-plugin.jelly.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJNLP-4&page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MPJNLP-4

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJNLP-4
    Summary: Add support for jar versions
       Type: Improvement

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-jnlp-plugin

   Assignee: Emmanuel Venisse
   Reporter: Leif Nelson

    Created: Wed, 28 Jan 2004 12:39 PM
    Updated: Wed, 28 Jan 2004 12:40 PM

Description:
I have added a new feature to the maven-jnlp-plugin to allow one to specify jar versions in your .jnlp file and generate a version.xml file to map those versions to actual files, per the JNLP spec.  It would be great if you could include it into the next version of the plugin.  I've attached two files.


1)  jnlp-plugin.jelly.patch  (a patch file with the changes between version 1.19 of plugin.jelly and my modifications)
2)  plugin.jelly (the new version of the file)

The main changes were:
1)  add a property maven.jnlp.usejarversions 
2)  if that property was set, then generate entries in the jnlp file like this:
    <jar version="1.2.8" href="log4j-1.2.8.jar">
    </jar>

3)  if the property is set, it will generate a file: version.xml that looks something like this:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp-versions>
  <resource>
    <pattern>
      <name>log4j-1.2.8.jar</name>
      <version-id>1.2.8</version-id>
    </pattern>
    <file>log4j-1.2.8.jar</file>
  </resource>
</jnlp-versions>



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org