01 September, 2009

Eclipse update sites for XText incubation

I've been fumbling around a bit trying to get XText 0.7.2 working in my Eclipse 3.5 installations, so I thought it might be helpful to write down what I've found.

There are 3 update sites that were needed in order to complete the update today.

  1. MWE SDK from EMFT→ http://download.eclipse.org/modeling/emft/updates/releases/
  2. The Xtext plugin from TMF→ http://download.eclipse.org/modeling/tmf/updates/
  3. The Xtext ANTLR Support plugin (0.7.2) from Itemis→ http://download.itemis.com/updates/
The last is optional, though there are warnings that the capability is limited without ANTLR. It is omitted due to the requirement for EPL in Eclipse projects; ANTLR's current license prevents it from being offered from the Eclipse.org update sites. These all appear in the list of Eclipse update sites on ekkes-corner.

The Itemis update site provides a convenient collection of all the related modeling plugins. I turns out that my difficulty resulted from the fact that I didn't realize p2 (Eclipse Provisioning Platform) wasn't loading the current contents of the update site, so I started to search for update sites that had the 0.7.2 release of the plugins. What I learned is that I can get the current contents of the update sites by opening the Install/Update Preferences and invoking 'Test Connection' on each. Perhaps there's a better way...

Hopefully not too many others will encounter the difficulty I had finding the right versions, particularly for MWE.


  1. john, there's also my collection of update sites:

  2. Hi John,

    the update site at itemis actually aggregates any required dependendies. If you choose TMF Xtext from there, you'll anything you need in a clean Eclipse environment. However, if you had 0.7.1 or 0.7.0 installed, you'll need to tick mwe and xpand as well, as the udpate manager fails when resolving the required updates.


  3. It turns out that part of the reason it took so long to organize a compatible set of plugins for Xtext is that my Eclipse installations were caching old contents for the update sites.

    The contents listed in the "install software" dialog was missing 0.7.2 on some of the recommended sites. To get the current contents, I opened the Preferences for Install/Update and used 'Test Connection' on each of the relevant sites. Is there a better way to assure that p2 is using the current contents of an update site?



Copyright 2009-2010 John Bito. Creative Commons License
This work is licensed under a Creative Commons Attribution-NoDerivs 3.0 Unported License.