Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file manager should handle file/folder exists with different case error #214

Open
abelhegedus opened this issue Jul 31, 2015 · 2 comments
Open

Comments

@abelhegedus
Copy link
Member

The following error occurs when a directory with different case already exists (e.g. UML model name is model and changed to Model):

Caused by: org.eclipse.core.internal.resources.ResourceException: A resource exists with a different case: '/com.ericsson.emdw.cpp.generated.code.model/src/Model'.
    at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:322)
    at org.eclipse.core.internal.resources.Resource.checkDoesNotExist(Resource.java:300)
    at org.eclipse.core.internal.resources.Folder.assertCreateRequirements(Folder.java:30)
    at org.eclipse.core.internal.resources.Folder.create(Folder.java:93)
    at com.incquerylabs.emdw.cpp.codegeneration.fsa.impl.EclipseWorkspaceFileManager.createFolder(EclipseWorkspaceFileManager.java:73)
    at com.incquerylabs.emdw.cpp.codegeneration.fsa.impl.EclipseWorkspaceFileManager.performDirectoryCreation(EclipseWorkspaceFileManager.java:87)
    at com.incquerylabs.emdw.cpp.codegeneration.fsa.FileManager.createDirectory(FileManager.java:412)
@abelhegedus
Copy link
Member Author

This problem occurs when the root directory that is used by the file synchronization exists under a different case. Currently this only happens with the UML Model object.

@abelhegedus abelhegedus modified the milestones: Future, August-2015 Aug 24, 2015
@doczir
Copy link
Contributor

doczir commented Oct 29, 2015

Solving #462 would solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants