You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2012/05/17 20:12:21 UTC

[jira] [Commented] (AVRO-1094) Impossible to use non-default velocity templates

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

Doug Cutting commented on AVRO-1094:
------------------------------------

Patch looks good.  Should we add a test that uses this, so that someone doesn't inadvertently break this?
                
> Impossible to use non-default velocity templates
> ------------------------------------------------
>
>                 Key: AVRO-1094
>                 URL: https://issues.apache.org/jira/browse/AVRO-1094
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.6.2, 1.6.3
>            Reporter: Ed Kohlwey
>         Attachments: AVRO-1094.patch
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> It is effectively impossible to use a non-default velocity template for Avro compilation via the Maven plugin because the plugin's classloader only gives you access to its classpath and its dependencies classpath.
> This can be fixed by adding more resource loaders to Velocity in AvroCompiler.java.
> I'll update this with a patch soon.

--
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