[Biojava-l] Re: problems with ANT
Michael L. Heuer
heuermh@shore.net
Thu, 25 Jan 2001 14:29:40 -0500 (EST)
> BUILD FAILED
>
> Could not create task of type: copy because I can't find it in the list of
> task class definitions
Apply the following diffs to biojava.ant (apologies if the line numbers
don't exactly line up -- I build biojava as part of a larger project, with
a larger build.xml file)
> <target name="prepare-src" depends="prepare">
72,77c70
< <!-- copydir src="${src.dir}" dest="${build.src}" excludes="CVS,cvs"/ -->
< <copy todir="${build.src}">
< <fileset dir="${src.dir}">
< <exclude name="**/CVS/**" />
< </fileset>
< </copy>
---
> <copydir src="${src.dir}" dest="${build.src}" excludes="CVS,cvs"/>
80,85c73
< <!-- copydir src="${manifest.dir}" dest="${build.src}" includes="${manifest.file}"/ -->
< <copy todir="${build.src}">
< <fileset dir="${manifest.dir}">
< <include name="${manifest.file}" />
< </fileset>
< </copy>
---
> <copydir src="${manifest.dir}" dest="${build.src}" includes="${manifest.file}"/>
88,93c76
< <!-- copydir src="${resources.dir}" dest="${build.src}" excludes="CVS,cvs"/ -->
< <copy todir="${build.dest}">
< <fileset dir="${resources.dir}">
< <exclude name="**/CVS/**" />
< </fileset>
< </copy>
michael