mirror of https://github.com/apache/activemq.git
added lib/web directory if folks are embedded web apps in the broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515989 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dccd381c8f
commit
af9cc56068
|
@ -71,20 +71,27 @@ public class Main {
|
|||
// ${activemq.home}/lib/*
|
||||
// ${activemq.base}/lib/optional/* (only if activemq.base != activemq.home)
|
||||
// ${activemq.home}/lib/optional/*
|
||||
// ${activemq.base}/lib/web/* (only if activemq.base != activemq.home)
|
||||
// ${activemq.home}/lib/web/*
|
||||
//
|
||||
if(useDefExt && app.canUseExtdir()) {
|
||||
|
||||
boolean baseIsHome = app.getActiveMQBase().equals(app.getActiveMQHome());
|
||||
|
||||
if(!baseIsHome) {
|
||||
app.addExtensionDirectory(new File(app.getActiveMQBase(), "lib"));
|
||||
}
|
||||
app.addExtensionDirectory(new File(app.getActiveMQHome(), "lib"));
|
||||
File baseLibDir = new File(app.getActiveMQBase(), "lib");
|
||||
File homeLibDir = new File(app.getActiveMQHome(), "lib");
|
||||
|
||||
if(!baseIsHome) {
|
||||
app.addExtensionDirectory(new File(new File(app.getActiveMQBase(), "lib"), "optional"));
|
||||
app.addExtensionDirectory(baseLibDir);
|
||||
}
|
||||
app.addExtensionDirectory(new File(new File(app.getActiveMQHome(), "lib"), "optional"));
|
||||
app.addExtensionDirectory(homeLibDir);
|
||||
|
||||
if(!baseIsHome) {
|
||||
app.addExtensionDirectory(new File(baseLibDir, "optional"));
|
||||
app.addExtensionDirectory(new File(baseLibDir, "web"));
|
||||
}
|
||||
app.addExtensionDirectory(new File(homeLibDir, "optional"));
|
||||
app.addExtensionDirectory(new File(homeLibDir, "web"));
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
ActiveMQ is an effort undergoing incubation at the Apache Software Foundation
|
||||
(ASF), sponsored by the Geronimo PMC. Incubation is required of all newly
|
||||
accepted projects until a further review indicates that the infrastructure,
|
||||
communications, and decision making process have stabilized in a manner
|
||||
consistent with other successful ASF projects. While incubation status is not
|
||||
necessarily a reflection of the completeness or stability of the code, it does
|
||||
indicate that the project has yet to be fully endorsed by the ASF.
|
Loading…
Reference in New Issue