Issue Details (XML | Word | Printable)

Key: MPECLIPSE-96
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: fabrizio giustina
Reporter: Martin Burger
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Maven 1.x Eclipse Plugin

classpathentry contains trailing pipe character that confuses Eclipse 3.1

Created: 29/Jul/05 11:32 AM   Updated: 09/Oct/05 11:56 AM   Resolved: 09/Oct/05 11:56 AM
Return to search
Component/s: None
Affects Version/s: 1.9
Fix Version/s: 1.10

Time Tracking:
Not Specified

Environment: Windows XP SP2, Eclipse 3.1, Maven 1.1-beta-1


 Description  « Hide

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



Martin Burger added a comment - 01/Sep/05 02:28 AM

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.


fabrizio giustina added a comment - 09/Oct/05 11:56 AM

Fixed in svn for 1.10, thanks