You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "fabrizio giustina (JIRA)" <ji...@codehaus.org> on 2005/11/26 16:28:25 UTC

[jira] Updated: (MPECLIPSE-88) allow relative paths for overriden jars

     [ http://jira.codehaus.org/browse/MPECLIPSE-88?page=all ]

fabrizio giustina updated MPECLIPSE-88:
---------------------------------------

    Fix Version:     (was: 1.10)

> allow relative paths for overriden jars
> ---------------------------------------
>
>          Key: MPECLIPSE-88
>          URL: http://jira.codehaus.org/browse/MPECLIPSE-88
>      Project: maven-eclipse-plugin
>         Type: Improvement
>     Versions: 1.9
>  Environment: All
>     Reporter: Guido Schreuder
>     Priority: Trivial

>
> Original Estimate: 5 minutes
>         Remaining: 5 minutes
>
> Please consider the following;
> A very small change will allow for jars to be kept inside your project folders
> without hardcoded paths ending up in your Eclipse .classpath file.
> Excuse me for the format, but i've no diff available at the moment
> in file templates/classpath.jelly, near the end change the following
> Old: 
>             <j:otherwise>
>               <classpathentry kind="lib" path="${lib.path}"/>
>             </j:otherwise>
> New:
>             <j:otherwise>
>               <maven:makeRelativePath var="localJarPath" basedir="${basedir}" path="${lib.path}" separator="/"/>
>               <classpathentry kind="lib" path="${localJarPath}"/>
>             </j:otherwise>
> <maven:makeRelativePath> will leave the path as it is not relative to "basedir"
> kind regards,
> Guido

-- 
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