How to check if directory exists before deleting it, using ANT?

前端 未结 7 1892
星月不相逢
星月不相逢 2021-02-01 14:43

Using ANT, how can i make sure that directory exists before attempting to remove it?

As part of my current clean task, i



        
7条回答
  •  面向向阳花
    2021-02-01 15:39

    Check out the available task.

    Here's a similar question.

    Do I have a way to check the existence of a directory in Ant (not a file)?

提交回复
热议问题