Bug 175035 - [Cleanup] Space in project name prevents auto syncronization of GMF & EMF models
Summary: [Cleanup] Space in project name prevents auto syncronization of GMF & EMF models
Status: NEW
Alias: None
Product: GMF-Runtime
Classification: Modeling
Component: General (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P3 normal
Target Milestone: 2.1   Edit
Assignee: Anthony Hunter CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-21 15:39 EST by John Yotka CLA
Modified: 2010-07-19 21:55 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John Yotka CLA 2007-02-21 15:39:25 EST
Build ID: I20061214-1445

Steps To Reproduce:
1.create a GMF diagram editor and corresponding EMF editor
2.create a run-time project with a space in the name and create a sample EMF model and corresponding diagram
3.when changing and saving either the EMF model or the diagram the other is not automatically updated.  If you remove the space from the project name the syncronization works fine.


More information:
The problem is in the "visit" method of the ResourceDeltaVisitor class.  The line 

Resource resource = myInfo.getResourceSet().getResource(URI.createURI(delta.getFullPath(.toString()), false); 

returns null because "delta.getFullPath(.toString())" returns the path unescaped.
Comment 1 Eclipse Webmaster CLA 2010-07-19 21:55:23 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Runtime Common was the original product and component for this bug