Anonymous avatar Anonymous committed b22dd5c

o adding ant target for tiger-javadocs
Issue number:
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@891 e221344d-f017-0410-9bd5-d282ab1896d7

Comments (0)

Files changed (1)

 
     <import file="osbuild.xml"/>
 
-    <path id="junit-tiger.cp">
+    <path id="tiger.cp">
         <fileset dir="lib">
             <include name="**/*.jar"/>
             <include name="**/*.zip"/>
         </fileset>
         <pathelement location="${build.java}"/>
         <pathelement location="tiger/build/java"/>
+    </path>
+
+    <path id="junit-tiger.cp">
+        <path refid="tiger.cp"/>
         <pathelement location="tiger/build/test"/>
         <pathelement location="tiger/build/java-test"/>
     </path>
         </copy>
     </target>
 
+    <target name="tiger-javadocs" description="generate tiger javadocs" depends="common.init">
+        <mkdir dir="${dist.docs}/tiger-api"/>
+        <javadoc sourcepath="tiger/src/java"
+                 destdir="${dist.docs}/tiger-api"
+                 packagenames="${docs.packages}"
+                 classpathref="tiger.cp"
+                 author="true"
+                 version="true"
+                 overview="${src.java}/overview.html"
+                 windowTitle="${fullname} Tiger API - ${version}"
+                 doctitle="${fullname} Tiger API (${version})"
+                 footer="&lt;a href=&quot;http://www.opensymphony.com/${name}/&quot; target=&quot;_top&quot;&gt;${fullname} Project Page&lt;/a&gt;"
+                 use="true"
+                 verbose="false"
+                source="1.5">
+            <link href="http://java.sun.com/j2se/1.5.0/docs/api/"/>
+            <link href="http://java.sun.com/j2ee/sdk_${compile.version}/techdocs/api/"/>
+        </javadoc>
+        <!-- <copy overwrite="yes" file="${docs}/main.css" tofile="${docs}/api/stylesheet.css"/> -->
+    </target>
+
     <target name="ivyrep" depends="common.ivyrep">
         <antcall target="ivyrep.impl" inheritrefs="no" inheritall="no">
             <param name="name" value="${name}-tiger"/>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.