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.
|
- <project name="AntManual" default="taskdocs" basedir=".">
-
- <property file="${basedir}/build.properties"/>
-
- <property name="lib.dir" value="${basedir}/lib" />
- <property name="build.dir" value="${basedir}/../build" />
- <property name="docs.src" value="${basedir}/../../../xdocs" />
- <property name="taskdocs.src" value="${build.dir}/gen" />
-
- <!-- The docs destination directory -->
- <property name="docs.dest" value="${build.dir}/docs"/>
- <property name="manual.dest" value="${docs.dest}/manual" />
-
- <!-- Construct compile classpath -->
- <path id="classpath">
- <fileset dir="${lib.dir}">
- <include name="**/*.jar"/>
- </fileset>
- </path>
-
- <target name="init">
- <taskdef name="dvsl" classname="org.apache.tools.dvsl.DVSLTask">
- <classpath>
- <path refid="classpath"/>
- </classpath>
- </taskdef>
- <!-- Make stuff available relative to current location -->
- <mkdir dir="${basedir}/xdocs" />
- <copy todir="${basedir}/xdocs">
- <fileset dir="${docs.src}" includes="stylesheets/project.xml" />
- </copy>
- </target>
-
- <target name="taskdocs" depends="init"
- description="Generate Task Documentation">
- <dvsl basedir="${taskdocs.src}" destdir="${manual.dest}"
- style="task.dvsl" extension=".html"
- toolboxfile="toolbox.props"
- includes="**/*.xml">
- <velconfig name="velocimacro.library" value="" />
- </dvsl>
- </target>
-
- </project>
|