| <project default="not me"> |
| <target name="not me"> |
| <fail>only use from within unit tests</fail> |
| </target> |
| |
| <property name="testout" location="testout"/> |
| <target name="setUp"> |
| <mkdir dir="${testout}"/> |
| </target> |
| |
| <target name="uncompressSource" depends="setUp"> |
| <ant antfile="../../taskdefs/tar.xml" target="feather" /> |
| <copy todir="${testout}"> |
| <tarentry name="asf-logo.gif"> |
| <gzipresource> |
| <file file="../../taskdefs/expected/asf-logo.gif.tar.gz"/> |
| </gzipresource> |
| </tarentry> |
| </copy> |
| </target> |
| |
| <target name="tearDown"> |
| <delete dir="${testout}"/> |
| <ant antfile="../../taskdefs/tar.xml" target="cleanup" /> |
| </target> |
| </project> |