Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMT (Generative Modeling Technologies) » [Epsilon] Error in Running Examples
[Epsilon] Error in Running Examples [message #377707] Mon, 14 May 2007 23:24 Go to next message
Eclipse UserFriend
Originally posted by: b_zamani.encs.concordia.ca

Hi Everybody,

I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and tried to
run them.
For ValidateOO.evl, I got the following error:

Cannot find meta-class 'NamedElement' in model ''

For BuildOOInstance.eol, I got the following error:
Line: 2, Column: 7, Reason: unexpected token: :=

Line: 12, Column: 24, Reason: expecting ';', found ':='

Line: 19, Column: 20, Reason: expecting ';', found ':='

Can anybody help me fixing this problem?

best,

Bahman
Re: [Epsilon] Error in Running Examples [message #377710 is a reply to message #377707] Tue, 15 May 2007 08:57 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Bahman,

From your description it seems that you may be using an outdated
version of the Epsilon plugins (I've just tried the two examples with
the bundle available at www.eclipse.org/gmt/epsilon/download.php and
they seem to work). Before going deeper into this could you please
confirm that you are using the latest version of the plugins atop Java
1.5 (or greater)?

Cheers,
Dimitrios

Bahman wrote:
> Hi Everybody,
>
> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and tried to
> run them.
> For ValidateOO.evl, I got the following error:
>
> Cannot find meta-class 'NamedElement' in model ''
>
> For BuildOOInstance.eol, I got the following error:
> Line: 2, Column: 7, Reason: unexpected token: :=
>
> Line: 12, Column: 24, Reason: expecting ';', found ':='
>
> Line: 19, Column: 20, Reason: expecting ';', found ':='
>
> Can anybody help me fixing this problem?
>
> best,
>
> Bahman
>
>
>
>
Re: [Epsilon] Error in Running Examples [message #377713 is a reply to message #377710] Tue, 15 May 2007 14:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: b_zamani.encs.concordia.ca

Hi Dimitrios,

Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1 installed
atop Java 1.6; Therefore, I just downloaded Epsilon plug-in (2.8MB) from the
page that you referred to it. However, I thin I don't have MDR plug-in
installed. Is it mandatory? IMHO, both EMF and MDR are implementations of
MOF, so, one of them is sufficient.
Actually, I'm interested in running EWL examples in Eclipse, but it seems
that your plug-in does not include EWL yet, right? I have some questions in
this regard and will ask you in future.

best,
Bahman

"Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
news:f2bsmh$nbn$1@build.eclipse.org...
> Hi Bahman,
>
> From your description it seems that you may be using an outdated version
> of the Epsilon plugins (I've just tried the two examples with the bundle
> available at www.eclipse.org/gmt/epsilon/download.php and they seem to
> work). Before going deeper into this could you please confirm that you are
> using the latest version of the plugins atop Java 1.5 (or greater)?
>
> Cheers,
> Dimitrios
>
> Bahman wrote:
>> Hi Everybody,
>>
>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and tried
>> to run them.
>> For ValidateOO.evl, I got the following error:
>>
>> Cannot find meta-class 'NamedElement' in model ''
>>
>> For BuildOOInstance.eol, I got the following error:
>> Line: 2, Column: 7, Reason: unexpected token: :=
>>
>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>
>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>
>> Can anybody help me fixing this problem?
>>
>> best,
>>
>> Bahman
>>
>>
>>
Re: [Epsilon] Error in Running Examples [message #377715 is a reply to message #377713] Tue, 15 May 2007 15:14 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Bahman,

Bahman wrote:
> Hi Dimitrios,
>
> Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1 installed
> atop Java 1.6; Therefore, I just downloaded Epsilon plug-in (2.8MB) from the
> page that you referred to it.

I've tried with the plugins on a clean Eclipse 3.2 and EMF 2.2.0
installation that I have but unfortunately I cannot reproduce the errors.

The reason I asked you about your version of Epsilon is that your EOL
errors are all related to

*var x : X := new X;*
and
*x := new X;*

statements, and this syntax was recently introduced in EOL (a few months
ago - before that only statements of type *var x : new X;* were
supported). In case you had downloaded/installed the Epsilon plugins
before the new syntax was introduced and re-installed now, Eclipse may
have cached the older versions. Have you tried the -clean switch?

For the EVL example that does not contain such statements I suspect that
you do not launch the EVL validation correctly (you don't specify the
input model). The safe way to go is to open the OOValidation.launch file
(stored launch configuration) by dbl-clicking it in the Navigator and
then locate and run the newly created OOValidation launch configuration.

However, I thin I don't have MDR plug-in
> installed. Is it mandatory?

No

IMHO, both EMF and MDR are implementations of
> MOF, so, one of them is sufficient.

The MDR plugin is needed if you need to access MOF1.4/XMI1.x models
(e.g. created from ArgoUML, older versions of Poseidon etc).

> Actually, I'm interested in running EWL examples in Eclipse, but it seems
> that your plug-in does not include EWL yet, right? I have some questions in
> this regard and will ask you in future.
>

Unlike the rest of the languages in Epsilon - which are executed on the
serialized models (i.e. XMI) - EWL is executed on "live" models and
thus, supporting tools need to integrate tightly with the respective
visual editors (e.g. listen for selection changes, trigger updates on
the UI). We are planning to implement such support in the near future
for GMF-based visual editors. If you have any further
questions/suggestions I'm more than happy to answer them.

> best,
> Bahman

Regards,
Dimitrios

>
> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
> news:f2bsmh$nbn$1@build.eclipse.org...
>> Hi Bahman,
>>
>> From your description it seems that you may be using an outdated version
>> of the Epsilon plugins (I've just tried the two examples with the bundle
>> available at www.eclipse.org/gmt/epsilon/download.php and they seem to
>> work). Before going deeper into this could you please confirm that you are
>> using the latest version of the plugins atop Java 1.5 (or greater)?
>>
>> Cheers,
>> Dimitrios
>>
>> Bahman wrote:
>>> Hi Everybody,
>>>
>>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and tried
>>> to run them.
>>> For ValidateOO.evl, I got the following error:
>>>
>>> Cannot find meta-class 'NamedElement' in model ''
>>>
>>> For BuildOOInstance.eol, I got the following error:
>>> Line: 2, Column: 7, Reason: unexpected token: :=
>>>
>>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>>
>>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>>
>>> Can anybody help me fixing this problem?
>>>
>>> best,
>>>
>>> Bahman
>>>
>>>
>>>
>
Re: [Epsilon] Error in Running Examples [message #377716 is a reply to message #377715] Tue, 15 May 2007 19:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: b_zamani.encs.concordia.ca

Hi again,

You're right, my Epsilon plug-in was outdated (installed on Apr. 30th)!
As a suggestion, it would be useful to include FAQ.txt file into all single
examples as well, it helped me a lot.
Now all examples work fine, except for validation example(ValidateOO.evl),
which after giving appropriate messages in validation tab, it remains in
LAUNCHING mode and makes cpu 100% busy, and it can't be stopped. The only
escape way is to exit Eclipse. I tried in on a completely new Eclipse by
downloading the complete bundle from Epsilon site, it is the same.

About EWL, I can't see too much difference between EVL (or ETL) and EWL,
except the point of interactivity in EWL. For instance, in wizards.ewl in
ArgoUML examples, you consider adding getters and setters as and example of
wizard, and in Eclipse examples we have it as a transformation.

best,
Bahman

"Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
news:f2cinr$6ni$1@build.eclipse.org...
> Hi Bahman,
>
> Bahman wrote:
>> Hi Dimitrios,
>>
>> Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1
>> installed atop Java 1.6; Therefore, I just downloaded Epsilon plug-in
>> (2.8MB) from the page that you referred to it.
>
> I've tried with the plugins on a clean Eclipse 3.2 and EMF 2.2.0
> installation that I have but unfortunately I cannot reproduce the errors.
>
> The reason I asked you about your version of Epsilon is that your EOL
> errors are all related to
>
> *var x : X := new X;*
> and
> *x := new X;*
>
> statements, and this syntax was recently introduced in EOL (a few months
> ago - before that only statements of type *var x : new X;* were
> supported). In case you had downloaded/installed the Epsilon plugins
> before the new syntax was introduced and re-installed now, Eclipse may
> have cached the older versions. Have you tried the -clean switch?
>
> For the EVL example that does not contain such statements I suspect that
> you do not launch the EVL validation correctly (you don't specify the
> input model). The safe way to go is to open the OOValidation.launch file
> (stored launch configuration) by dbl-clicking it in the Navigator and then
> locate and run the newly created OOValidation launch configuration.
>
> However, I thin I don't have MDR plug-in
>> installed. Is it mandatory?
>
> No
>
> IMHO, both EMF and MDR are implementations of
>> MOF, so, one of them is sufficient.
>
> The MDR plugin is needed if you need to access MOF1.4/XMI1.x models (e.g.
> created from ArgoUML, older versions of Poseidon etc).
>
>> Actually, I'm interested in running EWL examples in Eclipse, but it seems
>> that your plug-in does not include EWL yet, right? I have some questions
>> in this regard and will ask you in future.
>>
>
> Unlike the rest of the languages in Epsilon - which are executed on the
> serialized models (i.e. XMI) - EWL is executed on "live" models and thus,
> supporting tools need to integrate tightly with the respective visual
> editors (e.g. listen for selection changes, trigger updates on the UI). We
> are planning to implement such support in the near future for GMF-based
> visual editors. If you have any further questions/suggestions I'm more
> than happy to answer them.
>
>> best,
>> Bahman
>
> Regards,
> Dimitrios
>
>>
>> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
>> news:f2bsmh$nbn$1@build.eclipse.org...
>>> Hi Bahman,
>>>
>>> From your description it seems that you may be using an outdated version
>>> of the Epsilon plugins (I've just tried the two examples with the bundle
>>> available at www.eclipse.org/gmt/epsilon/download.php and they seem to
>>> work). Before going deeper into this could you please confirm that you
>>> are using the latest version of the plugins atop Java 1.5 (or greater)?
>>>
>>> Cheers,
>>> Dimitrios
>>>
>>> Bahman wrote:
>>>> Hi Everybody,
>>>>
>>>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and
>>>> tried to run them.
>>>> For ValidateOO.evl, I got the following error:
>>>>
>>>> Cannot find meta-class 'NamedElement' in model ''
>>>>
>>>> For BuildOOInstance.eol, I got the following error:
>>>> Line: 2, Column: 7, Reason: unexpected token: :=
>>>>
>>>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>>>
>>>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>>>
>>>> Can anybody help me fixing this problem?
>>>>
>>>> best,
>>>>
>>>> Bahman
>>>>
>>>>
>>>>
>>
Re: [Epsilon] Error in Running Examples [message #377717 is a reply to message #377716] Tue, 15 May 2007 20:53 Go to previous messageGo to next message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Bahman,

Bahman wrote:
> Hi again,
>
> You're right, my Epsilon plug-in was outdated (installed on Apr. 30th)!
> As a suggestion, it would be useful to include FAQ.txt file into all single
> examples as well, it helped me a lot.

Thanks a lot for your suggestion. I'll add the content of the FAQ.txt in
the Examples page or in the Eclipse Wiki soon.

> Now all examples work fine, except for validation example(ValidateOO.evl),
> which after giving appropriate messages in validation tab, it remains in
> LAUNCHING mode and makes cpu 100% busy, and it can't be stopped. The only
> escape way is to exit Eclipse. I tried in on a completely new Eclipse by
> downloading the complete bundle from Epsilon site, it is the same.
>

After the constraints are evaluated, the EVL engine goes into a "fixing"
mode. In this mode you can right-click messages in the Validation view
and apply fixes to elements for which constraints have failed (if the
constraints define fix parts (e.g. the NameShouldStartWithUpperCase
constraint)). When you are done with reviewing failed constraints and/or
performing fixes you can click the arrow-shaped "Finish..." button in
the Validation view and the engine will terminate.

BTW If you are interested, I can send you a copy of the reference paper
for EVL that is currently under review.

> About EWL, I can't see too much difference between EVL (or ETL) and EWL,
> except the point of interactivity in EWL. For instance, in wizards.ewl in
> ArgoUML examples, you consider adding getters and setters as and example of
> wizard, and in Eclipse examples we have it as a transformation.
>

The difference between EWL and the transformation in the examples is
that the prior is applied on specific attributes selected explicitly by
the user while the latter is applied on all the attributes in the model.
Therefore, proper EWL tool-support needs to be able to monitor the
editor so that it can capture element selection/deselection events
(similarly to what is done in the ArgoUML implementation).

This is certainly feasible in GMF but it will take some time to
implement :) However, if you need this feature urgently and/or decide to
implement it yourself, I'll be glad to help you and also share with you
the existing ArgoUML/EWL code.

Again, if you are interested in knowing more about EWL, I can send you a
preprint of a paper that discusses the language in detail (it will be
presented in TOOLS EUROPE 2007 in June).

> best,
> Bahman
>
> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
> news:f2cinr$6ni$1@build.eclipse.org...
>> Hi Bahman,
>>
>> Bahman wrote:
>>> Hi Dimitrios,
>>>
>>> Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1
>>> installed atop Java 1.6; Therefore, I just downloaded Epsilon plug-in
>>> (2.8MB) from the page that you referred to it.
>> I've tried with the plugins on a clean Eclipse 3.2 and EMF 2.2.0
>> installation that I have but unfortunately I cannot reproduce the errors.
>>
>> The reason I asked you about your version of Epsilon is that your EOL
>> errors are all related to
>>
>> *var x : X := new X;*
>> and
>> *x := new X;*
>>
>> statements, and this syntax was recently introduced in EOL (a few months
>> ago - before that only statements of type *var x : new X;* were
>> supported). In case you had downloaded/installed the Epsilon plugins
>> before the new syntax was introduced and re-installed now, Eclipse may
>> have cached the older versions. Have you tried the -clean switch?
>>
>> For the EVL example that does not contain such statements I suspect that
>> you do not launch the EVL validation correctly (you don't specify the
>> input model). The safe way to go is to open the OOValidation.launch file
>> (stored launch configuration) by dbl-clicking it in the Navigator and then
>> locate and run the newly created OOValidation launch configuration.
>>
>> However, I thin I don't have MDR plug-in
>>> installed. Is it mandatory?
>> No
>>
>> IMHO, both EMF and MDR are implementations of
>>> MOF, so, one of them is sufficient.
>> The MDR plugin is needed if you need to access MOF1.4/XMI1.x models (e.g.
>> created from ArgoUML, older versions of Poseidon etc).
>>
>>> Actually, I'm interested in running EWL examples in Eclipse, but it seems
>>> that your plug-in does not include EWL yet, right? I have some questions
>>> in this regard and will ask you in future.
>>>
>> Unlike the rest of the languages in Epsilon - which are executed on the
>> serialized models (i.e. XMI) - EWL is executed on "live" models and thus,
>> supporting tools need to integrate tightly with the respective visual
>> editors (e.g. listen for selection changes, trigger updates on the UI). We
>> are planning to implement such support in the near future for GMF-based
>> visual editors. If you have any further questions/suggestions I'm more
>> than happy to answer them.
>>
>>> best,
>>> Bahman
>> Regards,
>> Dimitrios
>>
>>> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
>>> news:f2bsmh$nbn$1@build.eclipse.org...
>>>> Hi Bahman,
>>>>
>>>> From your description it seems that you may be using an outdated version
>>>> of the Epsilon plugins (I've just tried the two examples with the bundle
>>>> available at www.eclipse.org/gmt/epsilon/download.php and they seem to
>>>> work). Before going deeper into this could you please confirm that you
>>>> are using the latest version of the plugins atop Java 1.5 (or greater)?
>>>>
>>>> Cheers,
>>>> Dimitrios
>>>>
>>>> Bahman wrote:
>>>>> Hi Everybody,
>>>>>
>>>>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and
>>>>> tried to run them.
>>>>> For ValidateOO.evl, I got the following error:
>>>>>
>>>>> Cannot find meta-class 'NamedElement' in model ''
>>>>>
>>>>> For BuildOOInstance.eol, I got the following error:
>>>>> Line: 2, Column: 7, Reason: unexpected token: :=
>>>>>
>>>>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>>>>
>>>>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>>>>
>>>>> Can anybody help me fixing this problem?
>>>>>
>>>>> best,
>>>>>
>>>>> Bahman
>>>>>
>>>>>
>>>>>
>
>
Cheers,
Dimitrios
Re: [Epsilon] Error in Running Examples [message #377718 is a reply to message #377717] Tue, 15 May 2007 21:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: b_zamani.encs.concordia.ca

Hi Dimitrios,

Thank you. Now all examples are working fine. DONE!

I've read two of the papers that are available in your web page ("EOL" and
"Eclipse Dev Tools for Epsilon"). If you send me more sources about EWL, I
appreciate that. (please email me)
I'm doing my research on V&V of Models and I think I have a long way to
finish!!

cheers,
Bahman

"Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
news:f2d6jk$aj9$1@build.eclipse.org...
> Hi Bahman,
>
> Bahman wrote:
>> Hi again,
>>
>> You're right, my Epsilon plug-in was outdated (installed on Apr. 30th)!
>> As a suggestion, it would be useful to include FAQ.txt file into all
>> single examples as well, it helped me a lot.
>
> Thanks a lot for your suggestion. I'll add the content of the FAQ.txt in
> the Examples page or in the Eclipse Wiki soon.
>
>> Now all examples work fine, except for validation
>> example(ValidateOO.evl), which after giving appropriate messages in
>> validation tab, it remains in LAUNCHING mode and makes cpu 100% busy, and
>> it can't be stopped. The only escape way is to exit Eclipse. I tried in
>> on a completely new Eclipse by downloading the complete bundle from
>> Epsilon site, it is the same.
>>
>
> After the constraints are evaluated, the EVL engine goes into a "fixing"
> mode. In this mode you can right-click messages in the Validation view and
> apply fixes to elements for which constraints have failed (if the
> constraints define fix parts (e.g. the NameShouldStartWithUpperCase
> constraint)). When you are done with reviewing failed constraints and/or
> performing fixes you can click the arrow-shaped "Finish..." button in the
> Validation view and the engine will terminate.
>
> BTW If you are interested, I can send you a copy of the reference paper
> for EVL that is currently under review.
>
>> About EWL, I can't see too much difference between EVL (or ETL) and EWL,
>> except the point of interactivity in EWL. For instance, in wizards.ewl in
>> ArgoUML examples, you consider adding getters and setters as and example
>> of wizard, and in Eclipse examples we have it as a transformation.
>>
>
> The difference between EWL and the transformation in the examples is that
> the prior is applied on specific attributes selected explicitly by the
> user while the latter is applied on all the attributes in the model.
> Therefore, proper EWL tool-support needs to be able to monitor the editor
> so that it can capture element selection/deselection events (similarly to
> what is done in the ArgoUML implementation).
>
> This is certainly feasible in GMF but it will take some time to implement
> :) However, if you need this feature urgently and/or decide to implement
> it yourself, I'll be glad to help you and also share with you the existing
> ArgoUML/EWL code.
>
> Again, if you are interested in knowing more about EWL, I can send you a
> preprint of a paper that discusses the language in detail (it will be
> presented in TOOLS EUROPE 2007 in June).
>
>> best,
>> Bahman
>>
>> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
>> news:f2cinr$6ni$1@build.eclipse.org...
>>> Hi Bahman,
>>>
>>> Bahman wrote:
>>>> Hi Dimitrios,
>>>>
>>>> Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1
>>>> installed atop Java 1.6; Therefore, I just downloaded Epsilon plug-in
>>>> (2.8MB) from the page that you referred to it.
>>> I've tried with the plugins on a clean Eclipse 3.2 and EMF 2.2.0
>>> installation that I have but unfortunately I cannot reproduce the
>>> errors.
>>>
>>> The reason I asked you about your version of Epsilon is that your EOL
>>> errors are all related to
>>>
>>> *var x : X := new X;*
>>> and
>>> *x := new X;*
>>>
>>> statements, and this syntax was recently introduced in EOL (a few months
>>> ago - before that only statements of type *var x : new X;* were
>>> supported). In case you had downloaded/installed the Epsilon plugins
>>> before the new syntax was introduced and re-installed now, Eclipse may
>>> have cached the older versions. Have you tried the -clean switch?
>>>
>>> For the EVL example that does not contain such statements I suspect that
>>> you do not launch the EVL validation correctly (you don't specify the
>>> input model). The safe way to go is to open the OOValidation.launch file
>>> (stored launch configuration) by dbl-clicking it in the Navigator and
>>> then locate and run the newly created OOValidation launch configuration.
>>>
>>> However, I thin I don't have MDR plug-in
>>>> installed. Is it mandatory?
>>> No
>>>
>>> IMHO, both EMF and MDR are implementations of
>>>> MOF, so, one of them is sufficient.
>>> The MDR plugin is needed if you need to access MOF1.4/XMI1.x models
>>> (e.g. created from ArgoUML, older versions of Poseidon etc).
>>>
>>>> Actually, I'm interested in running EWL examples in Eclipse, but it
>>>> seems that your plug-in does not include EWL yet, right? I have some
>>>> questions in this regard and will ask you in future.
>>>>
>>> Unlike the rest of the languages in Epsilon - which are executed on the
>>> serialized models (i.e. XMI) - EWL is executed on "live" models and
>>> thus, supporting tools need to integrate tightly with the respective
>>> visual editors (e.g. listen for selection changes, trigger updates on
>>> the UI). We are planning to implement such support in the near future
>>> for GMF-based visual editors. If you have any further
>>> questions/suggestions I'm more than happy to answer them.
>>>
>>>> best,
>>>> Bahman
>>> Regards,
>>> Dimitrios
>>>
>>>> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
>>>> news:f2bsmh$nbn$1@build.eclipse.org...
>>>>> Hi Bahman,
>>>>>
>>>>> From your description it seems that you may be using an outdated
>>>>> version of the Epsilon plugins (I've just tried the two examples with
>>>>> the bundle available at www.eclipse.org/gmt/epsilon/download.php and
>>>>> they seem to work). Before going deeper into this could you please
>>>>> confirm that you are using the latest version of the plugins atop Java
>>>>> 1.5 (or greater)?
>>>>>
>>>>> Cheers,
>>>>> Dimitrios
>>>>>
>>>>> Bahman wrote:
>>>>>> Hi Everybody,
>>>>>>
>>>>>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and
>>>>>> tried to run them.
>>>>>> For ValidateOO.evl, I got the following error:
>>>>>>
>>>>>> Cannot find meta-class 'NamedElement' in model ''
>>>>>>
>>>>>> For BuildOOInstance.eol, I got the following error:
>>>>>> Line: 2, Column: 7, Reason: unexpected token: :=
>>>>>>
>>>>>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>>>>>
>>>>>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>>>>>
>>>>>> Can anybody help me fixing this problem?
>>>>>>
>>>>>> best,
>>>>>>
>>>>>> Bahman
>>>>>>
>>>>>>
>>>>>>
>>
>>
> Cheers,
> Dimitrios
Re: [Epsilon] Error in Running Examples [message #379045 is a reply to message #377715] Tue, 21 August 2007 22:57 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Bahman,

On an update to this thread, Epsilon now provides tool support for
executing interactive EWL wizards (i.e. scripts/macros) to automate
tasks in GMF-based editors (e.g. UML2 Tools editors, the GMF-based Ecore
editor etc). A relevant flash demo is available at
http://www.eclipse.org/gmt/epsilon/cinema/

Cheers,
Dimitrios

Dimitrios Kolovos wrote:
> Hi Bahman,
>
> Bahman wrote:
>> Hi Dimitrios,
>>
>> Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1
>> installed atop Java 1.6; Therefore, I just downloaded Epsilon plug-in
>> (2.8MB) from the page that you referred to it.
>
> I've tried with the plugins on a clean Eclipse 3.2 and EMF 2.2.0
> installation that I have but unfortunately I cannot reproduce the errors.
>
> The reason I asked you about your version of Epsilon is that your EOL
> errors are all related to
>
> *var x : X := new X;*
> and
> *x := new X;*
>
> statements, and this syntax was recently introduced in EOL (a few months
> ago - before that only statements of type *var x : new X;* were
> supported). In case you had downloaded/installed the Epsilon plugins
> before the new syntax was introduced and re-installed now, Eclipse may
> have cached the older versions. Have you tried the -clean switch?
>
> For the EVL example that does not contain such statements I suspect that
> you do not launch the EVL validation correctly (you don't specify the
> input model). The safe way to go is to open the OOValidation.launch file
> (stored launch configuration) by dbl-clicking it in the Navigator and
> then locate and run the newly created OOValidation launch configuration.
>
> However, I thin I don't have MDR plug-in
>> installed. Is it mandatory?
>
> No
>
> IMHO, both EMF and MDR are implementations of
>> MOF, so, one of them is sufficient.
>
> The MDR plugin is needed if you need to access MOF1.4/XMI1.x models
> (e.g. created from ArgoUML, older versions of Poseidon etc).
>
>> Actually, I'm interested in running EWL examples in Eclipse, but it
>> seems that your plug-in does not include EWL yet, right? I have some
>> questions in this regard and will ask you in future.
>>
>
> Unlike the rest of the languages in Epsilon - which are executed on the
> serialized models (i.e. XMI) - EWL is executed on "live" models and
> thus, supporting tools need to integrate tightly with the respective
> visual editors (e.g. listen for selection changes, trigger updates on
> the UI). We are planning to implement such support in the near future
> for GMF-based visual editors. If you have any further
> questions/suggestions I'm more than happy to answer them.
>
>> best,
>> Bahman
>
> Regards,
> Dimitrios
>
>>
>> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
>> news:f2bsmh$nbn$1@build.eclipse.org...
>>> Hi Bahman,
>>>
>>> From your description it seems that you may be using an outdated
>>> version of the Epsilon plugins (I've just tried the two examples with
>>> the bundle available at www.eclipse.org/gmt/epsilon/download.php and
>>> they seem to work). Before going deeper into this could you please
>>> confirm that you are using the latest version of the plugins atop
>>> Java 1.5 (or greater)?
>>>
>>> Cheers,
>>> Dimitrios
>>>
>>> Bahman wrote:
>>>> Hi Everybody,
>>>>
>>>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and
>>>> tried to run them.
>>>> For ValidateOO.evl, I got the following error:
>>>>
>>>> Cannot find meta-class 'NamedElement' in model ''
>>>>
>>>> For BuildOOInstance.eol, I got the following error:
>>>> Line: 2, Column: 7, Reason: unexpected token: :=
>>>>
>>>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>>>
>>>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>>>
>>>> Can anybody help me fixing this problem?
>>>>
>>>> best,
>>>>
>>>> Bahman
>>>>
>>>>
>>>>
>>
Re: [Epsilon] Error in Running Examples [message #596833 is a reply to message #377707] Tue, 15 May 2007 08:57 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Bahman,

From your description it seems that you may be using an outdated
version of the Epsilon plugins (I've just tried the two examples with
the bundle available at www.eclipse.org/gmt/epsilon/download.php and
they seem to work). Before going deeper into this could you please
confirm that you are using the latest version of the plugins atop Java
1.5 (or greater)?

Cheers,
Dimitrios

Bahman wrote:
> Hi Everybody,
>
> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and tried to
> run them.
> For ValidateOO.evl, I got the following error:
>
> Cannot find meta-class 'NamedElement' in model ''
>
> For BuildOOInstance.eol, I got the following error:
> Line: 2, Column: 7, Reason: unexpected token: :=
>
> Line: 12, Column: 24, Reason: expecting ';', found ':='
>
> Line: 19, Column: 20, Reason: expecting ';', found ':='
>
> Can anybody help me fixing this problem?
>
> best,
>
> Bahman
>
>
>
>
Re: [Epsilon] Error in Running Examples [message #596872 is a reply to message #377710] Tue, 15 May 2007 14:20 Go to previous message
Eclipse UserFriend
Originally posted by: b_zamani.encs.concordia.ca

Hi Dimitrios,

Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1 installed
atop Java 1.6; Therefore, I just downloaded Epsilon plug-in (2.8MB) from the
page that you referred to it. However, I thin I don't have MDR plug-in
installed. Is it mandatory? IMHO, both EMF and MDR are implementations of
MOF, so, one of them is sufficient.
Actually, I'm interested in running EWL examples in Eclipse, but it seems
that your plug-in does not include EWL yet, right? I have some questions in
this regard and will ask you in future.

best,
Bahman

"Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
news:f2bsmh$nbn$1@build.eclipse.org...
> Hi Bahman,
>
> From your description it seems that you may be using an outdated version
> of the Epsilon plugins (I've just tried the two examples with the bundle
> available at www.eclipse.org/gmt/epsilon/download.php and they seem to
> work). Before going deeper into this could you please confirm that you are
> using the latest version of the plugins atop Java 1.5 (or greater)?
>
> Cheers,
> Dimitrios
>
> Bahman wrote:
>> Hi Everybody,
>>
>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and tried
>> to run them.
>> For ValidateOO.evl, I got the following error:
>>
>> Cannot find meta-class 'NamedElement' in model ''
>>
>> For BuildOOInstance.eol, I got the following error:
>> Line: 2, Column: 7, Reason: unexpected token: :=
>>
>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>
>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>
>> Can anybody help me fixing this problem?
>>
>> best,
>>
>> Bahman
>>
>>
>>
Re: [Epsilon] Error in Running Examples [message #596900 is a reply to message #377713] Tue, 15 May 2007 15:14 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Bahman,

Bahman wrote:
> Hi Dimitrios,
>
> Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1 installed
> atop Java 1.6; Therefore, I just downloaded Epsilon plug-in (2.8MB) from the
> page that you referred to it.

I've tried with the plugins on a clean Eclipse 3.2 and EMF 2.2.0
installation that I have but unfortunately I cannot reproduce the errors.

The reason I asked you about your version of Epsilon is that your EOL
errors are all related to

*var x : X := new X;*
and
*x := new X;*

statements, and this syntax was recently introduced in EOL (a few months
ago - before that only statements of type *var x : new X;* were
supported). In case you had downloaded/installed the Epsilon plugins
before the new syntax was introduced and re-installed now, Eclipse may
have cached the older versions. Have you tried the -clean switch?

For the EVL example that does not contain such statements I suspect that
you do not launch the EVL validation correctly (you don't specify the
input model). The safe way to go is to open the OOValidation.launch file
(stored launch configuration) by dbl-clicking it in the Navigator and
then locate and run the newly created OOValidation launch configuration.

However, I thin I don't have MDR plug-in
> installed. Is it mandatory?

No

IMHO, both EMF and MDR are implementations of
> MOF, so, one of them is sufficient.

The MDR plugin is needed if you need to access MOF1.4/XMI1.x models
(e.g. created from ArgoUML, older versions of Poseidon etc).

> Actually, I'm interested in running EWL examples in Eclipse, but it seems
> that your plug-in does not include EWL yet, right? I have some questions in
> this regard and will ask you in future.
>

Unlike the rest of the languages in Epsilon - which are executed on the
serialized models (i.e. XMI) - EWL is executed on "live" models and
thus, supporting tools need to integrate tightly with the respective
visual editors (e.g. listen for selection changes, trigger updates on
the UI). We are planning to implement such support in the near future
for GMF-based visual editors. If you have any further
questions/suggestions I'm more than happy to answer them.

> best,
> Bahman

Regards,
Dimitrios

>
> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
> news:f2bsmh$nbn$1@build.eclipse.org...
>> Hi Bahman,
>>
>> From your description it seems that you may be using an outdated version
>> of the Epsilon plugins (I've just tried the two examples with the bundle
>> available at www.eclipse.org/gmt/epsilon/download.php and they seem to
>> work). Before going deeper into this could you please confirm that you are
>> using the latest version of the plugins atop Java 1.5 (or greater)?
>>
>> Cheers,
>> Dimitrios
>>
>> Bahman wrote:
>>> Hi Everybody,
>>>
>>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and tried
>>> to run them.
>>> For ValidateOO.evl, I got the following error:
>>>
>>> Cannot find meta-class 'NamedElement' in model ''
>>>
>>> For BuildOOInstance.eol, I got the following error:
>>> Line: 2, Column: 7, Reason: unexpected token: :=
>>>
>>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>>
>>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>>
>>> Can anybody help me fixing this problem?
>>>
>>> best,
>>>
>>> Bahman
>>>
>>>
>>>
>
Re: [Epsilon] Error in Running Examples [message #596916 is a reply to message #377715] Tue, 15 May 2007 19:43 Go to previous message
Eclipse UserFriend
Originally posted by: b_zamani.encs.concordia.ca

Hi again,

You're right, my Epsilon plug-in was outdated (installed on Apr. 30th)!
As a suggestion, it would be useful to include FAQ.txt file into all single
examples as well, it helped me a lot.
Now all examples work fine, except for validation example(ValidateOO.evl),
which after giving appropriate messages in validation tab, it remains in
LAUNCHING mode and makes cpu 100% busy, and it can't be stopped. The only
escape way is to exit Eclipse. I tried in on a completely new Eclipse by
downloading the complete bundle from Epsilon site, it is the same.

About EWL, I can't see too much difference between EVL (or ETL) and EWL,
except the point of interactivity in EWL. For instance, in wizards.ewl in
ArgoUML examples, you consider adding getters and setters as and example of
wizard, and in Eclipse examples we have it as a transformation.

best,
Bahman

"Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
news:f2cinr$6ni$1@build.eclipse.org...
> Hi Bahman,
>
> Bahman wrote:
>> Hi Dimitrios,
>>
>> Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1
>> installed atop Java 1.6; Therefore, I just downloaded Epsilon plug-in
>> (2.8MB) from the page that you referred to it.
>
> I've tried with the plugins on a clean Eclipse 3.2 and EMF 2.2.0
> installation that I have but unfortunately I cannot reproduce the errors.
>
> The reason I asked you about your version of Epsilon is that your EOL
> errors are all related to
>
> *var x : X := new X;*
> and
> *x := new X;*
>
> statements, and this syntax was recently introduced in EOL (a few months
> ago - before that only statements of type *var x : new X;* were
> supported). In case you had downloaded/installed the Epsilon plugins
> before the new syntax was introduced and re-installed now, Eclipse may
> have cached the older versions. Have you tried the -clean switch?
>
> For the EVL example that does not contain such statements I suspect that
> you do not launch the EVL validation correctly (you don't specify the
> input model). The safe way to go is to open the OOValidation.launch file
> (stored launch configuration) by dbl-clicking it in the Navigator and then
> locate and run the newly created OOValidation launch configuration.
>
> However, I thin I don't have MDR plug-in
>> installed. Is it mandatory?
>
> No
>
> IMHO, both EMF and MDR are implementations of
>> MOF, so, one of them is sufficient.
>
> The MDR plugin is needed if you need to access MOF1.4/XMI1.x models (e.g.
> created from ArgoUML, older versions of Poseidon etc).
>
>> Actually, I'm interested in running EWL examples in Eclipse, but it seems
>> that your plug-in does not include EWL yet, right? I have some questions
>> in this regard and will ask you in future.
>>
>
> Unlike the rest of the languages in Epsilon - which are executed on the
> serialized models (i.e. XMI) - EWL is executed on "live" models and thus,
> supporting tools need to integrate tightly with the respective visual
> editors (e.g. listen for selection changes, trigger updates on the UI). We
> are planning to implement such support in the near future for GMF-based
> visual editors. If you have any further questions/suggestions I'm more
> than happy to answer them.
>
>> best,
>> Bahman
>
> Regards,
> Dimitrios
>
>>
>> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
>> news:f2bsmh$nbn$1@build.eclipse.org...
>>> Hi Bahman,
>>>
>>> From your description it seems that you may be using an outdated version
>>> of the Epsilon plugins (I've just tried the two examples with the bundle
>>> available at www.eclipse.org/gmt/epsilon/download.php and they seem to
>>> work). Before going deeper into this could you please confirm that you
>>> are using the latest version of the plugins atop Java 1.5 (or greater)?
>>>
>>> Cheers,
>>> Dimitrios
>>>
>>> Bahman wrote:
>>>> Hi Everybody,
>>>>
>>>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and
>>>> tried to run them.
>>>> For ValidateOO.evl, I got the following error:
>>>>
>>>> Cannot find meta-class 'NamedElement' in model ''
>>>>
>>>> For BuildOOInstance.eol, I got the following error:
>>>> Line: 2, Column: 7, Reason: unexpected token: :=
>>>>
>>>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>>>
>>>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>>>
>>>> Can anybody help me fixing this problem?
>>>>
>>>> best,
>>>>
>>>> Bahman
>>>>
>>>>
>>>>
>>
Re: [Epsilon] Error in Running Examples [message #596923 is a reply to message #377716] Tue, 15 May 2007 20:53 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Bahman,

Bahman wrote:
> Hi again,
>
> You're right, my Epsilon plug-in was outdated (installed on Apr. 30th)!
> As a suggestion, it would be useful to include FAQ.txt file into all single
> examples as well, it helped me a lot.

Thanks a lot for your suggestion. I'll add the content of the FAQ.txt in
the Examples page or in the Eclipse Wiki soon.

> Now all examples work fine, except for validation example(ValidateOO.evl),
> which after giving appropriate messages in validation tab, it remains in
> LAUNCHING mode and makes cpu 100% busy, and it can't be stopped. The only
> escape way is to exit Eclipse. I tried in on a completely new Eclipse by
> downloading the complete bundle from Epsilon site, it is the same.
>

After the constraints are evaluated, the EVL engine goes into a "fixing"
mode. In this mode you can right-click messages in the Validation view
and apply fixes to elements for which constraints have failed (if the
constraints define fix parts (e.g. the NameShouldStartWithUpperCase
constraint)). When you are done with reviewing failed constraints and/or
performing fixes you can click the arrow-shaped "Finish..." button in
the Validation view and the engine will terminate.

BTW If you are interested, I can send you a copy of the reference paper
for EVL that is currently under review.

> About EWL, I can't see too much difference between EVL (or ETL) and EWL,
> except the point of interactivity in EWL. For instance, in wizards.ewl in
> ArgoUML examples, you consider adding getters and setters as and example of
> wizard, and in Eclipse examples we have it as a transformation.
>

The difference between EWL and the transformation in the examples is
that the prior is applied on specific attributes selected explicitly by
the user while the latter is applied on all the attributes in the model.
Therefore, proper EWL tool-support needs to be able to monitor the
editor so that it can capture element selection/deselection events
(similarly to what is done in the ArgoUML implementation).

This is certainly feasible in GMF but it will take some time to
implement :) However, if you need this feature urgently and/or decide to
implement it yourself, I'll be glad to help you and also share with you
the existing ArgoUML/EWL code.

Again, if you are interested in knowing more about EWL, I can send you a
preprint of a paper that discusses the language in detail (it will be
presented in TOOLS EUROPE 2007 in June).

> best,
> Bahman
>
> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
> news:f2cinr$6ni$1@build.eclipse.org...
>> Hi Bahman,
>>
>> Bahman wrote:
>>> Hi Dimitrios,
>>>
>>> Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1
>>> installed atop Java 1.6; Therefore, I just downloaded Epsilon plug-in
>>> (2.8MB) from the page that you referred to it.
>> I've tried with the plugins on a clean Eclipse 3.2 and EMF 2.2.0
>> installation that I have but unfortunately I cannot reproduce the errors.
>>
>> The reason I asked you about your version of Epsilon is that your EOL
>> errors are all related to
>>
>> *var x : X := new X;*
>> and
>> *x := new X;*
>>
>> statements, and this syntax was recently introduced in EOL (a few months
>> ago - before that only statements of type *var x : new X;* were
>> supported). In case you had downloaded/installed the Epsilon plugins
>> before the new syntax was introduced and re-installed now, Eclipse may
>> have cached the older versions. Have you tried the -clean switch?
>>
>> For the EVL example that does not contain such statements I suspect that
>> you do not launch the EVL validation correctly (you don't specify the
>> input model). The safe way to go is to open the OOValidation.launch file
>> (stored launch configuration) by dbl-clicking it in the Navigator and then
>> locate and run the newly created OOValidation launch configuration.
>>
>> However, I thin I don't have MDR plug-in
>>> installed. Is it mandatory?
>> No
>>
>> IMHO, both EMF and MDR are implementations of
>>> MOF, so, one of them is sufficient.
>> The MDR plugin is needed if you need to access MOF1.4/XMI1.x models (e.g.
>> created from ArgoUML, older versions of Poseidon etc).
>>
>>> Actually, I'm interested in running EWL examples in Eclipse, but it seems
>>> that your plug-in does not include EWL yet, right? I have some questions
>>> in this regard and will ask you in future.
>>>
>> Unlike the rest of the languages in Epsilon - which are executed on the
>> serialized models (i.e. XMI) - EWL is executed on "live" models and thus,
>> supporting tools need to integrate tightly with the respective visual
>> editors (e.g. listen for selection changes, trigger updates on the UI). We
>> are planning to implement such support in the near future for GMF-based
>> visual editors. If you have any further questions/suggestions I'm more
>> than happy to answer them.
>>
>>> best,
>>> Bahman
>> Regards,
>> Dimitrios
>>
>>> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
>>> news:f2bsmh$nbn$1@build.eclipse.org...
>>>> Hi Bahman,
>>>>
>>>> From your description it seems that you may be using an outdated version
>>>> of the Epsilon plugins (I've just tried the two examples with the bundle
>>>> available at www.eclipse.org/gmt/epsilon/download.php and they seem to
>>>> work). Before going deeper into this could you please confirm that you
>>>> are using the latest version of the plugins atop Java 1.5 (or greater)?
>>>>
>>>> Cheers,
>>>> Dimitrios
>>>>
>>>> Bahman wrote:
>>>>> Hi Everybody,
>>>>>
>>>>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and
>>>>> tried to run them.
>>>>> For ValidateOO.evl, I got the following error:
>>>>>
>>>>> Cannot find meta-class 'NamedElement' in model ''
>>>>>
>>>>> For BuildOOInstance.eol, I got the following error:
>>>>> Line: 2, Column: 7, Reason: unexpected token: :=
>>>>>
>>>>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>>>>
>>>>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>>>>
>>>>> Can anybody help me fixing this problem?
>>>>>
>>>>> best,
>>>>>
>>>>> Bahman
>>>>>
>>>>>
>>>>>
>
>
Cheers,
Dimitrios
Re: [Epsilon] Error in Running Examples [message #596936 is a reply to message #377717] Tue, 15 May 2007 21:17 Go to previous message
Eclipse UserFriend
Originally posted by: b_zamani.encs.concordia.ca

Hi Dimitrios,

Thank you. Now all examples are working fine. DONE!

I've read two of the papers that are available in your web page ("EOL" and
"Eclipse Dev Tools for Epsilon"). If you send me more sources about EWL, I
appreciate that. (please email me)
I'm doing my research on V&V of Models and I think I have a long way to
finish!!

cheers,
Bahman

"Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
news:f2d6jk$aj9$1@build.eclipse.org...
> Hi Bahman,
>
> Bahman wrote:
>> Hi again,
>>
>> You're right, my Epsilon plug-in was outdated (installed on Apr. 30th)!
>> As a suggestion, it would be useful to include FAQ.txt file into all
>> single examples as well, it helped me a lot.
>
> Thanks a lot for your suggestion. I'll add the content of the FAQ.txt in
> the Examples page or in the Eclipse Wiki soon.
>
>> Now all examples work fine, except for validation
>> example(ValidateOO.evl), which after giving appropriate messages in
>> validation tab, it remains in LAUNCHING mode and makes cpu 100% busy, and
>> it can't be stopped. The only escape way is to exit Eclipse. I tried in
>> on a completely new Eclipse by downloading the complete bundle from
>> Epsilon site, it is the same.
>>
>
> After the constraints are evaluated, the EVL engine goes into a "fixing"
> mode. In this mode you can right-click messages in the Validation view and
> apply fixes to elements for which constraints have failed (if the
> constraints define fix parts (e.g. the NameShouldStartWithUpperCase
> constraint)). When you are done with reviewing failed constraints and/or
> performing fixes you can click the arrow-shaped "Finish..." button in the
> Validation view and the engine will terminate.
>
> BTW If you are interested, I can send you a copy of the reference paper
> for EVL that is currently under review.
>
>> About EWL, I can't see too much difference between EVL (or ETL) and EWL,
>> except the point of interactivity in EWL. For instance, in wizards.ewl in
>> ArgoUML examples, you consider adding getters and setters as and example
>> of wizard, and in Eclipse examples we have it as a transformation.
>>
>
> The difference between EWL and the transformation in the examples is that
> the prior is applied on specific attributes selected explicitly by the
> user while the latter is applied on all the attributes in the model.
> Therefore, proper EWL tool-support needs to be able to monitor the editor
> so that it can capture element selection/deselection events (similarly to
> what is done in the ArgoUML implementation).
>
> This is certainly feasible in GMF but it will take some time to implement
> :) However, if you need this feature urgently and/or decide to implement
> it yourself, I'll be glad to help you and also share with you the existing
> ArgoUML/EWL code.
>
> Again, if you are interested in knowing more about EWL, I can send you a
> preprint of a paper that discusses the language in detail (it will be
> presented in TOOLS EUROPE 2007 in June).
>
>> best,
>> Bahman
>>
>> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
>> news:f2cinr$6ni$1@build.eclipse.org...
>>> Hi Bahman,
>>>
>>> Bahman wrote:
>>>> Hi Dimitrios,
>>>>
>>>> Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1
>>>> installed atop Java 1.6; Therefore, I just downloaded Epsilon plug-in
>>>> (2.8MB) from the page that you referred to it.
>>> I've tried with the plugins on a clean Eclipse 3.2 and EMF 2.2.0
>>> installation that I have but unfortunately I cannot reproduce the
>>> errors.
>>>
>>> The reason I asked you about your version of Epsilon is that your EOL
>>> errors are all related to
>>>
>>> *var x : X := new X;*
>>> and
>>> *x := new X;*
>>>
>>> statements, and this syntax was recently introduced in EOL (a few months
>>> ago - before that only statements of type *var x : new X;* were
>>> supported). In case you had downloaded/installed the Epsilon plugins
>>> before the new syntax was introduced and re-installed now, Eclipse may
>>> have cached the older versions. Have you tried the -clean switch?
>>>
>>> For the EVL example that does not contain such statements I suspect that
>>> you do not launch the EVL validation correctly (you don't specify the
>>> input model). The safe way to go is to open the OOValidation.launch file
>>> (stored launch configuration) by dbl-clicking it in the Navigator and
>>> then locate and run the newly created OOValidation launch configuration.
>>>
>>> However, I thin I don't have MDR plug-in
>>>> installed. Is it mandatory?
>>> No
>>>
>>> IMHO, both EMF and MDR are implementations of
>>>> MOF, so, one of them is sufficient.
>>> The MDR plugin is needed if you need to access MOF1.4/XMI1.x models
>>> (e.g. created from ArgoUML, older versions of Poseidon etc).
>>>
>>>> Actually, I'm interested in running EWL examples in Eclipse, but it
>>>> seems that your plug-in does not include EWL yet, right? I have some
>>>> questions in this regard and will ask you in future.
>>>>
>>> Unlike the rest of the languages in Epsilon - which are executed on the
>>> serialized models (i.e. XMI) - EWL is executed on "live" models and
>>> thus, supporting tools need to integrate tightly with the respective
>>> visual editors (e.g. listen for selection changes, trigger updates on
>>> the UI). We are planning to implement such support in the near future
>>> for GMF-based visual editors. If you have any further
>>> questions/suggestions I'm more than happy to answer them.
>>>
>>>> best,
>>>> Bahman
>>> Regards,
>>> Dimitrios
>>>
>>>> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
>>>> news:f2bsmh$nbn$1@build.eclipse.org...
>>>>> Hi Bahman,
>>>>>
>>>>> From your description it seems that you may be using an outdated
>>>>> version of the Epsilon plugins (I've just tried the two examples with
>>>>> the bundle available at www.eclipse.org/gmt/epsilon/download.php and
>>>>> they seem to work). Before going deeper into this could you please
>>>>> confirm that you are using the latest version of the plugins atop Java
>>>>> 1.5 (or greater)?
>>>>>
>>>>> Cheers,
>>>>> Dimitrios
>>>>>
>>>>> Bahman wrote:
>>>>>> Hi Everybody,
>>>>>>
>>>>>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and
>>>>>> tried to run them.
>>>>>> For ValidateOO.evl, I got the following error:
>>>>>>
>>>>>> Cannot find meta-class 'NamedElement' in model ''
>>>>>>
>>>>>> For BuildOOInstance.eol, I got the following error:
>>>>>> Line: 2, Column: 7, Reason: unexpected token: :=
>>>>>>
>>>>>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>>>>>
>>>>>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>>>>>
>>>>>> Can anybody help me fixing this problem?
>>>>>>
>>>>>> best,
>>>>>>
>>>>>> Bahman
>>>>>>
>>>>>>
>>>>>>
>>
>>
> Cheers,
> Dimitrios
Re: [Epsilon] Error in Running Examples [message #606599 is a reply to message #377715] Tue, 21 August 2007 22:57 Go to previous message
Dimitrios Kolovos is currently offline Dimitrios KolovosFriend
Messages: 1776
Registered: July 2009
Senior Member
Hi Bahman,

On an update to this thread, Epsilon now provides tool support for
executing interactive EWL wizards (i.e. scripts/macros) to automate
tasks in GMF-based editors (e.g. UML2 Tools editors, the GMF-based Ecore
editor etc). A relevant flash demo is available at
http://www.eclipse.org/gmt/epsilon/cinema/

Cheers,
Dimitrios

Dimitrios Kolovos wrote:
> Hi Bahman,
>
> Bahman wrote:
>> Hi Dimitrios,
>>
>> Thanks for reply. I have already had Eclipse 3.2.1 and EMF 2.2.1
>> installed atop Java 1.6; Therefore, I just downloaded Epsilon plug-in
>> (2.8MB) from the page that you referred to it.
>
> I've tried with the plugins on a clean Eclipse 3.2 and EMF 2.2.0
> installation that I have but unfortunately I cannot reproduce the errors.
>
> The reason I asked you about your version of Epsilon is that your EOL
> errors are all related to
>
> *var x : X := new X;*
> and
> *x := new X;*
>
> statements, and this syntax was recently introduced in EOL (a few months
> ago - before that only statements of type *var x : new X;* were
> supported). In case you had downloaded/installed the Epsilon plugins
> before the new syntax was introduced and re-installed now, Eclipse may
> have cached the older versions. Have you tried the -clean switch?
>
> For the EVL example that does not contain such statements I suspect that
> you do not launch the EVL validation correctly (you don't specify the
> input model). The safe way to go is to open the OOValidation.launch file
> (stored launch configuration) by dbl-clicking it in the Navigator and
> then locate and run the newly created OOValidation launch configuration.
>
> However, I thin I don't have MDR plug-in
>> installed. Is it mandatory?
>
> No
>
> IMHO, both EMF and MDR are implementations of
>> MOF, so, one of them is sufficient.
>
> The MDR plugin is needed if you need to access MOF1.4/XMI1.x models
> (e.g. created from ArgoUML, older versions of Poseidon etc).
>
>> Actually, I'm interested in running EWL examples in Eclipse, but it
>> seems that your plug-in does not include EWL yet, right? I have some
>> questions in this regard and will ask you in future.
>>
>
> Unlike the rest of the languages in Epsilon - which are executed on the
> serialized models (i.e. XMI) - EWL is executed on "live" models and
> thus, supporting tools need to integrate tightly with the respective
> visual editors (e.g. listen for selection changes, trigger updates on
> the UI). We are planning to implement such support in the near future
> for GMF-based visual editors. If you have any further
> questions/suggestions I'm more than happy to answer them.
>
>> best,
>> Bahman
>
> Regards,
> Dimitrios
>
>>
>> "Dimitrios Kolovos" <dskolovos@gmail.com> wrote in message
>> news:f2bsmh$nbn$1@build.eclipse.org...
>>> Hi Bahman,
>>>
>>> From your description it seems that you may be using an outdated
>>> version of the Epsilon plugins (I've just tried the two examples with
>>> the bundle available at www.eclipse.org/gmt/epsilon/download.php and
>>> they seem to work). Before going deeper into this could you please
>>> confirm that you are using the latest version of the plugins atop
>>> Java 1.5 (or greater)?
>>>
>>> Cheers,
>>> Dimitrios
>>>
>>> Bahman wrote:
>>>> Hi Everybody,
>>>>
>>>> I've installed Epsilon on Eclipse 3.2.1 and downloaded examples and
>>>> tried to run them.
>>>> For ValidateOO.evl, I got the following error:
>>>>
>>>> Cannot find meta-class 'NamedElement' in model ''
>>>>
>>>> For BuildOOInstance.eol, I got the following error:
>>>> Line: 2, Column: 7, Reason: unexpected token: :=
>>>>
>>>> Line: 12, Column: 24, Reason: expecting ';', found ':='
>>>>
>>>> Line: 19, Column: 20, Reason: expecting ';', found ':='
>>>>
>>>> Can anybody help me fixing this problem?
>>>>
>>>> best,
>>>>
>>>> Bahman
>>>>
>>>>
>>>>
>>
Previous Topic:Conversion from GME paradigms and models...
Next Topic:[xText]left-recursive
Goto Forum:
  


Current Time: Sat Nov 22 03:24:12 GMT 2014

Powered by FUDForum. Page generated in 0.13628 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software