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

George Fletcher commented on AVRO-1036:
---------------------------------------

Yes, that's a good point and I like your patch better. One other thought I had 
is that we could just add the sourceDirectory to the ClassLoader in the 
IDLProtocolMojo.java and then just use the ClassLoader mechanism across the 
board. 
                
> IDL processing fails with multi-level nested imports
> ----------------------------------------------------
>
>                 Key: AVRO-1036
>                 URL: https://issues.apache.org/jira/browse/AVRO-1036
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.6.2
>            Reporter: George Fletcher
>            Assignee: Doug Cutting
>             Fix For: 1.6.3
>
>         Attachments: AVRO-1036.patch, jira-1036.patch
>
>
> The change to support finding IDL related files on the classpath in addition 
> to the maven-plugin defined directory caused the context of the 
> "sourceDirectory" to be lost when the InputStream return by findFile() is 
> used to create a new Idl instance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to