activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hadr...@apache.org
Subject [10/20] git commit: Makes it easier to launch activemq from an IDE in debug mode.
Date Wed, 12 Mar 2014 02:21:36 GMT
Makes it easier to launch activemq from an IDE in debug mode.


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

Branch: refs/heads/activemq-5.9
Commit: 7fd082a3a31ecd5a3e34f9a59c6f2fc758468764
Parents: 4db585d
Author: Hiram Chirino <hiram@hiramchirino.com>
Authored: Wed Oct 30 13:56:22 2013 -0400
Committer: Hadrian Zbarcea <hadrian@apache.org>
Committed: Tue Mar 11 21:04:45 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/activemq/console/Main.java            | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/7fd082a3/activemq-console/src/main/java/org/apache/activemq/console/Main.java
----------------------------------------------------------------------
diff --git a/activemq-console/src/main/java/org/apache/activemq/console/Main.java b/activemq-console/src/main/java/org/apache/activemq/console/Main.java
index 7923b14..a4dfe0b 100644
--- a/activemq-console/src/main/java/org/apache/activemq/console/Main.java
+++ b/activemq-console/src/main/java/org/apache/activemq/console/Main.java
@@ -399,6 +399,7 @@ public class Main {
             activeMQConfig = new File(System.getProperty("activemq.conf"));
         } else {
             activeMQConfig = new File(getActiveMQBase() + "/conf");
+            System.setProperty("activemq.conf", activeMQConfig.getAbsolutePath());
         }
         return activeMQConfig;
     }
@@ -410,6 +411,7 @@ public class Main {
             activeMQDataDir = new File(System.getProperty("activemq.data"));
         } else {
             activeMQDataDir = new File(getActiveMQBase() + "/data");
+            System.setProperty("activemq.data", activeMQDataDir.getAbsolutePath());
         }
         return activeMQDataDir;
     }


Mime
View raw message