[
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
Does this work a little better? It uses a little fancier class loader
manipulation that should be robust in both environments.
> 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
> Fix For: 1.7.0
>
> Attachments: AVRO-1094.patch, AVRO-1094.patch, AVRO-1094.patch,
> AVRO-1094.patch.2
>
> 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