How to over-write the property in Ant?

后端 未结 8 1281
旧时难觅i
旧时难觅i 2020-12-05 13:21

Is there a way to re-assign the value for the Ant property task? Or is there another task available for that purpose?

8条回答
  •  时光说笑
    2020-12-05 14:18

    Depending on how you want to use the modified property, you can use macrodefs.

    For example, instead of writing the following:

    
       
    
    

    and not being able to call ant foo with another message, you could write:

    
        
        
            
        
    
    
    
       
       
       
    
    

提交回复
热议问题