From a4695dfb2ced6390b65ee7bae01afd1ed3fb00d2 Mon Sep 17 00:00:00 2001 From: GPrathap Date: Thu, 25 Feb 2016 08:29:15 +0530 Subject: [PATCH] added mqtt dependency to sample agent application --- .../feature/src/main/resources/agent/startService.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/agent/startService.sh b/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/agent/startService.sh index e07bf814..3ff16d5a 100644 --- a/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/agent/startService.sh +++ b/modules/tools/cdmf-devicetype-archetype/src/main/resources/archetype-resources/feature/feature/src/main/resources/agent/startService.sh @@ -43,6 +43,11 @@ for f in ./deviceConfig.properties; do break done +#install mqtt dependency +git clone git://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.python.git +cd org.eclipse.paho.mqtt.python +sudo python setup.py install + cd $currentDir #while true; do @@ -64,7 +69,6 @@ if [ $? -ne 0 ]; then exit; fi - echo "--------------------------------------------------------------------------" echo "| Successfully Started " echo "| -------------------------- "