activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject [2/2] git commit: Makes it easier to launch activemq from an IDE in debug mode.
Date Wed, 30 Oct 2013 17:56:37 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/2a592949
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/2a592949
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/2a592949

Branch: refs/heads/trunk
Commit: 2a59294909d0d0ede024533bca04c86a46c14411
Parents: f731156
Author: Hiram Chirino <hiram@hiramchirino.com>
Authored: Wed Oct 30 13:56:22 2013 -0400
Committer: Hiram Chirino <hiram@hiramchirino.com>
Committed: Wed Oct 30 13:56:22 2013 -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/2a592949/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