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
updateapplicationserver ant任务始终以“失败”失败;“当前未部署WAR文件”;_Ant_Ibm Mobilefirst - Fatal编程技术网

updateapplicationserver ant任务始终以“失败”失败;“当前未部署WAR文件”;

updateapplicationserver ant任务始终以“失败”失败;“当前未部署WAR文件”;,ant,ibm-mobilefirst,Ant,Ibm Mobilefirst,我使用了一个取自configure-was-derby.xml示例的非常基本的构建文件: <property name="worklight.server.install.dir" value="C:/Worklight70"/> <property name="config.migration.tool.enable" value="true"/> <target name="minimal-update"> <updateapplicationser

我使用了一个取自configure-was-derby.xml示例的非常基本的构建文件:

<property name="worklight.server.install.dir" value="C:/Worklight70"/>
<property name="config.migration.tool.enable" value="true"/>
<target name="minimal-update">
<updateapplicationserver id="" contextroot="/AreaClienti">
<project warfile="C:/temp/AreaClienti.war"/>
<applicationserver>
<websphereapplicationserver installdir="C:/WebSphere85/AppServer"/" profile="AppSrv01" user="wasuser" password="xxxxx">
<server name="server1"/>
</websphereapplicationserver>
</applicationserver>
</updateapplicationserver>
</target>

显然,最小更新Ant任务会对Worklight目录的存在进行初步检查,如果缺少,则会失败。你能确认这是真的吗

没错

有没有办法将这些日志重定向到不同的目录中,以避免填充用户根目录的风险


不幸的是,没有。

您能在问题中编辑您调用的
updateapplicationserver
的XML段吗?也许我们能找出问题所在。