Author: limpbizkit
Date: Tue May 19 10:52:33 2009
New Revision: 973
Modified:
trunk/build.xml
Log:
Fixing core Javadocs, so they are integrated with the complete Javadocs
Modified: trunk/build.xml
==============================================================================
--- trunk/build.xml (original)
+++ trunk/build.xml Tue May 19 10:52:33 2009
@@ -96,21 +96,6 @@
</java>
</target>
- <target name="javadoc.core"
- description="Generate Javadocs.">
- <mkdir dir="${build.dir}/javadoc-core"/>
- <javadoc packagenames="${javadoc.packagenames}"
- destdir="${build.dir}/javadoc-core"
- author="false"
- protected="true"
- windowtitle="Guice 2.0 Core API"
- sourcepath="${src.dir}">
- <classpath refid="compile.classpath"/>
- <link href="http://aopalliance.sourceforge.net/doc"/>
- <link href="http://java.sun.com/javase/6/docs/api"/>
- </javadoc>
- </target>
-
<target name="javadoc"
description="Generate Javadocs.">
<mkdir dir="${build.dir}/javadoc"/>
@@ -137,6 +122,34 @@
<link href="http://java.sun.com/javase/6/docs/api"/>
<link href="http://www.springframework.org/docs/api/"/>
</javadoc>
+ <!-- generate core javadocs, used only for its left-side nav -->
+ <mkdir dir="${build.dir}/javadoc-core"/>
+ <javadoc packagenames="${javadoc.packagenames}"
+ destdir="${build.dir}/javadoc-core"
+ author="false"
+ protected="true"
+ windowtitle="Guice 2.0 Core API"
+ sourcepath="${src.dir}">
+ <classpath refid="compile.classpath"/>
+ <link href="http://aopalliance.sourceforge.net/doc"/>
+ <link href="http://java.sun.com/javase/6/docs/api"/>
+ </javadoc>
+ <!-- setup the left-side navigation frames to toggle between core and
all classes -->
+ <move file="${build.dir}/javadoc/overview-frame.html"
tofile="${build.dir}/javadoc/overview-frame-with-extensions.html"/>
+ <copy file="${build.dir}/javadoc-core/overview-frame.html"
tofile="${build.dir}/javadoc/overview-frame.html"/>
+ <replace file="${build.dir}/javadoc/overview-frame.html" token="<A
HREF="allclasses-frame.html"
target="packageFrame">All Classes</A></FONT>"
+ value="<A HREF="allclasses-frame.html"
target="packageFrame"><b>Core</b></A>
+ &nbsp;
+ <a href='overview-frame-with-extensions.html'>Show
Extensions</a>
+ </FONT>"/>
+ <replace
file="${build.dir}/javadoc/overview-frame-with-extensions.html"
token="<A HREF="allclasses-frame.html"
target="packageFrame">All Classes</A></FONT>"
+ value="<A
HREF="allclasses-frame-with-extensions.html"
target="packageFrame"><b>All</b></A>
+ &nbsp;
+ <a href='overview-frame.html'>Hide Extensions</a>
+ </FONT>"/>
+ <move file="${build.dir}/javadoc/allclasses-frame.html"
tofile="${build.dir}/javadoc/allclasses-frame-with-extensions.html"/>
+ <copy file="${build.dir}/javadoc-core/allclasses-frame.html"
tofile="${build.dir}/javadoc/allclasses-frame.html"/>
+ <replace file="${build.dir}/javadoc/allclasses-frame.html" token="All
Classes" value="Core Classes"/>
</target>
<target name="no_aop"
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en
-~----------~----~----~----~------~----~------~--~---