avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Kohlwey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AVRO-1094) Impossible to use non-default velocity templates
Date Thu, 17 May 2012 17:58:08 GMT
Ed Kohlwey created AVRO-1094:
--------------------------------

             Summary: 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.3, 1.6.2
            Reporter: Ed Kohlwey


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

        

Mime
View raw message