Home » Archived » GMT (Generative Modeling Technologies) » [TCS] About MetaModels used for injection
[TCS] About MetaModels used for injection [message #376877] |
Tue, 24 April 2007 14:02  |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
Hi everybody,
Do you know if it is possible to get an injector through TCS with a
metamodel conforming to Ecore rather than MOF ?
This questions came to me after a try during which:
- I grabbed an ecore metamodel
- injected it in KM3 (notifications of "recursive contexts")
- simplified it to fix this "recursive contexts" problem
- renamed the "Ecore" package into "PrimitiveTypes"
- and finally, wrote the corresponding TCS file
After a successful build, the injection process complains about a
"ClassNotFoundException" (which have led me to think about the
metametamodel conformance).
Additionally, as in the future I shall not simplify the base metamodel
(as it is a pillar of the project), I wonder wether a "recursive
contexts" problem could inpact on the injector and if so, how to solve
the problem. If anybody knows, answers will be much appreciated.
Thanks a lot,
Quentin
|
|
|
Re: [TCS] About MetaModels used for injection [message #376909 is a reply to message #376877] |
Wed, 25 April 2007 11:25   |
Eclipse User |
|
|
|
Hi Quentin,
Did you update the "lexer name" in the following line of your TCS file:
"class MyTCSLexer extends Lexer;"?
If it is not the problem, could you send me your stacktrace error?
Regards,
Freddy.
Quentin Glineur a écrit :
> Hi everybody,
>
> Do you know if it is possible to get an injector through TCS with a
> metamodel conforming to Ecore rather than MOF ?
>
> This questions came to me after a try during which:
> - I grabbed an ecore metamodel
> - injected it in KM3 (notifications of "recursive contexts")
> - simplified it to fix this "recursive contexts" problem
> - renamed the "Ecore" package into "PrimitiveTypes"
> - and finally, wrote the corresponding TCS file
>
> After a successful build, the injection process complains about a
> "ClassNotFoundException" (which have led me to think about the
> metametamodel conformance).
>
> Additionally, as in the future I shall not simplify the base metamodel
> (as it is a pillar of the project), I wonder wether a "recursive
> contexts" problem could inpact on the injector and if so, how to solve
> the problem. If anybody knows, answers will be much appreciated.
>
> Thanks a lot,
>
> Quentin
--
Freddy Allilaire - ATLAS Group (INRIA & LINA)
http://www.sciences.univ-nantes.fr/lina/atl/contrib/allilair e
|
|
|
Re: [TCS] About MetaModels used for injection [message #376912 is a reply to message #376909] |
Wed, 25 April 2007 12:41   |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
Hi Freddy,
Yes, you guessed right... I am ashamed of that silly mistake. I have
fixed it. Thanks a lot.
Any idea for the Ecore to KM3 notification ?
Quentin
Freddy Allilaire a écrit :
> Hi Quentin,
>
> Did you update the "lexer name" in the following line of your TCS file:
> "class MyTCSLexer extends Lexer;"?
>
> If it is not the problem, could you send me your stacktrace error?
>
> Regards,
> Freddy.
>
> Quentin Glineur a écrit :
>> Hi everybody,
>>
>> Do you know if it is possible to get an injector through TCS with a
>> metamodel conforming to Ecore rather than MOF ?
>>
>> This questions came to me after a try during which:
>> - I grabbed an ecore metamodel
>> - injected it in KM3 (notifications of "recursive contexts")
>> - simplified it to fix this "recursive contexts" problem
>> - renamed the "Ecore" package into "PrimitiveTypes"
>> - and finally, wrote the corresponding TCS file
>>
>> After a successful build, the injection process complains about a
>> "ClassNotFoundException" (which have led me to think about the
>> metametamodel conformance).
>>
>> Additionally, as in the future I shall not simplify the base metamodel
>> (as it is a pillar of the project), I wonder wether a "recursive
>> contexts" problem could inpact on the injector and if so, how to solve
>> the problem. If anybody knows, answers will be much appreciated.
>>
>> Thanks a lot,
>>
>> Quentin
>
>
|
|
|
Re: [TCS] About MetaModels used for injection [message #376914 is a reply to message #376912] |
Thu, 26 April 2007 03:58   |
Eclipse User |
|
|
|
Originally posted by: mikael.barbero.gmail.com
Hi Quentin,
Can you give us an excerpt of your KM3 file ? This would help for
debugging.
Regards,
Mikael
Quentin Glineur wrote:
> Hi Freddy,
>
> Yes, you guessed right... I am ashamed of that silly mistake. I have
> fixed it. Thanks a lot.
>
> Any idea for the Ecore to KM3 notification ?
>
> Quentin
>
>
> Freddy Allilaire a écrit :
>> Hi Quentin,
>>
>> Did you update the "lexer name" in the following line of your TCS
>> file: "class MyTCSLexer extends Lexer;"?
>>
>> If it is not the problem, could you send me your stacktrace error?
>>
>> Regards,
>> Freddy.
>>
>> Quentin Glineur a écrit :
>>> Hi everybody,
>>>
>>> Do you know if it is possible to get an injector through TCS with a
>>> metamodel conforming to Ecore rather than MOF ?
>>>
>>> This questions came to me after a try during which:
>>> - I grabbed an ecore metamodel
>>> - injected it in KM3 (notifications of "recursive contexts")
>>> - simplified it to fix this "recursive contexts" problem
>>> - renamed the "Ecore" package into "PrimitiveTypes"
>>> - and finally, wrote the corresponding TCS file
>>>
>>> After a successful build, the injection process complains about a
>>> "ClassNotFoundException" (which have led me to think about the
>>> metametamodel conformance).
>>>
>>> Additionally, as in the future I shall not simplify the base
>>> metamodel (as it is a pillar of the project), I wonder wether a
>>> "recursive contexts" problem could inpact on the injector and if so,
>>> how to solve the problem. If anybody knows, answers will be much
>>> appreciated.
>>>
>>> Thanks a lot,
>>>
>>> Quentin
>>
>>
--
Mikaël Barbero - PhD Candidate
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssinière
44322 Nantes Cedex 3 - France
tel. +33 2 51 12 58 08 /\ cell.+33 6 07 63 19 00
email: Mikael.Barbero@{gmail.com, univ-nantes.fr}
http://www.sciences.univ-nantes.fr/lina/atl/
|
|
|
Re: [TCS] About MetaModels used for injection [message #376916 is a reply to message #376914] |
Thu, 26 April 2007 05:45   |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
Hi Mickaël,
Actually, as the KM3 file is 781 lines long (gotten from an existing
Ecore file), I don't think to be able to give a representative
excerpt... But if you hold to the full file, I can send it.
Mikaël Barbero a écrit :
> Hi Quentin,
>
> Can you give us an excerpt of your KM3 file ? This would help for
> debugging.
>
> Regards,
> Mikael
>
> Quentin Glineur wrote:
>> Hi Freddy,
>>
>> Yes, you guessed right... I am ashamed of that silly mistake. I have
>> fixed it. Thanks a lot.
>>
>> Any idea for the Ecore to KM3 notification ?
>>
>> Quentin
>>
>>
>> Freddy Allilaire a écrit :
>>> Hi Quentin,
>>>
>>> Did you update the "lexer name" in the following line of your TCS
>>> file: "class MyTCSLexer extends Lexer;"?
>>>
>>> If it is not the problem, could you send me your stacktrace error?
>>>
>>> Regards,
>>> Freddy.
>>>
>>> Quentin Glineur a écrit :
>>>> Hi everybody,
>>>>
>>>> Do you know if it is possible to get an injector through TCS with a
>>>> metamodel conforming to Ecore rather than MOF ?
>>>>
>>>> This questions came to me after a try during which:
>>>> - I grabbed an ecore metamodel
>>>> - injected it in KM3 (notifications of "recursive contexts")
>>>> - simplified it to fix this "recursive contexts" problem
>>>> - renamed the "Ecore" package into "PrimitiveTypes"
>>>> - and finally, wrote the corresponding TCS file
>>>>
>>>> After a successful build, the injection process complains about a
>>>> "ClassNotFoundException" (which have led me to think about the
>>>> metametamodel conformance).
>>>>
>>>> Additionally, as in the future I shall not simplify the base
>>>> metamodel (as it is a pillar of the project), I wonder wether a
>>>> "recursive contexts" problem could inpact on the injector and if so,
>>>> how to solve the problem. If anybody knows, answers will be much
>>>> appreciated.
>>>>
>>>> Thanks a lot,
>>>>
>>>> Quentin
>>>
>>>
>
>
>
|
|
|
Re: [TCS] About MetaModels used for injection [message #376919 is a reply to message #376916] |
Thu, 26 April 2007 06:45   |
Eclipse User |
|
|
|
Originally posted by: mikael.barbero.gmail.com
Hi,
You can do it ;)
Regards,
Mikael
Quentin Glineur wrote:
> Hi Mickaël,
>
> Actually, as the KM3 file is 781 lines long (gotten from an existing
> Ecore file), I don't think to be able to give a representative
> excerpt... But if you hold to the full file, I can send it.
>
> Mikaël Barbero a écrit :
>> Hi Quentin,
>>
>> Can you give us an excerpt of your KM3 file ? This would help for
>> debugging.
>>
>> Regards,
>> Mikael
>>
>> Quentin Glineur wrote:
>>> Hi Freddy,
>>>
>>> Yes, you guessed right... I am ashamed of that silly mistake. I have
>>> fixed it. Thanks a lot.
>>>
>>> Any idea for the Ecore to KM3 notification ?
>>>
>>> Quentin
>>>
>>>
>>> Freddy Allilaire a écrit :
>>>> Hi Quentin,
>>>>
>>>> Did you update the "lexer name" in the following line of your TCS
>>>> file: "class MyTCSLexer extends Lexer;"?
>>>>
>>>> If it is not the problem, could you send me your stacktrace error?
>>>>
>>>> Regards,
>>>> Freddy.
>>>>
>>>> Quentin Glineur a écrit :
>>>>> Hi everybody,
>>>>>
>>>>> Do you know if it is possible to get an injector through TCS with a
>>>>> metamodel conforming to Ecore rather than MOF ?
>>>>>
>>>>> This questions came to me after a try during which:
>>>>> - I grabbed an ecore metamodel
>>>>> - injected it in KM3 (notifications of "recursive contexts")
>>>>> - simplified it to fix this "recursive contexts" problem
>>>>> - renamed the "Ecore" package into "PrimitiveTypes"
>>>>> - and finally, wrote the corresponding TCS file
>>>>>
>>>>> After a successful build, the injection process complains about a
>>>>> "ClassNotFoundException" (which have led me to think about the
>>>>> metametamodel conformance).
>>>>>
>>>>> Additionally, as in the future I shall not simplify the base
>>>>> metamodel (as it is a pillar of the project), I wonder wether a
>>>>> "recursive contexts" problem could inpact on the injector and if
>>>>> so, how to solve the problem. If anybody knows, answers will be
>>>>> much appreciated.
>>>>>
>>>>> Thanks a lot,
>>>>>
>>>>> Quentin
>>>>
>>>>
>>
>>
>>
--
Mikaël Barbero - PhD Candidate
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssinière
44322 Nantes Cedex 3 - France
tel. +33 2 51 12 58 08 /\ cell.+33 6 07 63 19 00
email: Mikael.Barbero@{gmail.com, univ-nantes.fr}
http://www.sciences.univ-nantes.fr/lina/atl/
|
|
|
Re: [TCS] About MetaModels used for injection [message #376923 is a reply to message #376919] |
Fri, 27 April 2007 05:19  |
Eclipse User |
|
|
|
Originally posted by: mikael.barbero.gmail.com
Hi Quentin,
Your metamodel is not a metamodel: it is an extended metametamodel as it
refers directly to Ecore datatype. We do not support those kinds of
EMF-Specific constructs. You should try to delete the ecore package and
re-define your own primitive datatypes (such as String, Integer, instead
of EString, EInteger, etc.)
Best Regards,
Mikael
Quentin Glineur wrote:
> OK, here it comes (in attachment).
>
> Many thanks and best regards,
>
> Quentin
>
> Mikaël Barbero a écrit :
>> Hi,
>>
>> You can do it ;)
>>
>> Regards,
>> Mikael
>>
>> Quentin Glineur wrote:
>>> Hi Mickaël,
>>>
>>> Actually, as the KM3 file is 781 lines long (gotten from an existing
>>> Ecore file), I don't think to be able to give a representative
>>> excerpt... But if you hold to the full file, I can send it.
>>>
>>> Mikaël Barbero a écrit :
>>>> Hi Quentin,
>>>>
>>>> Can you give us an excerpt of your KM3 file ? This would help for
>>>> debugging.
>>>>
>>>> Regards,
>>>> Mikael
>>>>
>>>> Quentin Glineur wrote:
>>>>> Hi Freddy,
>>>>>
>>>>> Yes, you guessed right... I am ashamed of that silly mistake. I
>>>>> have fixed it. Thanks a lot.
>>>>>
>>>>> Any idea for the Ecore to KM3 notification ?
>>>>>
>>>>> Quentin
>>>>>
>>>>>
>>>>> Freddy Allilaire a écrit :
>>>>>> Hi Quentin,
>>>>>>
>>>>>> Did you update the "lexer name" in the following line of your TCS
>>>>>> file: "class MyTCSLexer extends Lexer;"?
>>>>>>
>>>>>> If it is not the problem, could you send me your stacktrace error?
>>>>>>
>>>>>> Regards,
>>>>>> Freddy.
>>>>>>
>>>>>> Quentin Glineur a écrit :
>>>>>>> Hi everybody,
>>>>>>>
>>>>>>> Do you know if it is possible to get an injector through TCS with
>>>>>>> a metamodel conforming to Ecore rather than MOF ?
>>>>>>>
>>>>>>> This questions came to me after a try during which:
>>>>>>> - I grabbed an ecore metamodel
>>>>>>> - injected it in KM3 (notifications of "recursive contexts")
>>>>>>> - simplified it to fix this "recursive contexts" problem
>>>>>>> - renamed the "Ecore" package into "PrimitiveTypes"
>>>>>>> - and finally, wrote the corresponding TCS file
>>>>>>>
>>>>>>> After a successful build, the injection process complains about a
>>>>>>> "ClassNotFoundException" (which have led me to think about the
>>>>>>> metametamodel conformance).
>>>>>>>
>>>>>>> Additionally, as in the future I shall not simplify the base
>>>>>>> metamodel (as it is a pillar of the project), I wonder wether a
>>>>>>> "recursive contexts" problem could inpact on the injector and if
>>>>>>> so, how to solve the problem. If anybody knows, answers will be
>>>>>>> much appreciated.
>>>>>>>
>>>>>>> Thanks a lot,
>>>>>>>
>>>>>>> Quentin
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>
--
Mikaël Barbero - PhD Candidate
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssinière
44322 Nantes Cedex 3 - France
tel. +33 2 51 12 58 08 /\ cell.+33 6 07 63 19 00
email: Mikael.Barbero@{gmail.com, univ-nantes.fr}
http://www.sciences.univ-nantes.fr/lina/atl/
|
|
|
Re: [TCS] About MetaModels used for injection [message #580733 is a reply to message #376877] |
Wed, 25 April 2007 11:25  |
Eclipse User |
|
|
|
Hi Quentin,
Did you update the "lexer name" in the following line of your TCS file:
"class MyTCSLexer extends Lexer;"?
If it is not the problem, could you send me your stacktrace error?
Regards,
Freddy.
Quentin Glineur a écrit :
> Hi everybody,
>
> Do you know if it is possible to get an injector through TCS with a
> metamodel conforming to Ecore rather than MOF ?
>
> This questions came to me after a try during which:
> - I grabbed an ecore metamodel
> - injected it in KM3 (notifications of "recursive contexts")
> - simplified it to fix this "recursive contexts" problem
> - renamed the "Ecore" package into "PrimitiveTypes"
> - and finally, wrote the corresponding TCS file
>
> After a successful build, the injection process complains about a
> "ClassNotFoundException" (which have led me to think about the
> metametamodel conformance).
>
> Additionally, as in the future I shall not simplify the base metamodel
> (as it is a pillar of the project), I wonder wether a "recursive
> contexts" problem could inpact on the injector and if so, how to solve
> the problem. If anybody knows, answers will be much appreciated.
>
> Thanks a lot,
>
> Quentin
--
Freddy Allilaire - ATLAS Group (INRIA & LINA)
http://www.sciences.univ-nantes.fr/lina/atl/contrib/allilair e
|
|
|
Re: [TCS] About MetaModels used for injection [message #580763 is a reply to message #376909] |
Wed, 25 April 2007 12:41  |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
Hi Freddy,
Yes, you guessed right... I am ashamed of that silly mistake. I have
fixed it. Thanks a lot.
Any idea for the Ecore to KM3 notification ?
Quentin
Freddy Allilaire a écrit :
> Hi Quentin,
>
> Did you update the "lexer name" in the following line of your TCS file:
> "class MyTCSLexer extends Lexer;"?
>
> If it is not the problem, could you send me your stacktrace error?
>
> Regards,
> Freddy.
>
> Quentin Glineur a écrit :
>> Hi everybody,
>>
>> Do you know if it is possible to get an injector through TCS with a
>> metamodel conforming to Ecore rather than MOF ?
>>
>> This questions came to me after a try during which:
>> - I grabbed an ecore metamodel
>> - injected it in KM3 (notifications of "recursive contexts")
>> - simplified it to fix this "recursive contexts" problem
>> - renamed the "Ecore" package into "PrimitiveTypes"
>> - and finally, wrote the corresponding TCS file
>>
>> After a successful build, the injection process complains about a
>> "ClassNotFoundException" (which have led me to think about the
>> metametamodel conformance).
>>
>> Additionally, as in the future I shall not simplify the base metamodel
>> (as it is a pillar of the project), I wonder wether a "recursive
>> contexts" problem could inpact on the injector and if so, how to solve
>> the problem. If anybody knows, answers will be much appreciated.
>>
>> Thanks a lot,
>>
>> Quentin
>
>
|
|
|
Re: [TCS] About MetaModels used for injection [message #580783 is a reply to message #376912] |
Thu, 26 April 2007 03:58  |
Eclipse User |
|
|
|
Originally posted by: mikael.barbero.gmail.com
Hi Quentin,
Can you give us an excerpt of your KM3 file ? This would help for
debugging.
Regards,
Mikael
Quentin Glineur wrote:
> Hi Freddy,
>
> Yes, you guessed right... I am ashamed of that silly mistake. I have
> fixed it. Thanks a lot.
>
> Any idea for the Ecore to KM3 notification ?
>
> Quentin
>
>
> Freddy Allilaire a écrit :
>> Hi Quentin,
>>
>> Did you update the "lexer name" in the following line of your TCS
>> file: "class MyTCSLexer extends Lexer;"?
>>
>> If it is not the problem, could you send me your stacktrace error?
>>
>> Regards,
>> Freddy.
>>
>> Quentin Glineur a écrit :
>>> Hi everybody,
>>>
>>> Do you know if it is possible to get an injector through TCS with a
>>> metamodel conforming to Ecore rather than MOF ?
>>>
>>> This questions came to me after a try during which:
>>> - I grabbed an ecore metamodel
>>> - injected it in KM3 (notifications of "recursive contexts")
>>> - simplified it to fix this "recursive contexts" problem
>>> - renamed the "Ecore" package into "PrimitiveTypes"
>>> - and finally, wrote the corresponding TCS file
>>>
>>> After a successful build, the injection process complains about a
>>> "ClassNotFoundException" (which have led me to think about the
>>> metametamodel conformance).
>>>
>>> Additionally, as in the future I shall not simplify the base
>>> metamodel (as it is a pillar of the project), I wonder wether a
>>> "recursive contexts" problem could inpact on the injector and if so,
>>> how to solve the problem. If anybody knows, answers will be much
>>> appreciated.
>>>
>>> Thanks a lot,
>>>
>>> Quentin
>>
>>
--
Mikaël Barbero - PhD Candidate
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssinière
44322 Nantes Cedex 3 - France
tel. +33 2 51 12 58 08 /\ cell.+33 6 07 63 19 00
email: Mikael.Barbero@{gmail.com, univ-nantes.fr}
http://www.sciences.univ-nantes.fr/lina/atl/
|
|
|
Re: [TCS] About MetaModels used for injection [message #580800 is a reply to message #376914] |
Thu, 26 April 2007 05:45  |
Eclipse User |
|
|
|
Originally posted by: quentin.glineur.obeo.fr
Hi Mickaël,
Actually, as the KM3 file is 781 lines long (gotten from an existing
Ecore file), I don't think to be able to give a representative
excerpt... But if you hold to the full file, I can send it.
Mikaël Barbero a écrit :
> Hi Quentin,
>
> Can you give us an excerpt of your KM3 file ? This would help for
> debugging.
>
> Regards,
> Mikael
>
> Quentin Glineur wrote:
>> Hi Freddy,
>>
>> Yes, you guessed right... I am ashamed of that silly mistake. I have
>> fixed it. Thanks a lot.
>>
>> Any idea for the Ecore to KM3 notification ?
>>
>> Quentin
>>
>>
>> Freddy Allilaire a écrit :
>>> Hi Quentin,
>>>
>>> Did you update the "lexer name" in the following line of your TCS
>>> file: "class MyTCSLexer extends Lexer;"?
>>>
>>> If it is not the problem, could you send me your stacktrace error?
>>>
>>> Regards,
>>> Freddy.
>>>
>>> Quentin Glineur a écrit :
>>>> Hi everybody,
>>>>
>>>> Do you know if it is possible to get an injector through TCS with a
>>>> metamodel conforming to Ecore rather than MOF ?
>>>>
>>>> This questions came to me after a try during which:
>>>> - I grabbed an ecore metamodel
>>>> - injected it in KM3 (notifications of "recursive contexts")
>>>> - simplified it to fix this "recursive contexts" problem
>>>> - renamed the "Ecore" package into "PrimitiveTypes"
>>>> - and finally, wrote the corresponding TCS file
>>>>
>>>> After a successful build, the injection process complains about a
>>>> "ClassNotFoundException" (which have led me to think about the
>>>> metametamodel conformance).
>>>>
>>>> Additionally, as in the future I shall not simplify the base
>>>> metamodel (as it is a pillar of the project), I wonder wether a
>>>> "recursive contexts" problem could inpact on the injector and if so,
>>>> how to solve the problem. If anybody knows, answers will be much
>>>> appreciated.
>>>>
>>>> Thanks a lot,
>>>>
>>>> Quentin
>>>
>>>
>
>
>
|
|
|
Re: [TCS] About MetaModels used for injection [message #580822 is a reply to message #376916] |
Thu, 26 April 2007 06:45  |
Eclipse User |
|
|
|
Originally posted by: mikael.barbero.gmail.com
Hi,
You can do it ;)
Regards,
Mikael
Quentin Glineur wrote:
> Hi Mickaël,
>
> Actually, as the KM3 file is 781 lines long (gotten from an existing
> Ecore file), I don't think to be able to give a representative
> excerpt... But if you hold to the full file, I can send it.
>
> Mikaël Barbero a écrit :
>> Hi Quentin,
>>
>> Can you give us an excerpt of your KM3 file ? This would help for
>> debugging.
>>
>> Regards,
>> Mikael
>>
>> Quentin Glineur wrote:
>>> Hi Freddy,
>>>
>>> Yes, you guessed right... I am ashamed of that silly mistake. I have
>>> fixed it. Thanks a lot.
>>>
>>> Any idea for the Ecore to KM3 notification ?
>>>
>>> Quentin
>>>
>>>
>>> Freddy Allilaire a écrit :
>>>> Hi Quentin,
>>>>
>>>> Did you update the "lexer name" in the following line of your TCS
>>>> file: "class MyTCSLexer extends Lexer;"?
>>>>
>>>> If it is not the problem, could you send me your stacktrace error?
>>>>
>>>> Regards,
>>>> Freddy.
>>>>
>>>> Quentin Glineur a écrit :
>>>>> Hi everybody,
>>>>>
>>>>> Do you know if it is possible to get an injector through TCS with a
>>>>> metamodel conforming to Ecore rather than MOF ?
>>>>>
>>>>> This questions came to me after a try during which:
>>>>> - I grabbed an ecore metamodel
>>>>> - injected it in KM3 (notifications of "recursive contexts")
>>>>> - simplified it to fix this "recursive contexts" problem
>>>>> - renamed the "Ecore" package into "PrimitiveTypes"
>>>>> - and finally, wrote the corresponding TCS file
>>>>>
>>>>> After a successful build, the injection process complains about a
>>>>> "ClassNotFoundException" (which have led me to think about the
>>>>> metametamodel conformance).
>>>>>
>>>>> Additionally, as in the future I shall not simplify the base
>>>>> metamodel (as it is a pillar of the project), I wonder wether a
>>>>> "recursive contexts" problem could inpact on the injector and if
>>>>> so, how to solve the problem. If anybody knows, answers will be
>>>>> much appreciated.
>>>>>
>>>>> Thanks a lot,
>>>>>
>>>>> Quentin
>>>>
>>>>
>>
>>
>>
--
Mikaël Barbero - PhD Candidate
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssinière
44322 Nantes Cedex 3 - France
tel. +33 2 51 12 58 08 /\ cell.+33 6 07 63 19 00
email: Mikael.Barbero@{gmail.com, univ-nantes.fr}
http://www.sciences.univ-nantes.fr/lina/atl/
|
|
|
Re: [TCS] About MetaModels used for injection [message #581460 is a reply to message #376919] |
Fri, 27 April 2007 05:19  |
Eclipse User |
|
|
|
Originally posted by: mikael.barbero.gmail.com
Hi Quentin,
Your metamodel is not a metamodel: it is an extended metametamodel as it
refers directly to Ecore datatype. We do not support those kinds of
EMF-Specific constructs. You should try to delete the ecore package and
re-define your own primitive datatypes (such as String, Integer, instead
of EString, EInteger, etc.)
Best Regards,
Mikael
Quentin Glineur wrote:
> OK, here it comes (in attachment).
>
> Many thanks and best regards,
>
> Quentin
>
> Mikaël Barbero a écrit :
>> Hi,
>>
>> You can do it ;)
>>
>> Regards,
>> Mikael
>>
>> Quentin Glineur wrote:
>>> Hi Mickaël,
>>>
>>> Actually, as the KM3 file is 781 lines long (gotten from an existing
>>> Ecore file), I don't think to be able to give a representative
>>> excerpt... But if you hold to the full file, I can send it.
>>>
>>> Mikaël Barbero a écrit :
>>>> Hi Quentin,
>>>>
>>>> Can you give us an excerpt of your KM3 file ? This would help for
>>>> debugging.
>>>>
>>>> Regards,
>>>> Mikael
>>>>
>>>> Quentin Glineur wrote:
>>>>> Hi Freddy,
>>>>>
>>>>> Yes, you guessed right... I am ashamed of that silly mistake. I
>>>>> have fixed it. Thanks a lot.
>>>>>
>>>>> Any idea for the Ecore to KM3 notification ?
>>>>>
>>>>> Quentin
>>>>>
>>>>>
>>>>> Freddy Allilaire a écrit :
>>>>>> Hi Quentin,
>>>>>>
>>>>>> Did you update the "lexer name" in the following line of your TCS
>>>>>> file: "class MyTCSLexer extends Lexer;"?
>>>>>>
>>>>>> If it is not the problem, could you send me your stacktrace error?
>>>>>>
>>>>>> Regards,
>>>>>> Freddy.
>>>>>>
>>>>>> Quentin Glineur a écrit :
>>>>>>> Hi everybody,
>>>>>>>
>>>>>>> Do you know if it is possible to get an injector through TCS with
>>>>>>> a metamodel conforming to Ecore rather than MOF ?
>>>>>>>
>>>>>>> This questions came to me after a try during which:
>>>>>>> - I grabbed an ecore metamodel
>>>>>>> - injected it in KM3 (notifications of "recursive contexts")
>>>>>>> - simplified it to fix this "recursive contexts" problem
>>>>>>> - renamed the "Ecore" package into "PrimitiveTypes"
>>>>>>> - and finally, wrote the corresponding TCS file
>>>>>>>
>>>>>>> After a successful build, the injection process complains about a
>>>>>>> "ClassNotFoundException" (which have led me to think about the
>>>>>>> metametamodel conformance).
>>>>>>>
>>>>>>> Additionally, as in the future I shall not simplify the base
>>>>>>> metamodel (as it is a pillar of the project), I wonder wether a
>>>>>>> "recursive contexts" problem could inpact on the injector and if
>>>>>>> so, how to solve the problem. If anybody knows, answers will be
>>>>>>> much appreciated.
>>>>>>>
>>>>>>> Thanks a lot,
>>>>>>>
>>>>>>> Quentin
>>>>>>
>>>>>>
>>>>
>>>>
>>>>
>>
>>
>>
>
--
Mikaël Barbero - PhD Candidate
ATLAS Group (INRIA & LINA) - University of Nantes
2, rue de la Houssinière
44322 Nantes Cedex 3 - France
tel. +33 2 51 12 58 08 /\ cell.+33 6 07 63 19 00
email: Mikael.Barbero@{gmail.com, univ-nantes.fr}
http://www.sciences.univ-nantes.fr/lina/atl/
|
|
|
Goto Forum:
Current Time: Wed May 07 08:38:33 EDT 2025
Powered by FUDForum. Page generated in 0.10319 seconds
|