Imported Upstream version 1.1.0
[platform/upstream/iotivity.git] / resource / docs / javadocGen.sh
1 #******************************************************************
2 # JAVA API generation
3 #
4 # BASE
5 #
6 # RE ( Resource Encapsulation) : common, client, server
7 # TM ( Things Manager)
8 # RH ( Resource Hosting)
9 # easy setup
10 # simulator
11 # RC ( Resource Container)  next release
12 #
13 #-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
14
15
16
17 #!/bin/bash
18
19 BASE_PATH="../../android/android_api/base/src/main/java/"
20 BASE_PKG="org.iotivity.base"
21
22 RE_PATH="../../service/resource-encapsulation/android/service/src/main/java/"
23 RE_COMMON_PKG=org.iotivity.service
24 RE_CLINET_PKG=org.iotivity.service.client
25 RE_SERVER_PKG=org.iotivity.service.server
26
27 TM_SRCS="../../service/things-manager/sdk/java/src/org/iotivity/service/tm/ThingsConfiguration.java \
28          ../../service/things-manager/sdk/java/src/org/iotivity/service/tm/ThingsMaintenance.java"
29 TM_PKG=org.iotivity.service.tm
30
31 RH_PATH="../../service/resource-hosting/android/resource_hosting/src/"
32 RH_PKG=org.iotivity.ResourceHosting
33
34
35 EASYSETUP_PATH="../../service/easy-setup/mediator/richsdk/android/EasySetupCore/src/main/java/"
36 EASYSETUP_PKG=org.iotivity.service.easysetup.mediator
37
38
39 RESOURCECONTAINER_PATH="../../service/resource-container/android/resource-container/src/main/java/"
40 RESOURCECONTAINER_PKG=org.iotivity.service.resourcecontainer
41
42 javadoc -public -splitindex -d ./Java_API -sourcepath \
43     $BASE_PATH:$RE_PATH:$RH_PATH:$EASYSETUP_PATH:$RESOURCECONTAINER_PATH \
44     $BASE_PKG $RE_COMMON_PKG  $RE_CLINET_PKG $RE_SERVER_PKG $TM_SRCS $TM_PKG $RH_PKG $EASYSETUP_PKG \
45     $RESOURCECONTAINER_PKG 
46
47