当前位置: 代码迷 >> Eclipse >> Jbpm4.0 4.1 4.3 eclipse插件gdp的装配
  详细解决方案

Jbpm4.0 4.1 4.3 eclipse插件gdp的装配

热度:35   发布时间:2016-04-23 02:26:13.0
Jbpm4.0 4.1 4.3 eclipse插件gdp的安装
Jbpm4.0 4.1 4.3 eclipse插件gdp的安装
yy629  2009-09-02 23:23:12
qq: 344850459


按照userguide的方法装jbpm4插件装了一天也没装上,只好自己探索如何安装了.
适合Jbpm4.x版本的
如果你的eclipse按照jbpm4中userguide的方法安装不上,就试试下面的步骤吧:
注 4.1gpd位于${jbpm_home}/install/src/gpd
1.将${jbpm_home}/gbd/jbpm-gpd-site.zip解压到${jbpm_home}/gpd/jbpm-gpd-site中

2.解压${jbpm_home}/gpd/jbpm-gpd-site/plugins中的.pack,gz文件
新建一个文件unpack.cmd, 内容如下:
@echo offfor /R %%I in (*.pack.gz) do unpack200 -r %%~nxI %%~nI.jarren *.jar *.ren *.pack *.

运行unpack.cmd即可解压
注: unpack200是${jdk_home}/bin中的命令,请将${jdk_home}/bin添加到path中

3 更改${jbpm_home}/gpd/jbpm-gpd-site/artifacts.jar中artifacts.xml中的md5
  如何改:
安装插件时,eclipse会报错如下:[先按第4步开始更新]
An error occurred while collecting items to be installed
  session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
  Problems downloading artifact: osgi.bundle,org.jboss.tools.flow.common,1.0.0.v200907072256.
    MD5 hash is not as expected. Expected: 273c8df5c4013d256cf081a07dbc3fd0 and found fa35b4f34c36114b097d238d06044cc0.
  Problems downloading artifact: osgi.bundle,org.jboss.tools.flow.common.source,1.0.0.v200907072256.
    MD5 hash is not as expected. Expected: 77a04dd919a069669691496c9d8747f7 and found a83f8616c93c22e59bab6c052617b9e4.
  Problems downloading artifact: osgi.bundle,org.jboss.tools.flow.jpdl4,1.0.0.v200907072256.
    MD5 hash is not as expected. Expected: c1a82f69731b8b3979c1e11d926c0bae and found b1dedcfd4337af74e673d170209c4886.
  Problems downloading artifact: osgi.bundle,org.jboss.tools.flow.jpdl4.multipage,1.0.0.v200907072256.
    MD5 hash is not as expected. Expected: 47b19d8a7cf8474257c346751d7996b8 and found 737d0ab7aa5760ced7d2cfc8a70fb5cb.
  Problems downloading artifact: osgi.bundle,org.jboss.tools.flow.jpdl4.multipage.source,1.0.0.v200907072256.
    MD5 hash is not as expected. Expected: 657f54c93b307b6cd6e4803a8856076d and found 997913b0a644000f4cec534cd987340c.
  Problems downloading artifact: osgi.bundle,org.jboss.tools.flow.jpdl4.source,1.0.0.v200907072256.
    MD5 hash is not as expected. Expected: b5ffe26d00949d1ed9f8eb47adb9ca1c and found 233318d8e4e2b8de8fc008a65c1d7bca.
  Problems downloading artifact: osgi.bundle,org.jboss.tools.jbpm.common,1.0.0.v200907072256.
    MD5 hash is not as expected. Expected: c9eb93167ef09f503febe21e3316e95b and found 59d6d575ad8f3675c241f050ea54de36.
  Problems downloading artifact: osgi.bundle,org.jboss.tools.jbpm.common.source,1.0.0.v200907072256.
    MD5 hash is not as expected. Expected: 53d189298d07308461ffae5a0c26273b and found 158f15333ffb9bfbafb8a79c5990f407.

在artifacts.xml中搜索Expected:后面的md5,替换为and found之后的那个md5
将更改后的artifacts.xml打包到${jbpm_home}/gpd/jbpm-gpd-site/artifacts.jar中

4 添加更新地址开始安装插件:
如果报md5不匹配,请按照第3步改
To add the update site to eclipse:
□ Help --> Install New Software...
□ Click Add...
□ In dialog Add Site dialog, click Local...
□ Navigate to ${jbpm_home}/gpd/jbpm-gpd-site/ and click 'Open'
□ Clicking OK in the Add Site dialog will bring you back to the dialog 'Install'
□ Select the jPDL 4 GPD Update Site that has appeared
□ Click Next... and then Finish
□ Approve the license
□ Restart eclipse when that is asked

附件中的分别是已经整理好的jbpm4.0和jbpm4.1的插件
可以直接进行解压,然后按照第4步执行

jbpm4.0插件可以在myeclipse7.5,eclipse jee和eclipse3.5上安装
jbpm4.1插件我只在eclipse jee上安装成功,eclipse3.5和myeclipse7.5的osgi.bundle/org.eclipse.wst.xml.core版本低了

附件中新增了4.3的插件(感谢quqibing的提供)

   
1 楼 quqibing 2010-04-15  
非常感谢你的说明, 照你的方法我已经成功安装jbpm4.3的插件,
我也共享一下修改完的4.3的jpd插件文件:
http://u.115.com/file/f522d5500a
2 楼 happy_no1 2010-07-02  
谢谢你把GPD插件包共享出来,我找了好久呢!今天终于可以试试拉。
3 楼 microbone 2010-11-01  
插件装上了,感谢各位的奉献,大家定义流程的时候有没有出现乱码,我已经都改成utf-8了
  相关解决方案