ant machine name property

后端 未结 6 865
轮回少年
轮回少年 2020-12-30 22:31

Is there a way to get the machine name as ant property, for both Linux and Windows OS.

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-30 23:00

    Copy the value for Unix into the Windows version. Then you can use ${env.COMPUTERNAME}.

    
    

提交回复
热议问题