Topic: ant!能不能接收command的arg参数

  Print this page

1.ant!能不能接收command的arg参数 Copy to clipboard
Posted by: tiexuexue
Posted on: 2004-06-17 10:03

比如我有一个target是test,我想向这个target传参数
比如:ant test myarg,该如何做到?

2.Re:ant!能不能接收command的arg参数 [Re: tiexuexue] Copy to clipboard
Posted by: tiexuexue
Posted on: 2004-06-17 10:36

hehe,自我回复,在faq里面就有其实,嘿嘿
先<property name="name" value=""/>
然后用ant -Dname=xxx yourtarget


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923