android - How to keep javadoc visible after obfuscating -



android - How to keep javadoc visible after obfuscating -

i built nice javadoc documentation project jar file developers.

but after run proguard in order obfuscat code javadoc documentation gone.

i maintain javadoc on public methods in jar. know how maintain javadoc visible after obfuscating?

thanks!

javadoc extracted source files. not possible create javadoc class files, neither clean nor obfuscated. proguard operates on class files created compiling source files, , produces obfuscated class files it. unrelated javadoc creation.

the output of javadoc processor goes directory structure. of course, can zip , give .jar extension provide javadoc well. i’ve seen (i.e, on apache commons) name library jar foo-bar-1.2.3.jar , zipped javadoc foo-bar-1.2.3-javadoc.jar.

it thought provide javadoc separated binary, binary needs included in programme distribution relies on it, whereas javadoc interesting developer , increment size of programme without need if in same jar.

in ide, need assign javadoc jar library jar. in eclipse, can done properties → java build path dialogue. after having added jar file, expand white arrow next entry created, select javadoc location , edit…. eclipse understands reading javadoc archive straight , don’t need unzip it.

android proguard javadoc

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -