Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
而不是硬编码项目名称:
<project name="myProject" basedir="src" default="build">
我想在命令行中输入项目名称,例如:
ant "myProject"
是否可以?
如果出现以下情况是可能的:
build.xml
myProject
然后你可以调用另一个文件等。