activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject [2/4] git commit: More work improving the openwire generator.
Date Mon, 24 Feb 2014 23:59:40 GMT
More work improving the openwire generator.


Project: http://git-wip-us.apache.org/repos/asf/activemq-apollo/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-apollo/commit/bb366a22
Tree: http://git-wip-us.apache.org/repos/asf/activemq-apollo/tree/bb366a22
Diff: http://git-wip-us.apache.org/repos/asf/activemq-apollo/diff/bb366a22

Branch: refs/heads/trunk
Commit: bb366a2217dabef2f8d2a38646c193ada91fe146
Parents: 22025b7
Author: Hiram Chirino <hiram@hiramchirino.com>
Authored: Mon Feb 24 18:53:33 2014 -0500
Committer: Hiram Chirino <hiram@hiramchirino.com>
Committed: Mon Feb 24 18:54:07 2014 -0500

----------------------------------------------------------------------
 .../apollo/openwire/generator/ApolloMarshallingGenerator.scala | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-apollo/blob/bb366a22/apollo-openwire-generator/src/main/scala/org/apache/activemq/apollo/openwire/generator/ApolloMarshallingGenerator.scala
----------------------------------------------------------------------
diff --git a/apollo-openwire-generator/src/main/scala/org/apache/activemq/apollo/openwire/generator/ApolloMarshallingGenerator.scala
b/apollo-openwire-generator/src/main/scala/org/apache/activemq/apollo/openwire/generator/ApolloMarshallingGenerator.scala
index 36570ec..6467076 100644
--- a/apollo-openwire-generator/src/main/scala/org/apache/activemq/apollo/openwire/generator/ApolloMarshallingGenerator.scala
+++ b/apollo-openwire-generator/src/main/scala/org/apache/activemq/apollo/openwire/generator/ApolloMarshallingGenerator.scala
@@ -298,10 +298,10 @@ class ApolloMarshallingGenerator extends MultiSourceGenerator {
   protected def generateFactory(out: PrintWriter): Unit = {
     generateLicence(out)
     out.println("")
-    out.println("package org.apache.activemq.apollo.openwire.codec.v" + getOpenwireVersion
+ ";")
+    out.println("package "+packagePrefix+".v" + getOpenwireVersion + ";")
     out.println("")
-    out.println("import org.apache.activemq.apollo.openwire.codec.DataStreamMarshaller;")
-    out.println("import org.apache.activemq.apollo.openwire.codec.OpenWireFormat;")
+    out.println("import "+packagePrefix+".DataStreamMarshaller;")
+    out.println("import "+packagePrefix+".OpenWireFormat;")
     out.println("")
     out.println("/**")
     out.println(" * MarshallerFactory for Open Wire Format.")


Mime
View raw message