Update Groovy-Core
- Create a new Branch
https://svn.codehaus.org.groovy/trunk/ide/groovy-eclipse (Trunk)
https://svn.codehaus.org.groovy/branches/ide/groovy-eclipse/1.5.x
svn copy [source] [target] -m "message"
- Checkout the new created branch
- Run all tests to verify that the version is ok
- Exchange Jars from the official distribution release (Maven Repo)
the jars are stored in the project org.codehaus.groovy
- groovy-1.5.x.jar
- groovy-all-1.5.6.x.jar
- groovy-sources.jar
- groovy-javadoc.jar
- Extract the grammar file out of sources.jar (groovy.g)
- Merge the new grammar with the old grammar to get the error recovery (org.codehaus.groovy.eclipse.core/src/org/codehaus/groovy/eclipse/core/compiler/internal/antlr)
- Insert code which is marked with // Recovery
- modify the header of the grammar
- modify the errorList
- modify getErrorList
- Install antlr 2.7.x on yor system
- Generate the new Lexer
antlr.bat [path -> gramar groovy.g]
- Replace the generated files with the existing in the plugin
- Change the paths to all JARs (search/replace 1.5.x in all files)
- Run all tests to verify that the new grammar is working fine