Recreating the directory solves this and means ant can rebuild directory structure.