Skip to main content



      Home
Home » Modeling » TMF (Xtext) » How to setup the xtext workspace?
How to setup the xtext workspace? [message #24919] Tue, 30 December 2008 10:44 Go to next message
Eclipse UserFriend
I have downloaded a fresh installation of eclipse ganymede modelling
package from eclipse.org. After that I downloaded the xtext source by
following the instructions given at
http://wiki.eclipse.org/Xtext_Workspace_Setup.

My observations,

1. After step 6 (as per the instruction at workspace setup page) , the
plugin org.eclipse.xtext.common.ui is showing compiler error.
The errors are
a) Error in the class BuiltInFormatter- "The method lr_WS() is undefined
for the type XtextGrammarAccess".
b) Error in the class BuiltInHoverInfo - "The method getName() is
undefined for the type RuleCall".
c) A few other compiler errors in the class BuiltInProposalsProvider and
BuiltInTokenTypeDef.

2. I executed ReferenceGrammar.java as mentioned in step 6. But the plugin
project 'org.eclipse.xtext.reference.ui_gen' has not generated.

I downloaded the source on 24th of Dec (last week).

Did I miss anything while setting up the workspace?

Regards,
Madhu
Re: [Xtext] How to setup the xtext workspace? [message #24981 is a reply to message #24919] Tue, 30 December 2008 11:53 Go to previous messageGo to next message
Eclipse UserFriend
Hi Madhu,

please prefix the subjects with '[Xtext]' as we share this newsgroup
with TCS (the other sub-project of TMF).

Note that we are working against the galileo stream (this year's release
train), so there might be some incompatibilities when using ganymede.

> 1. After step 6 (as per the instruction at workspace setup page) , the
> plugin org.eclipse.xtext.common.ui is showing compiler error.
> The errors are a) Error in the class BuiltInFormatter- "The method
> lr_WS() is undefined for the type XtextGrammarAccess".

The whole project org.eclipse.xtext.common.ui is deprecated and is only
included in the team project set because it contains old code we want to
migrate to the actual code base. We'll remove them completely soon.
The same applies to org.eclipse.xtext.ui. Just close both projects.

>
> 2. I executed ReferenceGrammar.java as mentioned in step 6. But the
> plugin project 'org.eclipse.xtext.reference.ui_gen' has not generated.
> I downloaded the source on 24th of Dec (last week).

You also need to download antlr gen bundle. Can be found here:
http://ftp.itemis.de/files/xtext/antlr.zip

