问题描述
我刚刚更新了我的工作灯从工作室到6.0.0.1 6.1.0和更新我已经先行一步,并更新了我的路径上的工作灯 - 构建 - tools.jar中。这是值得一提的是,我的球队已经更新,我们正在努力到6.1.0项目。
继更新,我跑了Ant任务来构建和部署所有项目工件。结果
结果,我是不是能够部署适配器到本地开发服务器。
我解压缩后的工作灯,积聚的tools.jar和戳了一段时间,发现适配器部署任务已被转移到罐子内的不同位置。我添加了新的taskdef我的build.xml并得到了下面的错误。
有人能阐明这一些轻?该类似乎并不在罐子里存在的。
下面是从蚂蚁的错误:
构建文件:/Users/mario/Documents/workspace/workspace-myproject/MyWorklightProject/build.xml构建失败
/Users/mario/Documents/workspace/workspace-myproject/MyWorklightProject/build.xml:35:一流的taskdef com.ibm.worklight.config.ant.appserver.UpdateAppServerTask无法找到
使用ClassLoader AntClassLoader[/Users/mario/Documents/workspace/workspace-myproject/MyWorklightProject/worklight-build-tools.jar]
您可以找到工作灯-ANT-builder.jar
和工作灯,蚂蚁-deployer.jar
安装工作灯Server 6.1中,并期待在 WL_INSTALL_DIR / WorklightServer /
文件夹后。
工作灯-ANT-builder.jar是这些任务:
工作灯-ANT-deployer.jar中对这些任务:
I've just updated my Worklight Studio from 6.0.0.1 to 6.1.0 and with the update I've gone ahead and updated the worklight-build-tools.jar on my path. It's worth mentioning that my team has already updated the project we're working on to 6.1.0.
Following the update, I ran the ANT tasks to build and deploy all project artifacts.
The result, I wasn't able to deploy the adapters to the local development server.
I unzipped the worklight-build-tools.jar and poked around for a while and found the adapter-deployer task has been moved to a different location within the jar. I added the new taskdef to my build.xml and got the error below.
Can someone shed some light on this? The class doesn't seem to exist in the jar at all.
Here is the error from the ant:
Buildfile: /Users/mario/Documents/workspace/workspace-myproject/MyWorklightProject/build.xml
BUILD FAILED
/Users/mario/Documents/workspace/workspace-myproject/MyWorklightProject/build.xml:35: taskdef class com.ibm.worklight.config.ant.appserver.UpdateAppServerTask cannot be found
using the classloader AntClassLoader[/Users/mario/Documents/workspace/workspace-myproject/MyWorklightProject/worklight-build-tools.jar]
You can find worklight-ant-builder.jar
and worklight-ant-deployer.jar
after installing Worklight Server 6.1, and looking in the WL_INSTALL_DIR/WorklightServer/
folder.
worklight-ant-builder.jar is for these tasks:
- http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.deploy.doc%2Fdevref%2Fr_ant_tasks_deploy_projects.html
- http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.deploy.doc%2Fdevref%2Fr_ant_tasks_buld_deploy_apps.html
worklight-ant-deployer.jar is for these tasks:
- http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.deploy.doc%2Fdevref%2Fr_ant_tasks_buld_deploy_adapters.html
- http://pic.dhe.ibm.com/infocenter/wrklight/v6r1m0/index.jsp?topic=%2Fcom.ibm.worklight.deploy.doc%2Fdevref%2Fr_ant_tasks_for_deploying_and_configuring.html
这篇关于IBM工作灯6.1.0 - 无法部署使用Ant任务工作灯适配器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!