自动将 Portlet 部署到 WebSphere Portal Server 6.1
我最近开始了一个项目,开发一些将在 IBM WebSphere Portal Server 6.1 上运行的 portlet。
有谁知道用于将 portlet 发布到 Portal Server 的任何脚本、Ant 任务、Maven 插件等吗?在 Eclipse 的 WebSphere Portlet Factory 插件中,可以将 Portlet 项目“发布”到 Portal Server 实例,但是我想知道这里的幕后情况(或者至少如何复制该行为),以便我可以在其他地方完成(即从持续集成服务器)。
更新:据我所知,Portlet Factory 似乎使用 WebSphere JMX 客户端进行发布。有谁知道我可以在哪里找到更多详细信息?
I've recently started on a project to develop some portlets which will run on IBM WebSphere Portal Server 6.1.
Does anyone know of any scripts, Ant tasks, Maven plugins, etc. for publishing a portlet to Portal Server? In the WebSphere Portlet Factory plugin for eclipse it is possible to "publish" a portlet project to Portal Server instance, however I'd like to know what's going on underneath the hood here (or at least how to replicate the behaviour) so that I can do it in other places (i.e. from continuous integration server).
UPDATE: From what I've read it sounds like the Portlet Factory publishes using a WebSphere JMX client. Does anyone know where I can find more details on this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您还可以使用工具进行自动化部署。
看一下 Xebialabs 的 Deployit。在 http://www.xebialabs.com 上,您可以下载 WAS 的免费版本,他们也有一个插件-输入门户。
You can also use tooling for automated deployment.
Take a look at Deployit from Xebialabs. On http://www.xebialabs.com you can download a free version for WAS and they also have a plug-in for Portal.
我在 WebSphere Portal 站点上找到了一些标题为“门户管理工具" 其中列出了几个选项:
XML 配置接口和脚本接口听起来像是我正在寻找的,因为这些可以很容易地从自动化流程中调用。
我还找到了 使用 WebSphere 的 Java 程序的示例JMX 接口,但是我不知道这是否也适用于 WebSphere Portal...
I found some documentation on the WebSphere Portal site entitled "Portal administration tools" which lists a few options:
The XML configuration interface and the scripting interface sound like they might be what I'm looking for, as these could easily be called from an automated process.
I also found an example of a Java program which uses the WebSphere JMX interface, however I don't know if this would also work for WebSphere Portal...