<?xml version="1.0" encoding="UTF-8"?>
<!-- 需要修改 Begin -->
<project name="project" default="all" basedir=".">
<property name="project-name" value="a1" />
<property name="project-path" value="E:/workspace_java/test" />
<!-- 需要修改 End -->
<target description="Build file usage info (default task)" name="all">
<echo message=" Available Targets:" />
<echo message="-------------------------------------------------------" />
<echo message=" javadoc - Generate the API HTML pages" />
<echo message="-------------------------------------------------------" />
</target>
<!-- Generate the API HTML pages -->
<target name="javadoc" description="Generate the Javadoc HTML pages.">
<delete dir="${project-path}/javadoc" />
<mkdir dir="${project-path}/javadoc" />
<javadoc destdir="${project-path}/javadoc" windowtitle="${project-name} Project Class Library" use="yes" linksource="no" splitindex="yes" charset="UTF-8" encoding="UTF-8" docencoding="UTF-8">
<!--
<classpath>
<fileset dir="${lib}">
<include name="*.jar" />
</fileset>
<fileset dir="${tomcat-root}/lib">
<include name="*.jar" />
</fileset>
</classpath>
-->
<!-- 需要修改 Begin -->
<packageset dir="${project-path}/src" defaultexcludes="yes">
<include name="com/**" />
</packageset>
<!-- 需要修改 End -->
</javadoc>
</target>
</project>