[Xtext] Installing XText M6 on 3.5M6 [message #38394] |
Mon, 06 April 2009 22:43  |
Eclipse User |
|
|
|
Hi,
I am trying to get Xtext integrated into our main dev environments. For this
particular case the target was 3.5 on Windows 32-bit and Linux 64-bit.
Below is the procedure I found that works. Note that I only did some basic
testing with which consisted of generating 3 xtext grammars and verifying
the editor works with some language source files.
1) For Windows download and install eclipse-SDK-3.5M6-win32.zip and for
Linux 64-bit download and install eclipse-SDK-3.5M6-linux-gtk-x86_64.tar. I
presume the other platforms should work similarly with this procedure.
2) Install the modeling plugins using Help->Install New Software. In the
"work with:" pull down select "All Available Sites". Check the modeling
option (i.e. install all modeling components).
3) Download the Itemis Xtext 3.5 M6 distro
( http://oaw.itemis.de/openarchitectureware/language=de/660/do wnloads)
because it has the required Antlr related jars needed to make the
intallation work (I have always used Antlr and don't really know what will
happen without it. Since I am very familiar with Antlr I prefer it since I
know how to deal with its errors and warnings resulting from the grammar I
write with Xtext). Copy the following plug-ins to your new installation:
org.antlr.gen_3.0.1.200903171045
de.itemis.xtext.antlr_0.7.0.200903171045.jar
The reason for step 3 is I could not get a set of working Antlr jars any
other way. There is a link in the Xtext documentation
(http://wiki.eclipse.org/Xtext/Documentation) which points to
http://www.itemis.com/error/404?aspxerrorpath=/itemis-ag/mil estones but this
page does not exist anymore. I found a link to
http://ftp.itemis.de/files/xtext/antlr.zip but these plug-ins did not work.
They seem dated with respect to M6.
Based on my experiments these two plug-ins just need to be posted and
referenced in the document for 3.5 installs to work, unless, of course, if
there is some easier method I am missing.
Derek
|
|
|
|
Re: [Xtext] Installing XText M6 on 3.5M6 [message #38460 is a reply to message #38427] |
Tue, 07 April 2009 01:14  |
Eclipse User |
|
|
|
Ok, Thanks Lucian!!! That makes the procedure really easy.
Generally I also gather all the plugins first but I saw the modeling
contents for M6 seemed to have Xtext M6. I certainly should verify the rest
of the numbers...
I am going to try 3.4 now and that will require grabbing all the
dependencies and adding them on top of my other updates. I am going in with
the assumption that EMF 2.5 is not needed based on some comments from Ed
Merks earlier (this may be obvious to everyone but not to me) and that all
other packages on the Xtext download page should supercede whatever I have
in my 3.4 envs.
Derek
"Lazar Codrut-Lucian" <lcodrutlucian@yahoo.com> wrote in message
news:grekdn$1ge$1@build.eclipse.org...
> At the bottom of this page:
> http://www.eclipse.org/modeling/tmf/downloads/?project=xtext
> you can find the link to Antlr for the Update Manager:
> http://xtext.itemis.com/updates/milestones/site.xml
>
> The link is placed in a really visible place. How could you miss it? :-)
>
> My strategy was to download all the dependencies by hand (including
> Eclipse 3.5M6). This way, I knew that what I got has the proper version.
> Antlr is the only thing I installed using the Update Manager.
>
> Lucian
>
> Derek Palma wrote:
>> Hi,
>>
>> I am trying to get Xtext integrated into our main dev environments. For
>> this particular case the target was 3.5 on Windows 32-bit and Linux
>> 64-bit.
>>
>> Below is the procedure I found that works. Note that I only did some
>> basic testing with which consisted of generating 3 xtext grammars and
>> verifying the editor works with some language source files.
>>
>> 1) For Windows download and install eclipse-SDK-3.5M6-win32.zip and for
>> Linux 64-bit download and install
>> eclipse-SDK-3.5M6-linux-gtk-x86_64.tar. I presume the other platforms
>> should work similarly with this procedure.
>>
>> 2) Install the modeling plugins using Help->Install New Software. In the
>> "work with:" pull down select "All Available Sites". Check the modeling
>> option (i.e. install all modeling components).
>>
>> 3) Download the Itemis Xtext 3.5 M6 distro
>> ( http://oaw.itemis.de/openarchitectureware/language=de/660/do wnloads)
>> because it has the required Antlr related jars needed to make the
>> intallation work (I have always used Antlr and don't really know what
>> will happen without it. Since I am very familiar with Antlr I prefer it
>> since I know how to deal with its errors and warnings resulting from the
>> grammar I write with Xtext). Copy the following plug-ins to your new
>> installation:
>>
>> org.antlr.gen_3.0.1.200903171045
>> de.itemis.xtext.antlr_0.7.0.200903171045.jar
>>
>> The reason for step 3 is I could not get a set of working Antlr jars any
>> other way. There is a link in the Xtext documentation
>> (http://wiki.eclipse.org/Xtext/Documentation) which points to
>> http://www.itemis.com/error/404?aspxerrorpath=/itemis-ag/mil estones but
>> this page does not exist anymore. I found a link to
>> http://ftp.itemis.de/files/xtext/antlr.zip but these plug-ins did not
>> work. They seem dated with respect to M6.
>>
>> Based on my experiments these two plug-ins just need to be posted and
>> referenced in the document for 3.5 installs to work, unless, of course,
>> if there is some easier method I am missing.
>>
>> Derek
|
|
|
Powered by
FUDForum. Page generated in 0.04579 seconds