---
title: "Ant for javadoc target"
author: "guoapeng"
date: "2011-03-18T14:04:11Z"
tags: ["Access", "Ant", "SUN", "Security", "Web"]
categories: ["编程语言"]
slug: "ant-for-javadoc-target"
draft: false
lastmod: "2011-03-29T13:53:34Z"
id: 966461
url: "https://guoapeng.iteye.com/blog/966461"
---

&lt;path id="master-classpath" description="Master CLASSPATH for this script"&gt;  
  &lt;fileset dir="${lib.dir}"&gt;  
   &lt;include name="\*.jar" /&gt;  
  &lt;/fileset&gt;  
 

  &lt;pathelement location="${class.dir}" /&gt;  
 &lt;/path&gt;

 

 

&lt;target name="javadoc"&gt;  
         &lt;javadoc access="private" author="true"  
          classpathref="master-classpath" destdir="doc" nodeprecated="false" nodeprecatedlist="false" noindex="false" nonavbar="false" notree="false" packagenames="com.eagle.common.security" source="1.6" sourcepath="JavaSource;test/src" splitindex="true" use="true" version="true"&gt;  
             &lt;link href="[http://java.sun.com/javase/6/docs/api/"/](http://java.sun.com/javase/6/docs/api/%22/)&gt;  
         &lt;/javadoc&gt;  
     &lt;/target&gt;