[
https://issues.apache.org/jira/browse/AVRO-962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
George Fletcher updated AVRO-962:
---------------------------------
Fix Version/s: 1.6.2
Status: Patch Available (was: Open)
Added support for specifying the "string type" for IDL files (*.avdl). Two of
the IDL files used in the test suite were *.avdl formatted (social.avdl and
avroTrace.avdl). This required changes to the test code as the pom.xml for
avro-ipc specifies the "string type" as String.
> Avro maven plugin does not support String type override in
> IDLProtocolMojo.java
> -------------------------------------------------------------------------------
>
> Key: AVRO-962
> URL: https://issues.apache.org/jira/browse/AVRO-962
> Project: Avro
> Issue Type: Bug
> Components: java
> Affects Versions: 1.6.1
> Reporter: George Fletcher
> Priority: Minor
> Fix For: 1.6.2
>
>
> This following line needs to added to IDLProtocolMojo.java
> SpecificCompiler compiler = new SpecificCompiler(protocol);
> + compiler.setStringType(StringType.valueOf(stringType));
> compiler.compileToDestination(null, outputDirectory);
--
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