How to over-write the property in Ant?

后端 未结 8 1286
旧时难觅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:01

    Since Ant 1.8, you can use the "local" task to change the value of a property within a target. Note that this does NOT change the value of the global property with the same name but it is a way to solve some problems.

    See

    http://ant.apache.org/manual/Tasks/local.html

提交回复
热议问题