【发布时间】:2011-03-04 06:22:02
【问题描述】:
我必须通过 Apache config.xml 配置 IPV6。我通过 ADDR6 读取 IP。我想将它传递给这样的命令- ant -f config.xml configureForIPv6 <IP>。目标很容易传递,但我如何传递 IP 参数? Ant 不喜欢 arg 值。
<ant antfile="${APACHE_HOME}/config.xml" target="configureForIPv6" arg="-DIPv6_Interface=${ADDR6}" inheritRefs="true"> ?
【问题讨论】: