You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2014/02/25 00:59:41 UTC

[3/4] git commit: Support configuring the package names in the openwire generator standalone app.

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 <hi...@hiramchirino.com>
Authored: Mon Feb 24 09:45:46 2014 -0500
Committer: Hiram Chirino <hi...@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
   }
 }