Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » AbstractEmfModel#store exception due to unmapped path
AbstractEmfModel#store exception due to unmapped path [message #565901] Tue, 10 March 2009 16:45
Louis Rose is currently offline Louis Rose
Messages: 440
Registered: July 2009
Location: York, United Kingdom
Senior Member
Hi,

When using AbstractEmfModel#store, I receive an IOException due to an
unmapped path.

I'm running Epsilon from source, and calling store from a runtime
workspace. Here's my code:

http://pastie.org/412896

save is the name of my project, and test.model is the resource that I
would like to be written.

I receive the following stack trace:

java.io.IOException: The path '/save/out.model' is unmapped
at
org.eclipse.emf.ecore.resource.impl.PlatformResourceURIHandl erImpl.createOutputStream(PlatformResourceURIHandlerImpl.jav a:424)
at
org.eclipse.emf.ecore.resource.impl.ExtensibleURIConverterIm pl.createOutputStream(ExtensibleURIConverterImpl.java:290)
at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.save(Resour ceImpl.java:983)
at
org.eclipse.epsilon.emc.emf.AbstractEmfModel.store(AbstractE mfModel.java:464)
at save.Test.main(Test.java:16)


Is the filename passed to store wrong?

Cheers,
Louis.

----
Louis Rose
Research Student
Department of Computer Science,
University of York,
Heslington, York, YO10 5DD, United Kingdom.
+44 1904 434762
Twitter: @louisrose
Previous Topic:Clarification needed re. icon paths
Next Topic:Re: Epsilon Tools
Goto Forum:
  


Current Time: Tue Sep 23 10:32:38 GMT 2014

Powered by FUDForum. Page generated in 0.13565 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software