Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/drupal/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用ant call_Ant - Fatal编程技术网

如何使用ant call

如何使用ant call,ant,Ant,当我尝试从windows命令提示符运行以下命令时,它工作正常 ant Reports -f C:/EAR_XMLS/InfraCopy.xml "-Dsource=C:\Console" "-Ddestination=C:/INFRA" "-DAPP_NAME=TEST_FCJ" 如何在build.xml(ANT)中运行相同的程序?我不喜欢EXEC选项。了解更多详细信息。了解更多详细信息 <ant antfile="C:/EAR_XMLS/InfraCopy.xml" target="

当我尝试从windows命令提示符运行以下命令时,它工作正常

ant Reports -f C:/EAR_XMLS/InfraCopy.xml "-Dsource=C:\Console" "-Ddestination=C:/INFRA" "-DAPP_NAME=TEST_FCJ" 
如何在build.xml(ANT)中运行相同的程序?我不喜欢EXEC选项。

了解更多详细信息。

了解更多详细信息

<ant antfile="C:/EAR_XMLS/InfraCopy.xml" target="Reports">
  <property name="source" value="C:\Console"/>
  <property name="destination" value="C:/INFRA"/>
  <property name="APP_NAME" value="TEST_FCJ"/>
</ant>