|
|
|
Re: [XCORE] Ecore.ecore inside the workspace with a relative path [message #1276424 is a reply to message #1276250] |
Mon, 24 March 2014 14:46 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
It's not a bug. As long as the tool processing the model invokes
resourceSet.getURIConverter().getURIMap().putAll(EcorePlugin.computePlatformURIMap(true));
it will properly find Ecore.ecore...
On 24/03/2014 2:47 AM, Jan Reimann wrote:
> Hi Simone,
> some time ago I recognized the same problem concerning the IncQuery
> project which uses Xcore, too:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=401552
>
> Maybe you can create another bug report since it's a general problem
> from Xtext/Xcore (I don't know exactly)?
>
> cheers,
> Jan
>
> Simone Di Cola wrote:
>> Hi all,
>> everytime I relaod the genmodel file, it generates the ecore out of the
>> xcore file in this way:
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>> unique="false" eType="ecore:EDataType
>> ../../org.eclipse.emf.ecore/model/Ecore.ecore#//EString"/>
>>
>> In practice, It tries to resolve Ecore.ecore inside the workspace with a
>> relative path instead of doing this with the Package URI like this:
>>
>> <eStructuralFeatures xsi:type="ecore:EAttribute" name="name"
>> eType="ecore:EDataType
>> http://www.eclipse.org/emf/2002/Ecore#//EString"/>
>>
>> Is there any way to fix this behavior?
>>
>> Thanks
>> Simone
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.01440 seconds