You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ed Kohlwey (JIRA)" <ji...@apache.org> on 2012/05/17 20:00:15 UTC
[jira] [Updated] (AVRO-1094) Impossible to use non-default velocity
templates
[ https://issues.apache.org/jira/browse/AVRO-1094?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ed Kohlwey updated AVRO-1094:
-----------------------------
Attachment: AVRO-1094.patch
> 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