Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 329800 - [Move to EMF Facet][Query] Error with projects with white space in their name
Summary: [Move to EMF Facet][Query] Error with projects with white space in their name
Status: NEW
Alias: None
Product: MoDisco
Classification: Modeling
Component: Infrastructure (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Windows XP
: P5 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-09 09:58 EST by Nicolas Guyomar CLA
Modified: 2011-09-28 07:39 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Guyomar CLA 2010-11-09 09:58:34 EST
Hi,

While using "Create Java Query Implementation Class" contextual action on a Java query I've got a Java Model Exception saying that my project does not exit.

Here is a piece of the stack trace : 
Java Model Exception: Java Model Status [Mia-Insight%20Custo does not exist]
at org.eclipse.jdt.internal.core.JavaElement.newJavaModelException(JavaElement.java:502)
at org.eclipse.jdt.internal.core.Openable.generateInfos(Openable.java:246)
at org.eclipse.jdt.internal.core.JavaElement.openWhenClosed(JavaElement.java:515)
....

My project name is "Mia-Insight Custo"

A best practice is not to include white space in a project's name, but nothing prevents the user from doing it so this should be managed.

Regards

Nicolas
Comment 1 Gregoire Dupe CLA 2010-11-10 08:48:03 EST
May have to be solved by EMF Facet => P4
Comment 2 Gregoire Dupe CLA 2011-09-28 07:39:13 EDT
We will switch to EMF Facet before to try to solve such bugs. => P5