Details

    • Type: Improvement Improvement
    • Status: Open Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • 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

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:

              Time Tracking

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