Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 1.9
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      All
    • Number of attachments :
      0

      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="$

      {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

        Activity

        Hide
        Michael Osipov added a comment -

        Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

        Show
        Michael Osipov added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          People

          • Assignee:
            Unassigned
            Reporter:
            Guido Schreuder
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 5 minutes
              5m
              Remaining:
              Remaining Estimate - 5 minutes
              5m
              Logged:
              Time Spent - Not Specified
              Not Specified