Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
Patch
Description
Would be nice if avro sources would be regenerated automatically any time you save the avro file in you ide?
Well, I got it working! At least for eclipse. Just import maven project with this version of plugin and it will just work. No complains about not mapped execution, no need to run "mvn generate-sources" again. Just modify the file in your ide and save.
I wonder if intellij support the same api.
Notes:
1) For idl files (and jackson parsing exceptions) it will even show error on the right place.
2) Parsing the javacc ParseException using regexp is really ugly but it does not fill the token as an object into the exception.
3) There are no tests for this - unfortunately testing the ide is possible but not trivial.
BTW: Is avro still doing the old-school patches in jira or do the pull requests work?