Error generating android project javadoc using Doclava -


i'm trying generate documentation of android project using javadoc & doclava. downloaded doclava jar , i'm trying generate doc through project-> generate javadoc.

if understood mechanism, have 2 ways tell javadoc use doclava doclet:

1) select "use custom doclet" these options:

doclet name: com.google.doclava.doclava
doclet path: /full/path/of/my/doclava/dir/doclava-1.0.6.jar

2) select "use standard doclet" , then, in "javadoc options" put:

-doclet com.google.doclava.doclava
-docletpath ${/full/path/of/my/doclava/dir/doclava-1.0.6.jar}

i have encountered these issues:

  • if use first method can generate doc seems android classes not recognized. errors when doclava parses "import android.util.sparsearray"

  • if use second method error: "javadoc: error - cannot find doclet class com.google.doclava.doclava 1 error"

as matter of fact: if don't use doclava documentation correctly generated links android apis.

i want create project javadoc links android/java doc (for android/java objects) , have "android & feel".

for interested in topic, solved problem using first solution, here ant target used:

<target name="build-javadoc">     <echo message="creating javadoc.." />     <delete dir="${doc.dir}" />     <javadoc    access="public"                  destdir="${doc.dir}"                  sourcepath="${src.dir}"                  docletpath="${doclet.dir}/doclava-1.0.6.jar"                  classpath="lib:libs:/users/myusername/android-sdks/platforms/android-17/android.jar"                  packagenames="com.my.package">           <doclet name="com.google.doclava.doclava">             <!-- title -->             <param name="-hdf" />             <param name="project.name" />             <param name="project name" />              <!-- overview -->             <param name="-overview" />             <param name="src/overview-summary.html" />              <!-- template -->             <param name="-templatedir" />             <param name="doc/my_template" />              <!-- federation java -->             <param name="-federate" />             <param name="jdk" />             <param name="http://download.oracle.com/javase/6/docs/api/index.html?" />             <param name="-federationxml" />             <param name="jdk" />             <param name="http://doclava.googlecode.com/svn/static/api/openjdk-6.xml" />              <!-- federation android-->             <param name="-federate" />             <param name="android" />             <param name="http://d.android.com/reference" />             <param name="-federationxml" />             <param name="android" />             <param name="http://doclava.googlecode.com/svn/static/api/android-8.xml" />          </doclet>     </javadoc>      <echo message="...done" /> </target> 

hope can someone


Comments

  1. Error Generating Android Project Javadoc Using Doclava - >>>>> Download Now

    >>>>> Download Full

    Error Generating Android Project Javadoc Using Doclava - >>>>> Download LINK

    >>>>> Download Now

    Error Generating Android Project Javadoc Using Doclava - >>>>> Download Full

    >>>>> Download LINK qH

    ReplyDelete

Post a Comment

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -