That bug (28046) was for the current working directory. So to see it you would have to launch ant from that directory.
Are you sure that you are not using the contents of lib as a classpath for something? I think that ant keeps the classpaths in a cache, and if this is the case, the jar files will be opened by the ant java program. In windows any opened file cannot be deleted.