<?xml version="1.0" encoding="UTF-8"?> <!---Dhello=hello456在命令行写上ant -Dhello=hello456或者在myeclipse的Ant Build...->Main->arguments->-Dhello=hello456那么此处设置的属性值会覆盖构建文件中此属性值
--><project name="myAntProject" default="package" basedir="."><property name="hello" value="hello123"></property><target name="init"/><target name="preprocess" depends="init"><mkdir dir="${hello}"/></target><target name="compile" depends="init,preprocess"/><target name="package" depends="compile"/></project>
详细解决方案
-Dhello=hello456
热度:73 发布时间:2024-01-17 03:49:37.0
相关解决方案