RCP: 0.7.7: InjectWordPropTable macro cannot be run
An internal error occurred during: "Exécution de InjectWordPropTableMacro.groovy".
BUG! exception in phase 'semantic analysis' in source unit 'file:/home/mdecorde/TXM/scripts/macro/org/txm/annotation/InjectWordPropTableMacro.groovy' Queuing new source whilst already iterating. Queued source is 'file:/home/mdecorde/TXM/scripts/macro/org/txm/annotation/AnnotationInjectionFilter.groovy'
Hypothesis: The macro is defined several times
http://jira.codehaus.org/browse/GRECLIPSE-1037
Solution
Groovy class must explicitely invok “super(…)” in their no-args
constructor.
In InjectPropTableFilter, add:
public AnnotationInjectionFilter() {
super(new File("").toURI().toURL());
}
Validation test
- Run InjectWordProp macro. No need to start the macro.
MD: OK Linux64, Mac OS X 10.6
(from redmine: issue id 1153, created on 2014/12/01 by Matthieu Decorde)