Jan Prach created AVRO-1671:
-------------------------------
Summary: maven plugin eclipse integration
Key: AVRO-1671
URL: https://issues.apache.org/jira/browse/AVRO-1671
Project: Avro
Issue Type: New Feature
Components: java
Reporter: Jan Prach
Assignee: Jan Prach
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?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)