Ant is not able to delete some files on windows

后端 未结 14 2395
我寻月下人不归
我寻月下人不归 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:26

    You need to delete it manually in Windows. It worked for me. (Usually the files to be deleted are older versions of jar.. For example: if there exists httpcore.4.2.5.ja5r and httpcore.4.3.jar, it will try to delete 4.2.5.jar)

    0 讨论(0)
  • 2021-02-07 02:28

    i faced this issue as the file the ant was trying to delete was being used by some other service/process. I stopped the service, and then the ant build script did run through.

    0 讨论(0)
提交回复
热议问题