<
				target 
				name
				="jdoc"
				>
				
						
        
				<
				javadoc 
				
				
				            destdir
				="${basedir}/doc/api"
				
						
            author
				="true"
				
						
            version
				="true"
				
						
            use
				="true"
				
            fork="true"
              forkmode="perBatch"
						            windowtitle="Project API">
            <fileset dir="${basedir}/src" includes="**/*.java"/>
            <classpath refid="classpath"></classpath>
            <doctitle><![CDATA[<h1>Project API</h1>]]></doctitle>
            <bottom><![CDATA[<i>Copyright © 2005</i>]]></bottom>
        </javadoc>
    </target>
		1,源文通过fileset指定较为灵活
2,注意将项目的classpath加入其内
3,对fork和formode的使用主要是为测试性能考虑(如有数据库连接静态初始化之类的操作会大大加快速度)
	
posted on 2007-02-13 11:36 
liunix 阅读(228) 
评论(0)  编辑  收藏