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
Fix For: 1.10
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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]