You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Jan Prach (JIRA)" <ji...@apache.org> on 2015/07/13 19:05:04 UTC

[jira] [Commented] (AVRO-1671) maven plugin eclipse integration

    [ https://issues.apache.org/jira/browse/AVRO-1671?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624953#comment-14624953 ] 

Jan Prach commented on AVRO-1671:
---------------------------------

[~scott_carey] Are you using eclipse? Want to try it?

> 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
>         Attachments: AVRO-1671.patch
>
>
> 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)