How to read data line by line from a file using ant script?

前端 未结 4 2069
清酒与你
清酒与你 2020-12-09 19:04

In perl we use to read data line by ilne from a file. How to do the same using ant script.

4条回答
  •  旧巷少年郎
    2020-12-09 19:17

    You can do that using the loadfile task in combination with the for task from ant-contrib (you will have to download and install ant-contrib).

    
    
      
        
          
        
      
    
      
    
      
        
          
            @{line}
          
        
      
    
    
    

提交回复
热议问题