[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.m2m] Re: [ATL] problem while saving output model

I have filled in Bug 288284 for it.


It sounds strange to mee too. I tried to reproduce the error you get but even if the path is wrong, I get a "Resource '<path>' does not exist." instead of your FileNotFoundException (i.e. "No such file or directory").

But from the code of the extractor my error message it's very obviously, in my local root file system is no folder with a name like this project, I even have no right to write in my root file system (I'm working on Unix).


....
			} else if (target.startsWith("platform:/resource")) { //$NON-NLS-1$
				modelWrapper.getModelLoader().save(asmModel,
						URI.createFileURI(target.substring(18)).toString());
			}
....

I interpret the code as following if target is eg. "platform:/resource/myProject/my.file", it tries to save he model to "/myProject/my.file" in my local file system, and of course in my file system is no directory myProject, but what I want is to save the model in the workspace the normal and expected behavior.

greetings, urs.