updateapplicationserver ant任务始终以“失败”失败;“当前未部署WAR文件”;
我使用了一个取自configure-was-derby.xml示例的非常基本的构建文件: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
<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段吗?也许我们能找出问题所在。