From 786cb19eb3d0b23662087b4bdd22109ee53b0b6f Mon Sep 17 00:00:00 2001 From: charithag Date: Wed, 12 Aug 2015 12:30:53 +0530 Subject: [PATCH] Add db creation from sql script for samples --- .../src/samples/android_sense/build.xml | 36 ++++++++++++++++++ .../android_sense/sketch/android_sense.apk | 0 .../android_sense/sketch/sketch.properties | 2 + .../android_sense/units}/android_sense.hbs | 0 .../android_sense/units}/android_sense.js | 0 .../android_sense/units}/android_sense.json | 0 .../public/images/android_sense-thumb.png | Bin .../units}/public/images/android_sense.png | Bin .../android_sense/units}/public/store.json | 0 .../src/samples/arduino/build.xml | 28 ++++++++++---- modules/distribution/src/samples/common.xml | 11 ++++-- .../src/samples/digital_display/build.xml | 28 ++++++++++---- .../src/samples/firealarm/build.xml | 28 ++++++++++---- .../src/samples/raspberrypi/build.xml | 36 ++++++++++++++++++ .../raspberrypi/sketch/raspberrypi.deb | 0 .../raspberrypi/sketch/sketch.properties | 2 + .../public/images/raspberrypi-thumb.png | Bin .../units}/public/images/raspberrypi.png | Bin .../raspberrypi/units}/public/store.json | 0 .../raspberrypi/units}/raspberrypi.hbs | 0 .../raspberrypi/units}/raspberrypi.js | 0 .../raspberrypi/units}/raspberrypi.json | 0 .../src/samples/sensebot/build.xml | 29 +++++++++----- 23 files changed, 164 insertions(+), 36 deletions(-) create mode 100644 modules/distribution/src/samples/android_sense/build.xml create mode 100644 modules/distribution/src/samples/android_sense/sketch/android_sense.apk create mode 100644 modules/distribution/src/samples/android_sense/sketch/sketch.properties rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/android_sense => samples/android_sense/units}/android_sense.hbs (100%) rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/android_sense => samples/android_sense/units}/android_sense.js (100%) rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/android_sense => samples/android_sense/units}/android_sense.json (100%) rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/android_sense => samples/android_sense/units}/public/images/android_sense-thumb.png (100%) rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/android_sense => samples/android_sense/units}/public/images/android_sense.png (100%) rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/android_sense => samples/android_sense/units}/public/store.json (100%) create mode 100644 modules/distribution/src/samples/raspberrypi/build.xml create mode 100644 modules/distribution/src/samples/raspberrypi/sketch/raspberrypi.deb create mode 100644 modules/distribution/src/samples/raspberrypi/sketch/sketch.properties rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/raspberrypi => samples/raspberrypi/units}/public/images/raspberrypi-thumb.png (100%) rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/raspberrypi => samples/raspberrypi/units}/public/images/raspberrypi.png (100%) rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/raspberrypi => samples/raspberrypi/units}/public/store.json (100%) rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/raspberrypi => samples/raspberrypi/units}/raspberrypi.hbs (100%) rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/raspberrypi => samples/raspberrypi/units}/raspberrypi.js (100%) rename modules/distribution/src/{repository/jaggeryapps/iotserver/units/raspberrypi => samples/raspberrypi/units}/raspberrypi.json (100%) diff --git a/modules/distribution/src/samples/android_sense/build.xml b/modules/distribution/src/samples/android_sense/build.xml new file mode 100644 index 00000000..86b5be1a --- /dev/null +++ b/modules/distribution/src/samples/android_sense/build.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/modules/distribution/src/samples/android_sense/sketch/android_sense.apk b/modules/distribution/src/samples/android_sense/sketch/android_sense.apk new file mode 100644 index 00000000..e69de29b diff --git a/modules/distribution/src/samples/android_sense/sketch/sketch.properties b/modules/distribution/src/samples/android_sense/sketch/sketch.properties new file mode 100644 index 00000000..5db8a62d --- /dev/null +++ b/modules/distribution/src/samples/android_sense/sketch/sketch.properties @@ -0,0 +1,2 @@ +templates=android_sense.apk +zipfilename=android_sense.zip \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/android_sense.hbs b/modules/distribution/src/samples/android_sense/units/android_sense.hbs similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/android_sense.hbs rename to modules/distribution/src/samples/android_sense/units/android_sense.hbs diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/android_sense.js b/modules/distribution/src/samples/android_sense/units/android_sense.js similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/android_sense.js rename to modules/distribution/src/samples/android_sense/units/android_sense.js diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/android_sense.json b/modules/distribution/src/samples/android_sense/units/android_sense.json similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/android_sense.json rename to modules/distribution/src/samples/android_sense/units/android_sense.json diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/public/images/android_sense-thumb.png b/modules/distribution/src/samples/android_sense/units/public/images/android_sense-thumb.png similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/public/images/android_sense-thumb.png rename to modules/distribution/src/samples/android_sense/units/public/images/android_sense-thumb.png diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/public/images/android_sense.png b/modules/distribution/src/samples/android_sense/units/public/images/android_sense.png similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/public/images/android_sense.png rename to modules/distribution/src/samples/android_sense/units/public/images/android_sense.png diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/public/store.json b/modules/distribution/src/samples/android_sense/units/public/store.json similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/android_sense/public/store.json rename to modules/distribution/src/samples/android_sense/units/public/store.json diff --git a/modules/distribution/src/samples/arduino/build.xml b/modules/distribution/src/samples/arduino/build.xml index 17a081cb..6c63b72d 100644 --- a/modules/distribution/src/samples/arduino/build.xml +++ b/modules/distribution/src/samples/arduino/build.xml @@ -3,22 +3,34 @@ - + - - - + + + + + + + + + + + + + + + - + - - - + + + \ No newline at end of file diff --git a/modules/distribution/src/samples/common.xml b/modules/distribution/src/samples/common.xml index ab8cb74f..73d852ac 100644 --- a/modules/distribution/src/samples/common.xml +++ b/modules/distribution/src/samples/common.xml @@ -1,5 +1,10 @@ - - - + + + + + + + + \ No newline at end of file diff --git a/modules/distribution/src/samples/digital_display/build.xml b/modules/distribution/src/samples/digital_display/build.xml index 1e380f83..99644e9a 100644 --- a/modules/distribution/src/samples/digital_display/build.xml +++ b/modules/distribution/src/samples/digital_display/build.xml @@ -3,22 +3,34 @@ - + - - - + + + + + + + + + + + + + + + - + - - - + + + \ No newline at end of file diff --git a/modules/distribution/src/samples/firealarm/build.xml b/modules/distribution/src/samples/firealarm/build.xml index e70c34b5..f5bfe333 100644 --- a/modules/distribution/src/samples/firealarm/build.xml +++ b/modules/distribution/src/samples/firealarm/build.xml @@ -3,22 +3,34 @@ - + - - - + + + + + + + + + + + + + + + - + - - - + + + \ No newline at end of file diff --git a/modules/distribution/src/samples/raspberrypi/build.xml b/modules/distribution/src/samples/raspberrypi/build.xml new file mode 100644 index 00000000..a4f3253b --- /dev/null +++ b/modules/distribution/src/samples/raspberrypi/build.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/modules/distribution/src/samples/raspberrypi/sketch/raspberrypi.deb b/modules/distribution/src/samples/raspberrypi/sketch/raspberrypi.deb new file mode 100644 index 00000000..e69de29b diff --git a/modules/distribution/src/samples/raspberrypi/sketch/sketch.properties b/modules/distribution/src/samples/raspberrypi/sketch/sketch.properties new file mode 100644 index 00000000..cf22ef63 --- /dev/null +++ b/modules/distribution/src/samples/raspberrypi/sketch/sketch.properties @@ -0,0 +1,2 @@ +templates=raspberrypi.deb +zipfilename=raspberrypi.zip \ No newline at end of file diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/public/images/raspberrypi-thumb.png b/modules/distribution/src/samples/raspberrypi/units/public/images/raspberrypi-thumb.png similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/public/images/raspberrypi-thumb.png rename to modules/distribution/src/samples/raspberrypi/units/public/images/raspberrypi-thumb.png diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/public/images/raspberrypi.png b/modules/distribution/src/samples/raspberrypi/units/public/images/raspberrypi.png similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/public/images/raspberrypi.png rename to modules/distribution/src/samples/raspberrypi/units/public/images/raspberrypi.png diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/public/store.json b/modules/distribution/src/samples/raspberrypi/units/public/store.json similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/public/store.json rename to modules/distribution/src/samples/raspberrypi/units/public/store.json diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/raspberrypi.hbs b/modules/distribution/src/samples/raspberrypi/units/raspberrypi.hbs similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/raspberrypi.hbs rename to modules/distribution/src/samples/raspberrypi/units/raspberrypi.hbs diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/raspberrypi.js b/modules/distribution/src/samples/raspberrypi/units/raspberrypi.js similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/raspberrypi.js rename to modules/distribution/src/samples/raspberrypi/units/raspberrypi.js diff --git a/modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/raspberrypi.json b/modules/distribution/src/samples/raspberrypi/units/raspberrypi.json similarity index 100% rename from modules/distribution/src/repository/jaggeryapps/iotserver/units/raspberrypi/raspberrypi.json rename to modules/distribution/src/samples/raspberrypi/units/raspberrypi.json diff --git a/modules/distribution/src/samples/sensebot/build.xml b/modules/distribution/src/samples/sensebot/build.xml index 06a5cc64..b771e1da 100644 --- a/modules/distribution/src/samples/sensebot/build.xml +++ b/modules/distribution/src/samples/sensebot/build.xml @@ -5,24 +5,35 @@ - - - + + + + + + + + + + + + + + - + - + - - - - + + + + \ No newline at end of file