javadoc-apiviz-android
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Picture: | |
https://lh6.googleusercontent.com/_dCsxxQGdwps/Tc64B1JhtTE/AAAAAAAAAkU/9iMAjHfJd04/s160-c/Apiviz.jpg | |
or: https://picasaweb.google.com/fred.grott/Apiviz?feat=directlink | |
from local.properties: | |
javadoc.stylesheet=C:/Google/Android/android-sdk/docs/assets/android-developer-docs.css | |
javadoc.linkoffline=http://d.android.com/reference C:/Google/Android/android-sdk/docs/reference | |
paths: | |
<path id="javadoc.source"> | |
<pathelement path="${source.absolute.dir}"/> | |
<pathelement path="${gen.absolute.dir}"/> | |
</path> | |
<!-- Path needs to include both Android jars and | |
3rd party library jars in libs--> | |
<path id="android.project.libs"> | |
<fileset dir="${native.libs.dir}"> | |
<include name="**/*.jar"/> | |
</fileset> | |
<path refid="android.target.classpath"/> | |
</path> | |
<path id="classes.classpath"> | |
<fileset dir="build/classes"> | |
<include name="**/*.class"/> | |
</fileset> | |
</path> | |
<property name="doclets.apiviz.location" | |
location="${buildsystem.dir}/apivizdoclet/apiviz-1.3.1.GA.jar"/> | |
meat of javadoc task: | |
<target name="-apivizdoclet"> | |
<mkdir dir="${docs.dir}/javadoc/resources"/> | |
<copy file="${docs.dir}/images/companylogo.png" | |
todir="${docs.dir}/javadoc/resources"/> | |
<javadoc | |
sourcepathref="javadoc.source" | |
destdir="${docs.dir}/javadoc" | |
bootclasspathref="android.project.libs" | |
private="true" | |
stylesheetfile="${javadoc.stylesheet}" | |
linksource="true" | |
linkoffline="${javadoc.linkoffline}" | |
windowtitle="${ant.project.name}" | |
additionalparam="-author -version -sourceclasspath ${out.classes.dir}"> | |
<!-- Use a nice documentation title --> | |
<doctitle> | |
${ant.project.name}</br> | |
API Specification | |
</doctitle> | |
<!-- Create a header that contains the taglets logo --> | |
<!-- Note the use of the {@docRoot} tag to link to the logo --> | |
<header> | |
<img | |
src="{@docRoot}/resources/companylogo.png" | |
width="88" height="40" border="0" | |
> | |
</header> | |
<!-- Same for the footer --> | |
<footer> | |
<img | |
src="{@docRoot}/resources/companylogo.png" | |
width="88" height="40" | |
> | |
</footer> | |
<!-- Include a timestamp at the bottom of the docu generated --> | |
<!-- Note the use of ${timestamp} which was created by the --> | |
<!-- <tstamp> task at the start of this target --> | |
<bottom> | |
<p align="right"> | |
<font class="NavBarFont1" size="-1"> | |
Android SDK API Target ${target}<br> | |
${ant.project.name}<br> | |
API Spec<br> | |
${TSTAMP} ${DSTAMP} | |
</font> | |
</p> | |
</bottom> | |
<doclet name="org.jboss.apiviz.APIviz" | |
path="${doclets.apiviz.location}"> | |
</doclet> | |
</javadoc> | |
</target> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment