Using custom xcore model in another [message #1821010] |
Tue, 04 February 2020 09:08  |
Eclipse User |
|
|
|
Hello all,
I have the issue to run the EMF generated editor, when I used an already defined xcore in a new xcore model. I cannot create a model instance in the editor. I am not able to create a new model via the EMF Model Wizard. The following error message is popup after I clicked on finish
java.io.FileNotFoundException: Test.model(The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
The first xcore model
package test.model
class ModelContainer{
contains Bean[0..*] beans
}
class Bean{
String name
}
The second xcore model
package test.ui
class Project{
refers Bean[0..*] beans
}
What is wrong on this place?
Best regards
Dimg
[Updated on: Tue, 04 February 2020 09:11] by Moderator
|
|
|
Re: Using custom xcore model in another [message #1821059 is a reply to message #1821010] |
Tue, 04 February 2020 22:56  |
Eclipse User |
|
|
|
Perhaps there was an earlier exception? This one looks pretty basic, i.e., Test.model not found. It's not even an absolute path, so how is it actually being loaded? The wizard itself only loads using an absolute URI... The debugger will no doubt help you track the problem down faster than asking here, but if you ask here, include the full stack trace and make sure it's the first one that's logged, i.e., if the file failed to save, then yes, later it will fail to load...
|
|
|
Powered by
FUDForum. Page generated in 0.05838 seconds