git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272098 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -699,6 +699,26 @@ Legal: | |||||
| style="${ant.home}/etc/jdepend-frames.xsl"/> | style="${ant.home}/etc/jdepend-frames.xsl"/> | ||||
| </target> | </target> | ||||
| <target name="docs" description="Generate documentation and website"> | |||||
| <taskdef name="anakia" | |||||
| classname="org.apache.velocity.anakia.AnakiaTask"> | |||||
| <classpath> | |||||
| <fileset dir="${jakarta-site.dir}/lib"> | |||||
| <include name="*.jar"/> | |||||
| </fileset> | |||||
| </classpath> | |||||
| </taskdef> | |||||
| <anakia basedir="src/xdocs" | |||||
| destdir="docs" | |||||
| style="docs.vsl" | |||||
| projectfile="stylesheets/project.xml" | |||||
| includes="**/*.xml" | |||||
| excludes="stylesheets/**" | |||||
| velocitypropertiesfile="src/xdocs/velocity.properties" | |||||
| /> | |||||
| </target> | |||||
| <!-- Creates the distribution --> | <!-- Creates the distribution --> | ||||
| <target name="dist-lite" | <target name="dist-lite" | ||||
| depends="jars" | depends="jars" | ||||
| @@ -1,29 +0,0 @@ | |||||
| <project name="Myrmidon Docs" default="main"> | |||||
| <!-- | |||||
| Give user a chance to override without editing this file | |||||
| (and without typing -D each time he compiles it) | |||||
| --> | |||||
| <property file="ant.properties"/> | |||||
| <property file="${user.home}/.ant.properties"/> | |||||
| <target name="main"> | |||||
| <taskdef name="anakia" | |||||
| classname="org.apache.velocity.anakia.AnakiaTask"> | |||||
| <classpath> | |||||
| <fileset dir="${jakarta-site.dir}/lib"> | |||||
| <include name="*.jar"/> | |||||
| </fileset> | |||||
| </classpath> | |||||
| </taskdef> | |||||
| <anakia basedir="src/xdocs" | |||||
| destdir="docs" | |||||
| style="docs.vsl" | |||||
| projectfile="stylesheets/project.xml" | |||||
| includes="**/*.xml" | |||||
| excludes="stylesheets/**" | |||||
| velocitypropertiesfile="src/xdocs/velocity.properties" | |||||
| /> | |||||
| </target> | |||||
| </project> | |||||