Home » Modeling » EMF » [Xcore](Receive an error while attempting to export a .Xcore file from a .genmodel similar to the tutorial)
| |
Re: [Xcore] [message #997650 is a reply to message #997649] |
Mon, 07 January 2013 07:58 |
Ed Merks Messages: 33148 Registered: July 2009 |
Senior Member |
|
|
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I tracked the problem down to the fact that the URI mappings need to
load the Ecore/GenModels mess up the Xcore serializer, i.e., the
serializer normalizes URIs and then can't find them in the Xtext
index, which is based on unnormalized logical platform:/resource
URIs. Please open a bugzilla and I'll commit the fix.<br>
<br>
<br>
<div class="moz-cite-prefix">On 07/01/2013 7:30 AM, Ed Merks wrote:<br>
</div>
<blockquote cite="mid:kcdq2c$8dv$1@xxxxxxxxe.org" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
I noticed this too and fixed it with <br>
<blockquote><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=392432#c2">https://bugs.eclipse.org/bugs/show_bug.cgi?id=392432#c2</a><br>
</blockquote>
Or at least I thought I did, but it looks like you have a build
that would contain this fix, so I need to try to reproduce your
problem... Unfortunately the behavior in my development
environment (in a host Eclipse IDE where Xcore is in the hosting
workspace) is significantly different from it is in an actual
install. :-(<br>
<br>
Please open a bugzilla and I'll look at it today...<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/01/2013 6:33 PM, PD Counts
wrote:<br>
</div>
<blockquote cite="mid:kccch9$rfs$1@xxxxxxxxe.org" type="cite">Request:
Could somebody please give me some guidance on what I am doing
wrong? <br>
<br>
Thanks, <br>
PD <br>
<br>
Problem: Receive an error while attempting to export a .Xcore
file from a .genmodel, similar to the tutorial--step #7.
Converting a GenModel to an Xcore Model <br>
<br>
------- <br>
Environment: <br>
Clean install of Eclipse Classis 4.2.1 <br>
Added <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://download.eclipse.org/modeling/emf/emf/updates/nightly/">http://download.eclipse.org/modeling/emf/emf/updates/nightly/</a>
and
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/">http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/</a>
<br>
as Available Software Sites <br>
<br>
Then selected 'EMF Xcore' (and only this) for installation (
version: 1.1.0.v20130104-2029) <br>
------- <br>
Attempts <br>
I have tried several different genmodels(uma.genmode from
org.eclipse.epf project , JavaVMTypes.genmodel from Xtext
project) and receive the following error: <br>
<br>
In a Problem Occurred message box <br>
<br>
'Save' has encountered a problem <br>
An internal error has occurred during: "Save". <br>
<br>
An internal error occurred during: "Save". <br>
No EObjectDescription could be found in Scope XAnnotation.source
for
XPackage'xcore.lang'.annotationDirectives[0]->XAnnotationDirective'Ecore'<br>
Semantic Object:
XPackage'org.eclipse.epf.xml.uma'.annotations[0]->XAnnotation
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: [Xcore] [message #997657 is a reply to message #997650] |
Mon, 07 January 2013 19:58 |
Ed Merks Messages: 33148 Registered: July 2009 |
Senior Member |
|
|
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I committed the fix to
<a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=397592">https://bugs.eclipse.org/bugs/show_bug.cgi?id=397592</a><br>
<br>
<div class="moz-cite-prefix">On 07/01/2013 8:58 AM, Ed Merks wrote:<br>
</div>
<blockquote cite="mid:kcdv6d$9tq$1@xxxxxxxxe.org" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
I tracked the problem down to the fact that the URI mappings need
to load the Ecore/GenModels mess up the Xcore serializer, i.e.,
the serializer normalizes URIs and then can't find them in the
Xtext index, which is based on unnormalized logical
platform:/resource URIs. Please open a bugzilla and I'll commit
the fix.<br>
<br>
<br>
<div class="moz-cite-prefix">On 07/01/2013 7:30 AM, Ed Merks
wrote:<br>
</div>
<blockquote cite="mid:kcdq2c$8dv$1@xxxxxxxxe.org" type="cite">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
I noticed this too and fixed it with <br>
<blockquote><a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=392432#c2">https://bugs.eclipse.org/bugs/show_bug.cgi?id=392432#c2</a><br>
</blockquote>
Or at least I thought I did, but it looks like you have a build
that would contain this fix, so I need to try to reproduce your
problem... Unfortunately the behavior in my development
environment (in a host Eclipse IDE where Xcore is in the hosting
workspace) is significantly different from it is in an actual
install. :-(<br>
<br>
Please open a bugzilla and I'll look at it today...<br>
<br>
<br>
<div class="moz-cite-prefix">On 06/01/2013 6:33 PM, PD Counts
wrote:<br>
</div>
<blockquote cite="mid:kccch9$rfs$1@xxxxxxxxe.org" type="cite">Request:
Could somebody please give me some guidance on what I am doing
wrong? <br>
<br>
Thanks, <br>
PD <br>
<br>
Problem: Receive an error while attempting to export a .Xcore
file from a .genmodel, similar to the tutorial--step #7.
Converting a GenModel to an Xcore Model <br>
<br>
------- <br>
Environment: <br>
Clean install of Eclipse Classis 4.2.1 <br>
Added <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://download.eclipse.org/modeling/emf/emf/updates/nightly/">http://download.eclipse.org/modeling/emf/emf/updates/nightly/</a>
and <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/">http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/</a>
<br>
as Available Software Sites <br>
<br>
Then selected 'EMF Xcore' (and only this) for installation
( version: 1.1.0.v20130104-2029) <br>
------- <br>
Attempts <br>
I have tried several different genmodels(uma.genmode from
org.eclipse.epf project , JavaVMTypes.genmodel from Xtext
project) and receive the following error: <br>
<br>
In a Problem Occurred message box <br>
<br>
'Save' has encountered a problem <br>
An internal error has occurred during: "Save". <br>
<br>
An internal error occurred during: "Save". <br>
No EObjectDescription could be found in Scope
XAnnotation.source for
XPackage'xcore.lang'.annotationDirectives[0]->XAnnotationDirective'Ecore'<br>
Semantic Object:
XPackage'org.eclipse.epf.xml.uma'.annotations[0]->XAnnotation
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| | |
Re: [Xcore] [message #998539 is a reply to message #998408] |
Thu, 10 January 2013 07:43 |
Ed Merks Messages: 33148 Registered: July 2009 |
Senior Member |
|
|
PD,
Yes, I'm able to reproduce that install from those sites. I'll
investigate further...
On 10/01/2013 12:34 AM, PD Counts wrote:
> Ed,
>
> Unfortunately, when I re-tried converting a .genmodel to .xcore, it
> still did not work.
>
> I used the same procedure for testing as initially used; the only
> difference being the 'EMF Xcore' is Version 1.1.0v20130108-1343.
>
> Is it possible that by using the nightly build I am not picking up the
> fix committed to the master?
>
> Is there something else I can try/do?
>
> Thanks,
> PD
>
> Problem: Receive an error while attempting to export a .Xcore file
> from a .genmodel, similar to the tutorial--step #7. Converting a
> GenModel to an Xcore Model
>
> -------
> Environment:
> Clean install of Eclipse Classis 4.2.1
> Added http://download.eclipse.org/modeling/emf/emf/updates/nightly/
> and
> http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/
> as Available Software Sites
>
> Then selected 'EMF Xcore' (and only this) for installation ( version:
> 1.1.0.v20130104-2029)
> -------
> Attempts
> I have tried several different genmodels(uma.genmode from
> org.eclipse.epf project , JavaVMTypes.genmodel from Xtext project) and
> receive the following error:
>
> In a Problem Occurred message box
>
> 'Save' has encountered a problem
> An internal error has occurred during: "Save".
>
> An internal error occurred during: "Save".
> No EObjectDescription could be found in Scope XAnnotation.source for
> XPackage'xcore.lang'.annotationDirectives[0]->XAnnotationDirective'Ecore'
> Semantic Object:
> XPackage'org.eclipse.epf.xml.uma'.annotations[0]->XAnnotation
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: [Xcore] [message #998550 is a reply to message #998539] |
Thu, 10 January 2013 08:10 |
Ed Merks Messages: 33148 Registered: July 2009 |
Senior Member |
|
|
Oops, I missed one line (the most important one!) copying the code from
my test environment to my development environment:
http://git.eclipse.org/c/emf/org.eclipse.emf.git/commit/?id=c6d19fb5092baa0fc0b3ba0cf16ded1bf8b2a058
That's committed now so the next build will really contain the fix. Sorry.
On 10/01/2013 8:43 AM, Ed Merks wrote:
> PD,
>
> Yes, I'm able to reproduce that install from those sites. I'll
> investigate further...
>
>
> On 10/01/2013 12:34 AM, PD Counts wrote:
>> Ed,
>>
>> Unfortunately, when I re-tried converting a .genmodel to .xcore, it
>> still did not work.
>>
>> I used the same procedure for testing as initially used; the only
>> difference being the 'EMF Xcore' is Version 1.1.0v20130108-1343.
>>
>> Is it possible that by using the nightly build I am not picking up
>> the fix committed to the master?
>>
>> Is there something else I can try/do?
>>
>> Thanks,
>> PD
>>
>> Problem: Receive an error while attempting to export a .Xcore file
>> from a .genmodel, similar to the tutorial--step #7. Converting a
>> GenModel to an Xcore Model
>>
>> -------
>> Environment:
>> Clean install of Eclipse Classis 4.2.1
>> Added http://download.eclipse.org/modeling/emf/emf/updates/nightly/
>> and
>> http://download.eclipse.org/modeling/tmf/xtext/updates/composite/nightly/
>> as Available Software Sites
>>
>> Then selected 'EMF Xcore' (and only this) for installation ( version:
>> 1.1.0.v20130104-2029)
>> -------
>> Attempts
>> I have tried several different genmodels(uma.genmode from
>> org.eclipse.epf project , JavaVMTypes.genmodel from Xtext project)
>> and receive the following error:
>>
>> In a Problem Occurred message box
>>
>> 'Save' has encountered a problem
>> An internal error has occurred during: "Save".
>>
>> An internal error occurred during: "Save".
>> No EObjectDescription could be found in Scope XAnnotation.source for
>> XPackage'xcore.lang'.annotationDirectives[0]->XAnnotationDirective'Ecore'
>> Semantic Object:
>> XPackage'org.eclipse.epf.xml.uma'.annotations[0]->XAnnotation
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| |
Re: [Xcore] [message #1489812 is a reply to message #1489339] |
Thu, 27 November 2014 18:00 |
Ed Merks Messages: 33148 Registered: July 2009 |
Senior Member |
|
|
Jesper,
Is the library in your target platform. Has it been added to your
MANIFEST.MF? Does it show as resolved? If you try a second time, does
that work?
On 27/11/2014 10:33 AM, Jesper Eskilson wrote:
> I'm still seeing this exact problem with Xcore 1.2.1.v20141013-0331 .
> I'm running Eclipse Luna, if that matters.
>
> I'm not sure I fully understand the explanation about the problem, but
> I'd be happy to provide more feedback if necessary.
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Goto Forum:
Current Time: Sun May 19 14:20:26 GMT 2024
Powered by FUDForum. Page generated in 0.04244 seconds
|