Makes it easier to launch activemq from an IDE in debug mode.

This commit is contained in:
Hiram Chirino 2013-10-30 13:56:22 -04:00
parent f7311567a0
commit 2a59294909
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}