You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org> on 2005/07/04 14:01:14 UTC

[jira] Closed: (MNG-551) Allow adding classpath prefix to manifest Classpath [patch included]

     [ http://jira.codehaus.org/browse/MNG-551?page=all ]
     
Emmanuel Venisse closed MNG-551:
--------------------------------

     Resolution: Fixed
    Fix Version: 2.0-beta-1

Applied with modification. Thanks.

> Allow adding classpath prefix to manifest Classpath [patch included]
> --------------------------------------------------------------------
>
>          Key: MNG-551
>          URL: http://jira.codehaus.org/browse/MNG-551
>      Project: Maven 2
>         Type: Improvement
>   Components: maven-archiver
>     Reporter: Kenney Westerhof
>     Priority: Minor
>      Fix For: 2.0-beta-1
>  Attachments: archiver-classpath.patch
>
> Original Estimate: 5 minutes
>         Remaining: 5 minutes
>
> Attached patch adds a 'classpathPrefix' property to the ManifestConfiguration
> so you can specify a prefix for each classpath element.
> Example:
> ... 
>   <configuration>
>     <archive>
>       <manifest>
>         <addClasspath>true</addClasspath>
>         <classpathPrefix>lib</classpathPrefix>
> ......
> Now you can build an assembly where your dependent jars are not in the same directory as the
> executable jar.
> Use case: a program that is distributed as an self-executable jar (no startup scripts) in the program root
> can now have it's dependant jars in a lib/ directory, so there's no confusion to the user about which
> jar to start. It also eliminates the need for platform specific startup scripts.

-- 
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, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org