Ant is not able to delete some files on windows

后端 未结 14 2398
我寻月下人不归
我寻月下人不归 2021-02-07 01:36

I have an ant build that makes directories, calls javac and all the regular stuff. The issue I am having is that when I try to do a clean (delete all the stuff that was generate

14条回答
  •  终归单人心
    2021-02-07 02:11

    In my case my ant clean was failing from Eclipse, unable to remove build files. I see this from time to time. Usually succeeds on a repeat attempt. This time no. Tried running ant clean from command line, failed Unable to delete"unable to delete". It must have been Eclipse holding on to the problem file, when I exited Eclipse, cmd line was able to delete OK.

提交回复
热议问题