mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2453 - fixing classpath so we can run something like '/activemq console xbean:conf/activemq-stomp.xml'
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@963264 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
67699f2a18
commit
70971237bf
|
@ -295,7 +295,7 @@ if [ "$OSTYPE" = "cygwin" ];then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Set default classpath
|
# Set default classpath
|
||||||
ACTIVEMQ_CLASSPATH="${ACTIVEMQ_CONFIG_DIR}/;${ACTIVEMQ_CLASSPATH}"
|
ACTIVEMQ_CLASSPATH="${ACTIVEMQ_CONFIG_DIR};${ACTIVEMQ_CLASSPATH}"
|
||||||
|
|
||||||
|
|
||||||
# ------------------------------------------------------------------------
|
# ------------------------------------------------------------------------
|
||||||
|
@ -333,7 +333,7 @@ invokeJar(){
|
||||||
fi
|
fi
|
||||||
# Execute java binary
|
# Execute java binary
|
||||||
if [ -n "$PIDFILE" ] && [ "$PIDFILE" != "stop" ];then
|
if [ -n "$PIDFILE" ] && [ "$PIDFILE" != "stop" ];then
|
||||||
$DOIT_PREFIX "cd $ACTIVEMQ_CONFIG_DIR; $JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
$DOIT_PREFIX "$JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
||||||
-Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \
|
-Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \
|
||||||
-Dactivemq.home=\"${ACTIVEMQ_HOME}\" \
|
-Dactivemq.home=\"${ACTIVEMQ_HOME}\" \
|
||||||
-Dactivemq.base=\"${ACTIVEMQ_BASE}\" \
|
-Dactivemq.base=\"${ACTIVEMQ_BASE}\" \
|
||||||
|
@ -344,7 +344,7 @@ invokeJar(){
|
||||||
echo \"INFO: pidfile created : '$PIDFILE' (pid '\$APID')\";exit \$RET" $DOIT_POSTFIX
|
echo \"INFO: pidfile created : '$PIDFILE' (pid '\$APID')\";exit \$RET" $DOIT_POSTFIX
|
||||||
RET="$?"
|
RET="$?"
|
||||||
elif [ -n "$PIDFILE" ] && [ "$PIDFILE" == "stop" ];then
|
elif [ -n "$PIDFILE" ] && [ "$PIDFILE" == "stop" ];then
|
||||||
$DOIT_PREFIX "cd $ACTIVEMQ_CONFIG_DIR; $JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
$DOIT_PREFIX "$JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
||||||
-Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \
|
-Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \
|
||||||
-Dactivemq.home=\"${ACTIVEMQ_HOME}\" \
|
-Dactivemq.home=\"${ACTIVEMQ_HOME}\" \
|
||||||
-Dactivemq.base=\"${ACTIVEMQ_BASE}\" \
|
-Dactivemq.base=\"${ACTIVEMQ_BASE}\" \
|
||||||
|
@ -352,7 +352,7 @@ invokeJar(){
|
||||||
-jar \"${ACTIVEMQ_HOME}/bin/run.jar\" $COMMANDLINE_ARGS &"
|
-jar \"${ACTIVEMQ_HOME}/bin/run.jar\" $COMMANDLINE_ARGS &"
|
||||||
RET="$?"
|
RET="$?"
|
||||||
else
|
else
|
||||||
$DOIT_PREFIX "cd $ACTIVEMQ_CONFIG_DIR; $JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
$DOIT_PREFIX "$JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
||||||
-Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \
|
-Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \
|
||||||
-Dactivemq.home=\"${ACTIVEMQ_HOME}\" \
|
-Dactivemq.home=\"${ACTIVEMQ_HOME}\" \
|
||||||
-Dactivemq.base=\"${ACTIVEMQ_BASE}\" \
|
-Dactivemq.base=\"${ACTIVEMQ_BASE}\" \
|
||||||
|
|
Loading…
Reference in New Issue