Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 353514

Summary: [Builder] Builder does not work if project name contains a blank
Product: [Modeling] TMF Reporter: Christian Dietrich <christian.dietrich.opensource>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: VERIFIED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: clay, mail, sebastian.zarnekow
Version: unspecifiedFlags: sebastian.zarnekow: indigo+
Target Milestone: SR1   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Christian Dietrich CLA 2011-08-01 12:52:03 EDT
Build Identifier: 2.0.0

If your model project contains a blank the builder won't work

through
org.eclipse.xtext.builder.impl.ToBeBuiltComputer.getUri(IStorage)

the org.eclipse.xtext.builder.impl.ToBeBuiltComputer.updateStorage(IProgressMonitor, ToBeBuilt, IStorage)
adds uris with ecoded blanks (%20) to the map

org.eclipse.xtext.builder.impl.QueuedBuildData.projectNameToChangedResource

so that org.eclipse.xtext.builder.impl.QueuedBuildData.getQueue(String)
will fail since it asks with the project name (containing the blanks)

Reproducible: Always
Comment 1 Sebastian Zarnekow CLA 2011-08-03 05:58:06 EDT
I did not find the time to actually work on this.
Comment 2 Michael Clay CLA 2011-08-03 15:23:33 EDT
already fixed pls reopen if the problem still persists with 2.0.1

*** This bug has been marked as a duplicate of bug 349887 ***
Comment 3 Christian Dietrich CLA 2011-08-03 15:43:01 EDT
Successfully Retested with the latest nightly