Concatenate xml file in ant script

后端 未结 2 411
面向向阳花
面向向阳花 2021-01-25 12:49

I am new to ant script. I am looking for how to concatenate all the xml file in a folder into a single xml file in ant script.

In my project n number of xml files will

2条回答
  •  臣服心动
    2021-01-25 13:16

    try this

    Concatenate a series of files, update the destination file only if is older that all the source files:

    Sample code:

     
        
        
      
    

    avoids root tag:

           
        
        
            
                
            
          
     
    

提交回复
热议问题