Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6E38D1054C for ; Wed, 12 Mar 2014 02:21:59 +0000 (UTC) Received: (qmail 64586 invoked by uid 500); 12 Mar 2014 02:21:49 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 64345 invoked by uid 500); 12 Mar 2014 02:21:39 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 63905 invoked by uid 99); 12 Mar 2014 02:21:29 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Mar 2014 02:21:29 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A1D3A941109; Wed, 12 Mar 2014 02:21:28 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hadrian@apache.org To: commits@activemq.apache.org Date: Wed, 12 Mar 2014 02:21:36 -0000 Message-Id: <698bf741615e4a4f8923e0ab16ee1033@git.apache.org> In-Reply-To: <0dfdd7129b6349acad365bd8656f4f07@git.apache.org> References: <0dfdd7129b6349acad365bd8656f4f07@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [10/20] git commit: Makes it easier to launch activemq from an IDE in debug mode. 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 Authored: Wed Oct 30 13:56:22 2013 -0400 Committer: Hadrian Zbarcea 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; }