Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Trivial
-
Resolution: Unresolved
-
Affects Version/s: 1.9
-
Fix Version/s: None
-
Labels:None
-
Environment:All
-
Number of attachments :
Description
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="$
</j:otherwise>
New:
<j:otherwise>
<maven:makeRelativePath var="localJarPath" basedir="${basedir}" path="${lib.path}
" separator="/"/>
<classpathentry kind="lib" path="$
"/>
</j:otherwise>
<maven:makeRelativePath> will leave the path as it is not relative to "basedir"
kind regards,
Guido