avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r1211255 - /avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/IDLProtocolMojo.java
Date Wed, 07 Dec 2011 01:19:28 GMT
Author: cutting
Date: Wed Dec  7 01:19:27 2011
New Revision: 1211255

URL: http://svn.apache.org/viewvc?rev=1211255&view=rev
Log:
AVRO-963.  Add change that was somehow missed.

Modified:
    avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/IDLProtocolMojo.java

Modified: avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/IDLProtocolMojo.java
URL: http://svn.apache.org/viewvc/avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/IDLProtocolMojo.java?rev=1211255&r1=1211254&r2=1211255&view=diff
==============================================================================
--- avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/IDLProtocolMojo.java
(original)
+++ avro/trunk/lang/java/maven-plugin/src/main/java/org/apache/avro/mojo/IDLProtocolMojo.java
Wed Dec  7 01:19:27 2011
@@ -61,6 +61,7 @@ public class IDLProtocolMojo extends Abs
       Protocol protocol = Protocol.parse(json);
       SpecificCompiler compiler = new SpecificCompiler(protocol);
       compiler.setStringType(GenericData.StringType.valueOf(stringType));
+      compiler.setTemplateDir(templateDirectory);
       compiler.compileToDestination(null, outputDirectory);
     } catch (ParseException e) {
       throw new IOException(e);



Mime
View raw message