activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject [3/4] git commit: Support configuring the package names in the openwire generator standalone app.
Date Mon, 24 Feb 2014 23:59:41 GMT
Support configuring the package names in the openwire generator standalone app.


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

Branch: refs/heads/trunk
Commit: 22025b7cfdd3385103c09203985d736c31366355
Parents: 1637f4b
Author: Hiram Chirino <hiram@hiramchirino.com>
Authored: Mon Feb 24 09:45:46 2014 -0500
Committer: Hiram Chirino <hiram@hiramchirino.com>
Committed: Mon Feb 24 18:54:07 2014 -0500

----------------------------------------------------------------------
 .../activemq/apollo/openwire/generator/GeneratorTask.scala     | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-apollo/blob/22025b7c/apollo-openwire-generator/src/main/scala/org/apache/activemq/apollo/openwire/generator/GeneratorTask.scala
----------------------------------------------------------------------
diff --git a/apollo-openwire-generator/src/main/scala/org/apache/activemq/apollo/openwire/generator/GeneratorTask.scala
b/apollo-openwire-generator/src/main/scala/org/apache/activemq/apollo/openwire/generator/GeneratorTask.scala
index 62017ea..d2d0cf9 100644
--- a/apollo-openwire-generator/src/main/scala/org/apache/activemq/apollo/openwire/generator/GeneratorTask.scala
+++ b/apollo-openwire-generator/src/main/scala/org/apache/activemq/apollo/openwire/generator/GeneratorTask.scala
@@ -49,6 +49,12 @@ object GeneratorTask {
     if (args.length > 2) {
       generator.targetDir = new File(args(2))
     }
+    if (args.length > 3) {
+      generator.packagePrefix = args(3)
+    }
+    if (args.length > 4) {
+      generator.commandPackage = args(4)
+    }
     generator.execute
   }
 }


Mime
View raw message