Output several timestamps in ant

前端 未结 5 1438
温柔的废话
温柔的废话 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:39

    I like the macrodef solution if indeed it is more efficient than the target one, but I use a var unset=true to force a resetting of the variable, like:

    
       
          
             
                
             
             
        
    
    

    Usage

    
    
    
    

提交回复
热议问题