@@ -71,16 +71,17 @@ Legal:
<property name="constants.file" value="org/apache/myrmidon/Constants.java"/>
<property name="constants.file" value="org/apache/myrmidon/Constants.java"/>
<path id="tools.class.path">
<fileset dir="tools/lib" includes="**/*.jar"/>
<fileset dir="../xdocs/lib" includes="*.jar" />
</path>
<path id="project.class.path">
<path id="project.class.path">
<pathelement location="../../lib/optional/junit.jar" />
<pathelement location="../../lib/optional/junit.jar" />
<pathelement location="../xdocs/lib/xdoclet.jar" />
<pathelement location="../xdocs/lib/log4j-core.jar" />
<fileset dir="${lib.dir}">
<include name="*.jar" />
</fileset>
<fileset dir="${lib.dir}" includes="**/*.jar"/>
<pathelement location="${build.classes}"/>
<pathelement location="${build.classes}"/>
<!-- Need this to get tools.jar in the classpath -->
<!-- Need this to get tools.jar in the classpath -->
<pathelement path="${java.class.path}"/>
<pathelement path="${java.class.path}"/>
<path refid="tools.class.path"/>
</path>
</path>
<!-- Main target -->
<!-- Main target -->
@@ -205,7 +206,7 @@ Legal:
<property name="custom-package-dir" value="${build.custom-tasks}/org/apache/myrmidon/build"/>
<property name="custom-package-dir" value="${build.custom-tasks}/org/apache/myrmidon/build"/>
<mkdir dir="${build.custom-tasks}"/>
<mkdir dir="${build.custom-tasks}"/>
<javac srcdir="src/make" destdir="${build.custom-tasks}">
<javac srcdir="src/make" destdir="${build.custom-tasks}">
<classpath refid="projec t.class.path"/>
<classpath refid="tools .class.path"/>
</javac>
</javac>
<copy file="${manifest.dir}/ant-descriptor.j" todir="${custom-package-dir}"/>
<copy file="${manifest.dir}/ant-descriptor.j" todir="${custom-package-dir}"/>
@@ -220,7 +221,7 @@ Legal:
classname="org.apache.myrmidon.build.AntlibDescriptorTask">
classname="org.apache.myrmidon.build.AntlibDescriptorTask">
<classpath>
<classpath>
<pathelement location="${build.custom-tasks}"/>
<pathelement location="${build.custom-tasks}"/>
<path refid="projec t.class.path"/>
<path refid="tools .class.path"/>
</classpath>
</classpath>
</taskdef>
</taskdef>
</target>
</target>
@@ -558,6 +559,7 @@ Legal:
<classpath>
<classpath>
<pathelement location="${build.classes}"/>
<pathelement location="${build.classes}"/>
<path refid="project.class.path"/>
<path refid="project.class.path"/>
<path refid="tools.class.path"/>
</classpath>
</classpath>
<exclude name="**/SmbFileSystemTestCase.java" unless="jcifs.present"/>
<exclude name="**/SmbFileSystemTestCase.java" unless="jcifs.present"/>
@@ -659,8 +661,9 @@ Legal:
<!-- Prepare the project tests -->
<!-- Prepare the project tests -->
<antlib-descriptor libName="unittests"
<antlib-descriptor libName="unittests"
destdir="${gen.dir}"
classpathref="project.class.path">
destdir="${gen.dir}">
<classpath refid="project.class.path"/>
<classpath refid="tools.class.path"/>
<fileset dir="src/test">
<fileset dir="src/test">
<include name="org/apache/antlib/**"/>
<include name="org/apache/antlib/**"/>
<include name="org/apache/myrmidon/framework/**"/>
<include name="org/apache/myrmidon/framework/**"/>
@@ -716,7 +719,7 @@ Legal:
<!-- thats why you are required to define do.checkstyle property to generate the report -->
<!-- thats why you are required to define do.checkstyle property to generate the report -->
<taskdef name="checkstyle"
<taskdef name="checkstyle"
classname="com.puppycrawl.tools.checkstyle.CheckStyleTask">
classname="com.puppycrawl.tools.checkstyle.CheckStyleTask">
<classpath refid="projec t.class.path"/>
<classpath refid="tools .class.path"/>
</taskdef>
</taskdef>
<checkstyle
<checkstyle
lcurlyType="nl"
lcurlyType="nl"
@@ -767,7 +770,7 @@ Legal:
<!-- this invocation of jdepend requires the CVS version of ant for the xml format -->
<!-- this invocation of jdepend requires the CVS version of ant for the xml format -->
<jdepend outputfile="${build.dir}/jdepend-results.xml" format="xml" fork="yes">
<jdepend outputfile="${build.dir}/jdepend-results.xml" format="xml" fork="yes">
<classpath refid="projec t.class.path"/>
<classpath refid="tools .class.path"/>
<sourcespath>
<sourcespath>
<path refid="java.src" />
<path refid="java.src" />
</sourcespath>
</sourcespath>
@@ -824,25 +827,20 @@ Legal:
<copy todir="${dist.bin}">
<copy todir="${dist.bin}">
<fileset dir="${build.bin}"/>
<fileset dir="${build.bin}"/>
<fileset dir="${lib.dir}/bin"/>
</copy>
</copy>
<copy todir="${dist.lib}">
<copy todir="${dist.lib}">
<fileset dir="${build.lib}"/>
<fileset dir="${build.lib}"/>
<fileset dir="${lib.dir}" includes="*.jar, *.zip"/>
<fileset dir="../../lib/optional" includes="junit.jar" />
</copy>
</copy>
<copy todir="${dist.ext}">
<copy todir="${dist.ext}">
<fileset dir="${build.ext}"/>
<fileset dir="${build.ext}"/>
<fileset dir="${lib.dir}/ext"/>
</copy>
</copy>
<copy todir="${dist.lib}">
<fileset dir="${lib.dir}">
<exclude name="xdoclet.jar"/>
<exclude name="jdepend.jar"/>
</fileset>
</copy>
<copy todir="${dist.lib}" file="../../lib/optional/junit.jar" />
<copy todir="${dist.bin}">
<copy todir="${dist.bin}">
<fileset dir="${script.dir}"/>
<fileset dir="${script.dir}"/>
</copy>
</copy>