How to over-write the property in Ant?

后端 未结 8 1256
旧时难觅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条回答
  •  萌比男神i
    2020-12-05 14:12

    Properties are immutable in ant.

    You may be interested in ant-contrib's var task.

    
    
    Addressed in the same way: ${my_var} and ${my_property}
    

提交回复
热议问题