spring batch in grails
I am trying to setup the spring batch project (2.0M4 version) to run with grails (1.2) I wanted to get the sample stuff up and running, so I created groovy files out of the various sample files that came with spring batch. Unfortunately, the sample files use Java inner classes, which groovy can't handle yet.
For now, I will just make these Java files, but I was a little surprised since I thought just about any syntactically correct java file was a valid Groovy file. Guess again. You learn something every day.
[groovyc] C:\grails_projects\ols\src\groovy\org\springframework\batch\sample\common\StagingItemWriter.groovy: 82: Unknown type: METHOD_DEF at line: 82 column:
6. File: C:\grails_projects\ols\src\groovy\org\springframework\batch\sample\common\StagingItemWriter.groovy @ line 82, column 6.
[groovyc] public int getBatchSize() {
[groovyc] ^
[groovyc]
[groovyc] 2 errors

Comments
Post new comment