Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » The xpand/xtend editors do not work for me!
The xpand/xtend editors do not work for me! [message #487344] Tue, 22 September 2009 19:25 Go to next message
Michael Scharf is currently offline Michael ScharfFriend
Messages: 301
Registered: July 2009
Senior Member
Has anybody ever managed to get the
expand/extend editors to work?

Here is what I try (a flash screen cast):

http://scharf.gr/eclipse/bugs/xpand/xpand-problems/

I am not able to get the xtext/xpand editors to
work correctly.

What am I doing wrong???



Michael
--
Michael Scharf
Wind River Systems GmbH
http://www.WindRiver.com
http://MichaelScharf.blogspot.com/
Re: The xpand/xtend editors do not work for me! [message #487345 is a reply to message #487344] Tue, 22 September 2009 19:49 Go to previous messageGo to next message
ekkehard gentz is currently offline ekkehard gentzFriend
Messages: 118
Registered: July 2009
Location: rosenheim, Germany, bavar...
Senior Member

This is a multi-part message in MIME format.
--------------080300080908000602060001
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Michael Scharf schrieb:
> Has anybody ever managed to get the
> expand/extend editors to work?
>
> Here is what I try (a flash screen cast):
>
> http://scharf.gr/eclipse/bugs/xpand/xpand-problems/
>
> I am not able to get the xtext/xpand editors to
> work correctly.
>
> What am I doing wrong???
>
>
>
> Michael
I have no experience in the combination of xtext and xpand
but one question:

from your generator project: are the ecore models on the classpath ?

the workflow and the editor have different behaviour:
for the xpand editor its important to find all on the classpath

--

ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@ekkes-corner.org
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490


--------------080300080908000602060001
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Michael Scharf schrieb:
<blockquote cite="mid:h9b8am$2qk$1@build.eclipse.org" type="cite">Has
anybody ever managed to get the
<br>
expand/extend editors to work?
<br>
<br>
Here is what I try (a flash screen cast):
<br>
<br>
&nbsp; <a class="moz-txt-link-freetext" href="http://scharf.gr/eclipse/bugs/xpand/xpand-problems/">http://scharf.gr/eclipse/bugs/xpand/xpand-problems/</a>
<br>
<br>
I am not able to get the xtext/xpand editors to
<br>
work correctly.
<br>
<br>
What am I doing wrong???
<br>
<br>
<br>
<br>
Michael
<br>
</blockquote>
I have no experience in the combination of xtext and xpand<br>
but one question:<br>
<br>
from your generator project: are the ecore models on the classpath ?<br>
<br>
the workflow and the editor have different behaviour:<br>
for the xpand editor its important to find all on the classpath<br>
<br>
<div class="moz-signature">-- <br>
<p style="margin-bottom: 0cm;"> <font ,="" color="#808080"
face="Verdana, sans-serif"> <font size="4">ekke (ekkehard gentz)<br>
</font> <font size="3"> independent software-architect<br>
senior erp-consultant<br>
</font> <font size="2">eclipse | osgi | equinox | mdsd | oaw | emf |
uml<br>
max-josefs-platz 30, D-83022 rosenheim, germany<br>
<a class="moz-txt-link-freetext" href="mailto:ekke@ekkes-corner.org">mailto:ekke@ekkes-corner.org</a><br>
homepage (de): <a class="moz-txt-link-freetext" href="http://gentz-software.de">http://gentz-software.de</a><br>
blog (en): <a class="moz-txt-link-freetext" href="http://ekkes-corner.org">http://ekkes-corner.org</a><br>
twitter: @ekkescorner<br>
skype: ekkes-corner<br>
</font> <font size="1"> Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID:
DE189929490<br>
</font> </font> </p>
</div>
</body>
</html>

--------------080300080908000602060001--


ekke
independent software architect

blog: http://ekkes-corner.org
twitter: @ekkescorner
Re: The xpand/xtend editors do not work for me! [message #487362 is a reply to message #487344] Tue, 22 September 2009 21:14 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Michael,

the generated generator project assumes the emf metamodel to be
activated. Please check Eclipse->Preferences->Xtend->EMF Metamodel.
This can be configured by project as well. Project -> Properties->Xtend

Hope that helps,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Michael Scharf schrieb:
> Has anybody ever managed to get the
> expand/extend editors to work?
>
> Here is what I try (a flash screen cast):
>
> http://scharf.gr/eclipse/bugs/xpand/xpand-problems/
>
> I am not able to get the xtext/xpand editors to
> work correctly.
>
> What am I doing wrong???
>
>
>
> Michael
Re: The xpand/xtend editors do not work for me! [message #487367 is a reply to message #487362] Tue, 22 September 2009 21:25 Go to previous messageGo to next message
ekkehard gentz is currently offline ekkehard gentzFriend
Messages: 118
Registered: July 2009
Location: rosenheim, Germany, bavar...
Senior Member

This is a multi-part message in MIME format.
--------------060401030302040903020000
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Sebastian Zarnekow schrieb:
> Hi Michael,
>
> the generated generator project assumes the emf metamodel to be
> activated. Please check Eclipse->Preferences->Xtend->EMF Metamodel.
> This can be configured by project as well. Project -> Properties->Xtend
>
> Hope that helps,
> Sebastian
Sebastian,

this is exactly what I just discussed with michael on twitter.
he says there's no EMF Metamodel to choose (Project -> Properties -> Xtend)
--

ekke (ekkehard gentz)
independent software-architect
senior erp-consultant
eclipse | osgi | equinox | mdsd | oaw | emf | uml
max-josefs-platz 30, D-83022 rosenheim, germany
mailto:ekke@ekkes-corner.org
homepage (de): http://gentz-software.de
blog (en): http://ekkes-corner.org
twitter: @ekkescorner
skype: ekkes-corner
Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490


--------------060401030302040903020000
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Sebastian Zarnekow schrieb:
<blockquote cite="mid:h9beog$5kf$1@build.eclipse.org" type="cite">Hi
Michael,
<br>
<br>
the generated generator project assumes the emf metamodel to be
activated. Please check Eclipse-&gt;Preferences-&gt;Xtend-&gt;EMF
Metamodel.
<br>
This can be configured by project as well. Project -&gt;
Properties-&gt;Xtend
<br>
<br>
Hope that helps,
<br>
Sebastian
<br>
</blockquote>
Sebastian,<br>
<br>
this is exactly what I just discussed with michael on twitter.<br>
he says there's no EMF Metamodel to choose (Project -&gt; Properties
-&gt; Xtend)<br>
<div class="moz-signature">-- <br>
<p style="margin-bottom: 0cm;"> <font ,="" color="#808080"
face="Verdana, sans-serif"> <font size="4">ekke (ekkehard gentz)<br>
</font> <font size="3"> independent software-architect<br>
senior erp-consultant<br>
</font> <font size="2">eclipse | osgi | equinox | mdsd | oaw | emf |
uml<br>
max-josefs-platz 30, D-83022 rosenheim, germany<br>
<a class="moz-txt-link-freetext" href="mailto:ekke@ekkes-corner.org">mailto:ekke@ekkes-corner.org</a><br>
homepage (de): <a class="moz-txt-link-freetext" href="http://gentz-software.de">http://gentz-software.de</a><br>
blog (en): <a class="moz-txt-link-freetext" href="http://ekkes-corner.org">http://ekkes-corner.org</a><br>
twitter: @ekkescorner<br>
skype: ekkes-corner<br>
</font> <font size="1"> Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID:
DE189929490<br>
</font> </font> </p>
</div>
</body>
</html>

--------------060401030302040903020000--


ekke
independent software architect

blog: http://ekkes-corner.org
twitter: @ekkescorner
Re: The xpand/xtend editors do not work for me! [message #487389 is a reply to message #487367] Wed, 23 September 2009 02:36 Go to previous message
Michael Scharf is currently offline Michael ScharfFriend
Messages: 301
Registered: July 2009
Senior Member
I think it is a installation problem
I'll check tomorrow!

Thanks for your help!

Michael


ekke wrote:
> Sebastian Zarnekow schrieb:
>> Hi Michael,
>>
>> the generated generator project assumes the emf metamodel to be
>> activated. Please check Eclipse->Preferences->Xtend->EMF Metamodel.
>> This can be configured by project as well. Project -> Properties->Xtend
>>
>> Hope that helps,
>> Sebastian
> Sebastian,
>
> this is exactly what I just discussed with michael on twitter.
> he says there's no EMF Metamodel to choose (Project -> Properties -> Xtend)
> --
>
> ekke (ekkehard gentz)
> independent software-architect
> senior erp-consultant
> eclipse | osgi | equinox | mdsd | oaw | emf | uml
> max-josefs-platz 30, D-83022 rosenheim, germany
> mailto:ekke@ekkes-corner.org
> homepage (de): http://gentz-software.de
> blog (en): http://ekkes-corner.org
> twitter: @ekkescorner
> skype: ekkes-corner
> Steuer-Nr: 156/220/30931 FA Rosenheim, UST-ID: DE189929490
>


--
Michael Scharf
Wind River Systems GmbH
http://www.WindRiver.com
http://MichaelScharf.blogspot.com/
Previous Topic:How include objects into new set
Next Topic:[Acceleo] console outputs
Goto Forum:
  


Current Time: Wed Apr 24 20:33:30 GMT 2024

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

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

Back to the top