How to set the path environment variable from ant script

前端 未结 7 827
我在风中等你
我在风中等你 2020-12-05 06:37

How to set the path environment variable from ant script

7条回答
  •  清歌不尽
    2020-12-05 06:57

    since I don't have enough reputation to comment on the suggestions my comment as an answer ... :-/

    In ("newer") ant-contrib (extra ANT package) the task is not called but !

    (but it didn't work for me anyways since I think the manipulation of the env.* (created by task) Java properties/variables is only relevant for tasks/processes evaluating these Java properties which are not automatically "synced back" to the OS environment variables)

提交回复
热议问题