Browse Source

Move documentation build instructions into main build file.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272098 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
8da2c23572
2 changed files with 20 additions and 29 deletions
  1. +20
    -0
      proposal/myrmidon/build.xml
  2. +0
    -29
      proposal/myrmidon/docs.xml

+ 20
- 0
proposal/myrmidon/build.xml View File

@@ -699,6 +699,26 @@ Legal:
style="${ant.home}/etc/jdepend-frames.xsl"/>
</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 -->
<target name="dist-lite"
depends="jars"


+ 0
- 29
proposal/myrmidon/docs.xml View File

@@ -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>

Loading…
Cancel
Save