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

前端 未结 6 1779
离开以前
离开以前 2020-12-04 15:10

How do I check for the existence of a folder using Ant?

We can check the existence of a file, but can we do the same for a folder as well?

6条回答
  •  一整个雨季
    2020-12-04 15:44

    Here is another approach, allows to call just one task without using ant-contrib.jar.

    
        
        
    
    
        {some task}
    
    
        {another task}
    
    
        
            
        
    
    

提交回复
热议问题