mirror of https://github.com/apache/activemq.git
Makes it easier to launch activemq from an IDE in debug mode.
This commit is contained in:
parent
f7311567a0
commit
2a59294909
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue