IBM Worklight 6.1-Ant生成失败:无法加载定义

IBM Worklight 6.1-Ant生成失败:无法加载定义,ant,ibm-mobilefirst,worklight-server,websphere-liberty,Ant,Ibm Mobilefirst,Worklight Server,Websphere Liberty,我已将worklight server从v6.0升级到v6.1。 目标环境是Liberty和Oracle数据库。 我已经为v6.1构建了一个war,并尝试部署它。 它失败,并显示以下错误消息: [taskdef] Could not load definitions from resource com/worklight/ant/defaults.properties. It could not be found. 蚂蚁罐子的名字已经改变了。因此,我不得不在xml配置文件中使用名为“workl

我已将worklight server从v6.0升级到v6.1。 目标环境是Liberty和Oracle数据库。 我已经为v6.1构建了一个war,并尝试部署它。 它失败,并显示以下错误消息:

[taskdef] Could not load definitions from resource com/worklight/ant/defaults.properties. It could not be found.

蚂蚁罐子的名字已经改变了。因此,我不得不在xml配置文件中使用名为“worklight ant deployer.jar”的新需求,而不是“worklight ant.jar”

<taskdef resource="com/worklight/ant/defaults.properties">
  <classpath>
    <fileset dir="${worklight.server.install.dir}/WorklightServer">
      <include name="worklight-ant-deployer.jar"/>
    </fileset>
 </classpath>
</taskdef>