hope that helps,
Sven
Re: [Xtext] How to setup the xtext workspace? [message #25091 is a reply to message #24981] Wed, 31 December 2008 03:52 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sven,

Thanks for the details.

Regards,
Madhu
Re: [Xtext] How to setup the xtext workspace? [message #25129 is a reply to message #24981] Wed, 31 December 2008 04:42 Go to previous messageGo to next message
Eclipse UserFriend
Hi Sven,

Sven Wrote:
> Note that we are working against the galileo stream (this year's release
> train), so there might be some incompatibilities when using ganymede.

Madhu:
1. If I download the eclipse distribution (Eclipse 3.4 Ganymede +
openArchitectureWare 4.3) from
http://oaw.itemis.com/openarchitectureware/language=en/2837/ downloads
will the code be compatible?

2. Also, I got a little confused by 2 versions of xtext (oaw & tmf) as
well as 2 or 3 tutorials on how to create a dsl editor?

Which tutorial would you suggest to start with the tmf xtext?

Regards,
Madhu
Re: [Xtext] How to setup the xtext workspace? [message #25170 is a reply to message #25129] Wed, 31 December 2008 08:34 Go to previous messageGo to next message
Eclipse UserFriend
> 1. If I download the eclipse distribution (Eclipse 3.4 Ganymede +
> openArchitectureWare 4.3) from
> http://oaw.itemis.com/openarchitectureware/language=en/2837/ downloads
> will the code be compatible?

Yes, I think so. But I'm not sure.

>
> 2. Also, I got a little confused by 2 versions of xtext (oaw & tmf) as
> well as 2 or 3 tutorials on how to create a dsl editor?

TMF Xtext is a complete rewrite of oAW's Xtext. It will replace oAW's
Xtext in future (oAW's Xtext will be maintained but won't get additional
features). TMF Xtext is much more powerful (more languages,
bi-directional, incremental parsers, better integrated with EMF) but not
yet production-ready. We'll have a first release in June, as part of the
galileo train.

>
> Which tutorial would you suggest to start with the tmf xtext?

There are no Tutorials on TMF Xtext, as we still change API and
therefore don't want to promote it too much at the moment.

Regards,
Sven
Re: [Xtext] How to setup the xtext workspace? [message #25211 is a reply to message #25170] Thu, 01 January 2009 03:14 Go to previous messageGo to next message
Eclipse UserFriend
Hello Sven,

Happy New Year!

One month before I accidentally bumped into one of the xtext webpage. I
liked the concept of an automatically generated parser and editor for any
DSL.

I was looking forward to learn more about the project. But I understand
that now we are in a junction waiting for the green signal.

Since oaw xtext development has stopped, even if I put more effort to
learn the framework it may not be fruitful.

But tmf xtext is still in its development phase.

I would like to express my sincere appreciation for the effort you guys
put on to develop this idea - An auto generated parser and editor for any
DSL.

I am an eclipse developer and would like to extend my support for the
development of xtext. I can find a few extra hours after my office hours.

Please let me know if you are looking for any external help.

Regards,
Madhu
Re: [Xtext] How to setup the xtext workspace? [message #25249 is a reply to message #25211] Fri, 02 January 2009 05:48 Go to previous messageGo to next message
Eclipse UserFriend
Hi Madhu,

happy new year to you, too! :-)

Your help offer is greatly appreciated.
We'll have a milestone planning next week.
We are always trying to identify loosly coupled task, which ca be done
by volunteers. You can find those task in the bugzilla marked with the
keyword 'HELPWANTED'.
However, as we are still doing lots of conceptual and deep changes, we
don't have that many tasks marked that way, yet.
The number of such tasks will increase in future when the concepts and
architecture are more stable.

thanks,
Sven

Madhu Samuel schrieb:
> Hello Sven,
>
> Happy New Year!
>
> One month before I accidentally bumped into one of the xtext webpage. I
> liked the concept of an automatically generated parser and editor for
> any DSL.
>
> I was looking forward to learn more about the project. But I understand
> that now we are in a junction waiting for the green signal.
> Since oaw xtext development has stopped, even if I put more effort to
> learn the framework it may not be fruitful.
>
> But tmf xtext is still in its development phase.
> I would like to express my sincere appreciation for the effort you guys
> put on to develop this idea - An auto generated parser and editor for
> any DSL.
>
> I am an eclipse developer and would like to extend my support for the
> development of xtext. I can find a few extra hours after my office hours.
> Please let me know if you are looking for any external help.
>
> Regards,
> Madhu
>
Re: [Xtext] How to setup the xtext workspace? [message #25290 is a reply to message #25249] Sun, 04 January 2009 02:10 Go to previous message
Eclipse UserFriend
Hi Sven,

Thanks for those details.

Regards,
Madhu

Sven Efftinge wrote:

> Hi Madhu,

> happy new year to you, too! :-)

> Your help offer is greatly appreciated.
> We'll have a milestone planning next week.
> We are always trying to identify loosly coupled task, which ca be done
> by volunteers. You can find those task in the bugzilla marked with the
> keyword 'HELPWANTED'.
> However, as we are still doing lots of conceptual and deep changes, we
> don't have that many tasks marked that way, yet.
> The number of such tasks will increase in future when the concepts and
> architecture are more stable.

> thanks,
> Sven

> Madhu Samuel schrieb:
>> Hello Sven,
>>
>> Happy New Year!
>>
>> One month before I accidentally bumped into one of the xtext webpage. I
>> liked the concept of an automatically generated parser and editor for
>> any DSL.
>>
>> I was looking forward to learn more about the project. But I understand
>> that now we are in a junction waiting for the green signal.
>> Since oaw xtext development has stopped, even if I put more effort to
>> learn the framework it may not be fruitful.
>>
>> But tmf xtext is still in its development phase.
>> I would like to express my sincere appreciation for the effort you guys
>> put on to develop this idea - An auto generated parser and editor for
>> any DSL.
>>
>> I am an eclipse developer and would like to extend my support for the
>> development of xtext. I can find a few extra hours after my office hours.
>> Please let me know if you are looking for any external help.
>>
>> Regards,
>> Madhu
>>
Previous Topic:[TCS] Split metamodel and concrete syntax into several files
Next Topic:[TCS] no megamodel.xmi as in http://wiki.eclipse.org/TCS/Language_Project
Goto Forum:
  


Current Time: Tue Jun 03 05:00:56 EDT 2025

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

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

Back to the top