problem with UML2.ecore file [message #477765] |
Mon, 29 September 2008 13:20 |
Eclipse User |
|
|
|
Originally posted by: jihed.touzi.enstimac.fr
Hi to all;
I'm working into a transformation that starts from a stereotyped UML2
model to genrate another DSL.
It works fine when in the metamodel field in the configuration panel i
specify it using NS URI: uri:http://www.eclipse.org/uml2/2.0.0/UML or
uri:http://www.eclipse.org/uml2/2.1.0/UML
The problem is when i use the physical UML2.ecore file of the same
version it doesn't works.
I obtain at first warnings like that:
ATTENTION: metamodel contains several classifiers with same name: EAttribute
ATTENTION: metamodel contains several classifiers with same name:
ecore::EAttribute
ATTENTION: metamodel contains several classifiers with same name:
EAnnotation
ATTENTION: metamodel contains several classifiers with same name:
ecore::EAnnotation
ATTENTION: metamodel contains several classifiers with same name: EClass
ATTENTION: metamodel contains several classifiers with same name:
ecore::EClass
and errors like that :
GRAVE: message: ERROR: could not find operation
getAppliedStereotypes on UML2!Class having supertypes:
[UML2!BehavioredClassifier, UML2!EncapsulatedClassifier, OclType,
OclAny] (including Java operations)
and
GRAVE: message: ERROR: could not find operation not on
Sequence(OclAny) having supertypes: [Collection(OclAny)]
Normally the UML2 file and the NsURI option have to do the same
tranformation.
Some one can help me ??
Thank you much.
Jihed
|
|
|
|
Re: problem with UML2.ecore file [message #477771 is a reply to message #477766] |
Wed, 01 October 2008 11:21 |
Eclipse User |
|
|
|
Originally posted by: jihed.touzi.enstimac.fr
Hi james
the uml model is obtained using an atl transformation. the UML2
metamodel (specified using NS URI)is used.
The version is 2.0.0.
James Bruck a écrit :
> Hi Jihed,
>
> There may be issues in the original "stereotyped UML2 model". Where
> exactly is this model coming from?
>
> What version of UML2 are you using?
>
> - James.
>
>
> "jihed touzi" <jihed.touzi@enstimac.fr> wrote in message
> news:gbqknv$t7p$2@build.eclipse.org...
>> Hi to all;
>> I'm working into a transformation that starts from a stereotyped UML2
>> model to genrate another DSL.
>> It works fine when in the metamodel field in the configuration panel i
>> specify it using NS URI: uri:http://www.eclipse.org/uml2/2.0.0/UML or
>> uri:http://www.eclipse.org/uml2/2.1.0/UML
>>
>> The problem is when i use the physical UML2.ecore file of the same version
>> it doesn't works.
>>
>> I obtain at first warnings like that:
>> ATTENTION: metamodel contains several classifiers with same name:
>> EAttribute
>> ATTENTION: metamodel contains several classifiers with same name:
>> ecore::EAttribute
>> ATTENTION: metamodel contains several classifiers with same name:
>> EAnnotation
>> ATTENTION: metamodel contains several classifiers with same name:
>> ecore::EAnnotation
>> ATTENTION: metamodel contains several classifiers with same name: EClass
>> ATTENTION: metamodel contains several classifiers with same name:
>> ecore::EClass
>>
>>
>> and errors like that :
>>
>> GRAVE: message: ERROR: could not find operation getAppliedStereotypes
>> on UML2!Class having supertypes: [UML2!BehavioredClassifier,
>> UML2!EncapsulatedClassifier, OclType, OclAny] (including Java operations)
>> and
>>
>> GRAVE: message: ERROR: could not find operation not on
>> Sequence(OclAny) having supertypes: [Collection(OclAny)]
>>
>> Normally the UML2 file and the NsURI option have to do the same
>> tranformation.
>>
>> Some one can help me ??
>> Thank you much.
>>
>> Jihed
>
>
|
|
|
|
|
Re: problem with UML2.ecore file [message #626969 is a reply to message #477766] |
Wed, 01 October 2008 11:21 |
Eclipse User |
|
|
|
Originally posted by: jihed.touzi.enstimac.fr
Hi james
the uml model is obtained using an atl transformation. the UML2
metamodel (specified using NS URI)is used.
The version is 2.0.0.
James Bruck a écrit :
> Hi Jihed,
>
> There may be issues in the original "stereotyped UML2 model". Where
> exactly is this model coming from?
>
> What version of UML2 are you using?
>
> - James.
>
>
> "jihed touzi" <jihed.touzi@enstimac.fr> wrote in message
> news:gbqknv$t7p$2@build.eclipse.org...
>> Hi to all;
>> I'm working into a transformation that starts from a stereotyped UML2
>> model to genrate another DSL.
>> It works fine when in the metamodel field in the configuration panel i
>> specify it using NS URI: uri:http://www.eclipse.org/uml2/2.0.0/UML or
>> uri:http://www.eclipse.org/uml2/2.1.0/UML
>>
>> The problem is when i use the physical UML2.ecore file of the same version
>> it doesn't works.
>>
>> I obtain at first warnings like that:
>> ATTENTION: metamodel contains several classifiers with same name:
>> EAttribute
>> ATTENTION: metamodel contains several classifiers with same name:
>> ecore::EAttribute
>> ATTENTION: metamodel contains several classifiers with same name:
>> EAnnotation
>> ATTENTION: metamodel contains several classifiers with same name:
>> ecore::EAnnotation
>> ATTENTION: metamodel contains several classifiers with same name: EClass
>> ATTENTION: metamodel contains several classifiers with same name:
>> ecore::EClass
>>
>>
>> and errors like that :
>>
>> GRAVE: message: ERROR: could not find operation getAppliedStereotypes
>> on UML2!Class having supertypes: [UML2!BehavioredClassifier,
>> UML2!EncapsulatedClassifier, OclType, OclAny] (including Java operations)
>> and
>>
>> GRAVE: message: ERROR: could not find operation not on
>> Sequence(OclAny) having supertypes: [Collection(OclAny)]
>>
>> Normally the UML2 file and the NsURI option have to do the same
>> tranformation.
>>
>> Some one can help me ??
>> Thank you much.
>>
>> Jihed
>
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03629 seconds