use of javadoc exclude option for platform library?

182 views
Skip to first unread message

todd.lee

unread,
Aug 29, 2011, 2:16:16 PM8/29/11
to Android Building
I've got a platform library that I'm building as part of an sdk_addon.
In the Android.mk file for the module, I've specified that it's using
the standard doclet to generate javadocs.

I'd like to exclude specific items at the package level and assumed
that I could pass "-exclude com.mypackage.1:com.mypackage.2" etc as
part of the LOCAL_DROIDDOC_OPTIONS to accomplish the desired effect,
but that doesn't seem to be the case (all packages show up in out/
target/common/docs/mylib, both in the directory structure and the
accompanying generated pakcage-list file).

Can someone direct me to what if anything I might be missing to be
able to exclude packages from my javadocs??
Thanks
T

freakingtux

unread,
Sep 8, 2011, 3:17:02 PM9/8/11
to android-...@googlegroups.com
Hi

Try running with the showcommands command line to determine if the options really ends up on the command line.

If you are running the "standard" android doclet you can also make use of the the @hide tag in a package.java file placed in packages you don't want to publish.

Greetings
Reply all
Reply to author
Forward
0 new messages