You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

build.xml 1.1 kB

123456789101112131415161718192021222324252627282930313233343536
  1. <project name="AntManual" default="taskdocs" basedir=".">
  2. <property file="${basedir}/build.properties"/>
  3. <property name="lib.dir" value="${basedir}/lib" />
  4. <property name="build.dir" value="${basedir}/../build" />
  5. <property name="docs.src" value="${basedir}/../../../xdocs" />
  6. <property name="taskdocs.src" value="${build.dir}/gen" />
  7. <!-- The docs destination directory -->
  8. <property name="docs.dest" value="${build.dir}/docs"/>
  9. <property name="manual.dest" value="${docs.dest}/manual" />
  10. <!-- Construct compile classpath -->
  11. <path id="classpath">
  12. <fileset dir="${lib.dir}">
  13. <include name="**/*.jar"/>
  14. </fileset>
  15. </path>
  16. <target name="init">
  17. <taskdef name="dvsl" classname="org.apache.tools.dvsl.DVSLTask">
  18. <classpath>
  19. <path refid="classpath"/>
  20. </classpath>
  21. </taskdef>
  22. </target>
  23. <target name="taskdocs" depends="init"
  24. description="Generate Task Documentation">
  25. <dvsl basedir="${taskdocs.src}" destdir="${manual.dest}"
  26. style="task.dvsl" extension=".html"
  27. includes="**/*.xml" />
  28. </target>
  29. </project>