Maven 1.x Eclipse Plugin
  1. Maven 1.x Eclipse Plugin
  2. MPECLIPSE-51

Bad .classpath generated if a test resource matches the source dir (and vice-versa)

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.9
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The classpath templates avoid duplicated entries by checking if a resource dir doesn't conflict with the source dir:

      <j:if test="$

      {!resourceDirectory.equals(srcDir)}

      ">
      <classpathentry kind="src" path="$

      {resourceDirectory}

      " including="$

      {includingAsString}

      " excluding="$

      {excludingAsString}

      " />
      </j:if>

      But the test above doesn't catch the situation where a test resource uses the source dir (and vice versa).

      I will fix it...

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Felipe Leme
            Reporter:
            Felipe Leme
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

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