Dear IoTivity,

I want to share how to make Javadoc including base API and primitive service 
API.

In command line,

# cd IoTivity
# javadoc -protected -splitindex -d ./javadoc -sourcepath 
"android/android_api/base/src/main/java/":"service/notification-manager/SampleApp/android/ResourceHostingSampleApp/src/":"service/soft-sensor-manager/SDK/java/":"service/things-manager/sdk/java/src/"
 org.iotivity.base com.example.resourcehostingsampleapp 
org.iotivity.service.ssm org.iotivity.service.tm 
"service/protocol-plugin/plugin-manager/src/Android/src/org/iotivity/service/ppm/PluginManager.java"

Or, you can add an excutable script file in the Iotivity directory,

 #!/bin/bash

BASE_PATH="android/android_api/base/src/main/java/"
BASE_PKG="org.iotivity.base"

TM_PATH="service/things-manager/sdk/java/src/"
TM_PKG="org.iotivity.service.tm"

SSM_PATH="service/soft-sensor-manager/SDK/java/"
SSM_PKG="org.iotivity.service.ssm"

PPM_PATH=""
PPM_PKG="service/protocol-plugin/plugin-manager/src/Android/src/org/iotivity/service/ppm/PluginManager.java"
# PPM_PKG="org.iotivity.service.ppm"

NM_PATH="service/notification-manager/SampleApp/android/ResourceHostingSampleApp/src/"
NM_PKG="com.example.resourcehostingsampleapp"

javadoc -protected -splitindex -d ./javadoc -sourcepath 
$BASE_PATH:$TM_PATH:$SSM_PATH:$PPM_PATH:$NM_PATH $BASE_PKG $TM_PKG $SSM_PKG 
$PPM_PKG $NM_PKG

=============================================================================

 Currently, as far as I know, SSM package is in Master branch, and the others 
are in Android branch.
So, you can not get full Javadoc untill they are merged. 

- Jun - 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20150417/4d6ff04d/attachment.html>

Reply via email to