3 # Fail script on any failure
6 # Move to script direotory
7 pushd `dirname $0` > /dev/null
11 # JavaDoc now... from Uze's script
12 ANDROID_JAR="$ANDROID_HOME/platforms/android-21/android.jar"
14 if [ ! -e "$ANDROID_JAR" ]; then
15 echo "Android platform not found. Expected '$ANDROID_JAR'"
19 BASE_PATH="android/android_api/base/src/main/java/"
20 BASE_PKG="org.iotivity.base"
22 TM_PATH="service/things-manager/sdk/java/src/"
23 TM_PKG="org.iotivity.service.tm"
25 SSM_PATH="service/soft-sensor-manager/SDK/java/"
26 SSM_PKG="org.iotivity.service.ssm"
28 PPM_PATH="service/protocol-plugin/plugin-manager/src/Android/src"
29 PPM_PKG="service/protocol-plugin/plugin-manager/src/Android/src/org/iotivity/service/ppm/PluginManager.java service/protocol-plugin/plugin-manager/src/Android/src/org/iotivity/service/ppm/Plugin.java"
30 # PPM_PKG="org.iotivity.service.ppm"
34 -sourcepath $BASE_PATH:$TM_PATH:$SSM_PATH $BASE_PKG $TM_PKG $SSM_PKG $PPM_PKG \
35 -classpath $ANDROID_JAR
38 # NOTE: For now this is a workaround since I am ready to modify the doxygen setup
39 pushd resource/docs > /dev/null
42 # Check for warnings or errors
43 if [ -s doxygen.log ]; then
44 echo "Errors running doxygen. Review doxygen.log"
50 mv resource/docs/docs/html docs/cxx