Browse Source

Move xdoclet further up in build file

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270757 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 23 years ago
parent
commit
e18b76b6e7
1 changed files with 22 additions and 22 deletions
  1. +22
    -22
      proposal/myrmidon/build.xml

+ 22
- 22
proposal/myrmidon/build.xml View File

@@ -397,6 +397,28 @@ Legal:


</target> </target>


<target name="xdoclet">
<path id="xdoclet.classpath">
<pathelement location="lib/xdoclet.jar"/>
<pathelement location="lib/log4j-core.jar"/>
<path refid="project.class.path"/>
</path>
<taskdef name="xdoclet"
classname="xdoclet.DocletTask"
classpath="lib/xdoclet.jar"/>
<xdoclet sourcepath="${java.dir}"
destdir="${build.dir}"
classpathref="xdoclet.classpath">
<fileset dir="${java.dir}">
<include name="**/*.java" />
</fileset>
<template templateFile="${manifest.dir}/core-ant-descriptor.template"
destinationfile="core-ant-descriptor.xml"/>
<template templateFile="${manifest.dir}/builtin-ant-roles.template"
destinationfile="builtin-ant-roles.xml"/>
</xdoclet>
</target>

<!-- Creates the distribution --> <!-- Creates the distribution -->
<target name="dist" depends="jars"> <target name="dist" depends="jars">


@@ -454,26 +476,4 @@ Legal:
<antcall target="main"/> <antcall target="main"/>
</target> </target>


<target name="xdoclet">
<path id="xdoclet.classpath">
<pathelement location="lib/xdoclet.jar"/>
<pathelement location="lib/log4j-core.jar"/>
<path refid="project.class.path"/>
</path>
<taskdef name="xdoclet"
classname="xdoclet.DocletTask"
classpath="lib/xdoclet.jar"/>
<xdoclet sourcepath="${java.dir}"
destdir="${build.dir}"
classpathref="xdoclet.classpath">
<fileset dir="${java.dir}">
<include name="**/*.java" />
</fileset>
<template templateFile="${manifest.dir}/core-ant-descriptor.template"
destinationfile="core-ant-descriptor.xml"/>
<template templateFile="${manifest.dir}/builtin-ant-roles.template"
destinationfile="builtin-ant-roles.xml"/>
</xdoclet>
</target>

</project> </project>

Loading…
Cancel
Save