Eclipse 不会删除文件 [英] Eclipse won't delete files
问题描述
我有一个 ANT 项目,其中包含由 ivy 管理的库(它们在 lib_managed 下).Eclipse 正在使用 jars.问题是:如果我尝试更新目录,ant 拒绝删除它,因为 eclipse 保留了其类路径中的 jars.即使我更新(空)eclipses 类路径,我也无法删除这些文件.如果有人遇到同样的问题并找到解决方案,我将不胜感激.
I've got an ANT project with libs managed by ivy (they are under lib_managed). Eclipse is using the jars to. Probelm is: if I try to update the directory ant refuses to delete it because eclipse holds on to the jars in its classpath. Even if I update (empty) eclipses classpath I can't delete the files. If anyone had the same problem and found a solution I would be thankfull for an answer.
问候,简
推荐答案
不是解决方案,而是解决方法.我在不同的上下文中经常遇到 Eclipse 锁定文件的情况.我建议使用 Unlocker.
Not a solution, but a workaround. I experience Eclipse keeping locks on files quite often in different contexts. I suggest using Unlocker.
这篇关于Eclipse 不会删除文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!