Output several timestamps in ant

前端 未结 5 1445
温柔的废话
温柔的废话 2020-12-15 18:53

The Ant buildfile snippet below is an attempt to simply output the time before and after each sql script is run. I cannot change the structure of the Ant targets (create-ta

5条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-15 19:21

    Following on from @Niek's answer, we can build a macro that behaves like echo but with a time stamp

    
      
      
        
        
        
       
    
    
    
      
    
    

    which will give output

    test-timestamp:
         [echo] 2013-05-03 12:02:38> hi
    

提交回复
热议问题