I was sorely tempted to save this for April Fool’s Day.
<project default="default">
<target name="default">
<delete file="${ant.file}"/>
</target>
</project>
Update: Yes it does work:
Socks:tmp jsimpson$ mkdir demo
Socks:tmp jsimpson$ cd demo/
Socks:demo jsimpson$ vim build.xml
Socks:demo jsimpson$ ls -l build.xml
-rw-r–r– 1 jsimpson wheel 119 1 Feb 21:13 build.xml
Socks:demo jsimpson$ ant
Buildfile: build.xml
default:
[...]



