Updated Branches:
  refs/heads/master 4316ae2ea -> efc45dbbb

change classpath parameters


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/efc45dbb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/efc45dbb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/efc45dbb

Branch: refs/heads/master
Commit: efc45dbbbaeb3cf074b1b6e2e6009efa81485849
Parents: 4316ae2
Author: Sajith Kariyawasam <[email protected]>
Authored: Mon Nov 25 15:56:44 2013 +0530
Committer: Sajith Kariyawasam <[email protected]>
Committed: Mon Nov 25 15:56:44 2013 +0530

----------------------------------------------------------------------
 .../modules/event-subscriber/src/main/bin/event-subscriber.sh    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/efc45dbb/products/cartridge-agent/modules/event-subscriber/src/main/bin/event-subscriber.sh
----------------------------------------------------------------------
diff --git 
a/products/cartridge-agent/modules/event-subscriber/src/main/bin/event-subscriber.sh
 
b/products/cartridge-agent/modules/event-subscriber/src/main/bin/event-subscriber.sh
index 01971ba..1297e12 100644
--- 
a/products/cartridge-agent/modules/event-subscriber/src/main/bin/event-subscriber.sh
+++ 
b/products/cartridge-agent/modules/event-subscriber/src/main/bin/event-subscriber.sh
@@ -22,7 +22,7 @@
 
 echo "Starting event subscriber..."
 lib_path=./../lib/
-class_path=${lib_path}commons-io-2.0.jar:${lib_path}andes-client-0.13.wso2v8.jar:${lib_path}apache-stratos-event-subscriber-4.0.0-SNAPSHOT.jar:${lib_path}commons-codec-1.8.jar:${lib_path}commons-logging-1.1.1.jar:${lib_path}geronimo-jms_1.1_spec-1.1.0.wso2v1.jar:${lib_path}geronimo-jms_1.1_spec-1.1.jar:${lib_path}gson-2.2.4.jar:${lib_path}log4j-1.2.13.jar:${lib_path}org.apache.log4j-1.2.13.v200706111418.jar:${lib_path}org.apache.stratos.messaging-4.0.0-SNAPSHOT.jar:${lib_path}org.wso2.carbon.logging-4.1.0.jar:${lib_path}slf4j-api-1.7.5.jar:${lib_path}slf4j-log4j12-1.7.5.jar:${lib_path}org.apache.stratos.deployment.synchronizer-4.0.0-SNAPSHOT.jar
+class_path=`echo ${lib_path}/*.jar | tr ' ' ':'`
 
-java -cp $class_path org.apache.stratos.cartridge.agent.event.subscriber.Main 
../conf
+java -cp "${class_path}" 
org.apache.stratos.cartridge.agent.event.subscriber.Main ../conf
 echo "Event subscriber completed"

Reply via email to