How to copy a directory using Ant

前端 未结 11 1145
挽巷
挽巷 2020-12-13 08:49

I have used copydir to copy a directory tree but it is deprecated. My directory contains some sub-directories, and some of those contain files and others contai

11条回答
  •  粉色の甜心
    2020-12-13 09:16

    From the example here, you can write a simple Ant file using copy task.

    
        
            
               
            
        
    

    This should copy everything inside src_dir (excluding it) to new/dir.

提交回复
热议问题