<?xml version="1.0"?>

<project name="copyfile-test" basedir="." default="test1">

  <target name="test1">
    <copyfile/>
  </target>

  <target name="test2">
    <copyfile src=""/>
  </target>

  <target name="test3">
    <copyfile dest=""/>
  </target>

  <target name="test4">
    <copyfile src="template.xml" 
             dest="template.xml"/>
  </target>

  <target name="test5">
    <copyfile src="copyfile.xml" 
             dest="copyfile.tmp"/>
  </target>

  <target name="test6">
    <delete file="testdir"/>
    <mkdir dir="testdir" />
    <copyfile src="copyfile.xml" 
              dest="testdir"
              forceoverwrite="true" />
  </target>

  <target name="cleanup">
    <delete dir="testdir" />
  </target>
</project>
