I am trying to generate the documentation of my own package and also
the api xml for apicheck.
When I looked into the framework/base/Android.mk, I noticed that there
some options for javadoc are not supported by javadoc.
For example, in frameworks/base/Android.mk
400 LOCAL_DROIDDOC_OPTIONS:=\
401 $(framework_docs_LOCAL_DROIDDOC_OPTIONS) \
402 -title "Android SDK" \
403 -proofread $(OUT_DOCS)/$(LOCAL_MODULE)-
proofread.txt \
404 -todo $(OUT_DOCS)/$(LOCAL_MODULE)-docs-todo.html \
405 -stubs $(TARGET_OUT_COMMON_INTERMEDIATES)/
JAVA_LIBRARIES/android_stubs_current_intermediates/src \
406 -apixml $(INTERNAL_PLATFORM_API_FILE) \
407 -sdkvalues $(OUT_DOCS) \
408 -warning 3 \
409 -hdf android.whichdoc offline
I think the -apixml option is used to generate the api xml file, but I
can't found the description of this option in javadoc help. The others
options like -templatedir in
droiddoc.mk are also not found in javadoc
manpage.
I am confused what version of javadoc does Android build system used.
My java version is:
java version "1.5.0_19"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02)
Java HotSpot(TM) Server VM (build 1.5.0_19-b02, mixed mode)
Thank you.