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

前端 未结 7 1867
星月不相逢
星月不相逢 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:42

    with vanilla ant you would use something like =

     
      
        
      
     
    
     
     
        
     
    

    else see = Ant check existence for a set of files
    for a similar question

提交回复
热议问题