|
Re: [Xcore] Bug? import ecore.EcorePackage; is generate is *PackageImpl [message #949741 is a reply to message #949725] |
Fri, 19 October 2012 08:41 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hugo,<br>
<br>
Comments below.<br>
<br>
<div class="moz-cite-prefix">On 19/10/2012 10:18 AM, Hugo A. Garcia
wrote:<br>
</div>
<blockquote cite="mid:k5r2dh$e3k$1@xxxxxxxxe.org" type="cite">Hi
<br>
<br>
I think something changed in the last release of the platform. If
I have an Xcore metamodel which ¨refers¨ to an Xtext metamodel
then when a clean is performed, this line of code appears in the
*PackageImpl.:
<br>
<br>
import ecore.EcorePackage;
<br>
</blockquote>
Hmmm. Like a version of Ecore where the GenPackage doesn't have the
basePackage properly set.<br>
<blockquote cite="mid:k5r2dh$e3k$1@xxxxxxxxe.org" type="cite">
<br>
Has anyone encountered this problem?</blockquote>
No, but there are definitely issues with how Xtext persists their
models as well as their tendency to put them in the src folder
rather than in the models folder.<br>
<blockquote cite="mid:k5r2dh$e3k$1@xxxxxxxxe.org" type="cite"> At
the moemnt the solution is to not use the generated metamodel from
XText and to split the functionality into one Xcore project with
my metamodel and a separate Xtext editor for the my Xcore
metamodel.
<br>
</blockquote>
Please open a bugzilla with a simple test case that I can use to
reproduce the problem. In general there are problems with models
that contain cross project references which are fixed the following
bugzilla which is awaiting review:<br>
<blockquote><a class="moz-txt-link-freetext" href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=390411">https://bugs.eclipse.org/bugs/show_bug.cgi?id=390411</a><br>
</blockquote>
There are also issues with Xtext's GenModels and Ecore models
containing absolute platform:/resource references where they
"should" contain relative references so they can be properly
resolved to other installed bundles...<br>
<blockquote cite="mid:k5r2dh$e3k$1@xxxxxxxxe.org" type="cite">
<br>
-H
<br>
</blockquote>
<br>
</body>
</html>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.04503 seconds