无法在Worklight 6.2上使用ant任务发布适配器
我的部署在Eclipse中运行得很好,但每当我尝试运行ant脚本时。我收到以下错误消息 [警告]SRVE0190E:未找到文件:/console/api/adapters/upload 我已经包括了下面描述的罐子。我使用的ant脚本是:无法在Worklight 6.2上使用ant任务发布适配器,ant,ibm-mobilefirst,Ant,Ibm Mobilefirst,我的部署在Eclipse中运行得很好,但每当我尝试运行ant脚本时。我收到以下错误消息 [警告]SRVE0190E:未找到文件:/console/api/adapters/upload 我已经包括了下面描述的罐子。我使用的ant脚本是: <project basedir="." default="deploy"> <property name="worklight-ant-deployer" location="worklight-ant-deployer.jar" />
<project basedir="." default="deploy">
<property name="worklight-ant-deployer" location="worklight-ant-deployer.jar" />
<target name="init">
<taskdef resource="com/worklight/ant/defaults.properties">
<classpath>
<pathelement location="./lib/worklight-ant-deployer.jar"/>
</classpath>
</taskdef>
</target>
<target name="deploy" depends="init">
<adapter-deployer deployable="/pathTo/MyAdapter.adapter" worklightServerHost="http://localhost:10080/MyApp"/>
</target>
</project>
我认为您的ant任务不是Worklight 6.2的最新版本。查看以下用户文档主题: 该文档详细说明了脚本中需要进行的更改,以便通过ant任务重新开始部署
有关在Worklight 6.2中使用Ant的更多信息,请参见:。看起来Worklight 6.1中的Ant库与Worklight 6.2不兼容