Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1671

maven plugin eclipse integration

Add voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • java
    • 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?

      Attachments

        1. AVRO-1671.patch
          18 kB
          Jan Prach

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jendap Jan Prach
            jendap Jan Prach

            Dates

              Created:
              Updated:

              Slack

                Issue deployment