Right now, open-import is used in languages like WebDSL, Stratego, and Mobl, and caches the ASTs of files. Once one of those languages changes, the old AST may no longer be well-formed. The least we could do is clear the parse cache with every deployed plugin update, so this issue won’t bother end programmers.

Submitted by Lennart Kats on 4 May 2010 at 11:58

On 4 May 2010 at 12:20 Nathan Bruning commented:

An implementation of this can be found in the WebDSL editor.

Link to file in svn repository


On 4 May 2010 at 13:46 Lennart Kats commented:

Yes, I’ve seen the approach used in the WebDSL editor. It would be nice to do something like that but then get the version number through the Eclipse API instead of an imported term.


On 7 June 2010 at 17:17 Nathan Bruning commented:

See here for retrieving the plugins version from within Java.

Note also that the manifest of the plugin must include

Bundle-ActivationPolicy = lazy

as in this manifest, which tells Eclipse to start the Activator on first plugin class load.


On 8 January 2013 at 17:26 Gabriël Konat tagged abandoned

On 8 January 2013 at 17:26 Gabriël Konat closed this issue.

Log in to post comments