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

classpathentry contains trailing pipe character that confuses Eclipse 3.1

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.10
    • Labels:
      None
    • Environment:
      Windows XP SP2, Eclipse 3.1, Maven 1.1-beta-1
    • Number of attachments :
      0

      Description

      The generated .classpath file contains an error if project.xml contains

      <build>
      <resources>
      <resource>
      <directory>$

      {basedir}

      </directory>
      <includes>
      <include>plugin.jelly</include>
      <include>plugin.properties</include>
      <include>project.properties</include>
      <include>project.xml</include>
      </includes>
      </resource>
      </resources>
      </build>

      The classpathentry that should include the files contains a trailing pipe character in attribute 'including':

      <classpathentry excluding="" including="plugin.jelly|plugin.properties|project.properties|project.xml|" kind="src" path="."></classpathentry>

      That trailing pipe character confuses Eclipse 3.1. See Bug 105581 in Eclipse's Bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=105581

        Activity

        Hide
        Martin Burger added a comment -

        Bug 105581 (https://bugs.eclipse.org/bugs/show_bug.cgi?id=105581#c4) is fixed in Eclipse 3.2. But in the meantime this Bug here should be fixed, I think.

        Show
        Martin Burger added a comment - Bug 105581 ( https://bugs.eclipse.org/bugs/show_bug.cgi?id=105581#c4 ) is fixed in Eclipse 3.2. But in the meantime this Bug here should be fixed, I think.
        Hide
        fabrizio giustina added a comment -

        Fixed in svn for 1.10, thanks

        Show
        fabrizio giustina added a comment - Fixed in svn for 1.10, thanks

          People

          • Assignee:
            fabrizio giustina
            Reporter:
            Martin Burger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: