1.首先下载jbpm 地址http://sourceforge.net/projects/jbpm/files/jBPM%204/ 并解压得到jbpm-4.3文件夹
2.打开myeclipse10 help->MyEclipse Configuration Center->Software
3.点击add site
4.指定Name(例如gpd4.3) 点击 Add from Archive File 找到解压后的目录jbpm-4.3\jbpm-4.3\install\src\gpd\ 下的jbpm-gpd-site.zip文件 选择打开 点击ok
5.双击每个文件添加到右侧的My Software中 如图
6.右下Pending Changes 点击 Apply 7 Changes 应用添加 操作完成后重启MyEclipse10
7.点击windows->Preferences 下会看到 JBoss jBPM。 选择Runtime Location 点击add
8.指定Name (jbpm-4.3) Serch 到 jbpm的根目录 点击确定
9.选中添加的目录,点击ok
10.windows->Preferences 添加User Libraries 指定名称jbpm4.3 点击ok
11.选中,点击Add JARs 将 jbpm-4.3\jbpm-4.3\lib下所有jar文件 和 jbpm-4.3\下的jbpm.jar文件全部添加到jbpm4.3内
12.关联源代码 选中jbpm.jar 下的Source attachment 点击edit 找到jbpm-4.3\jbpm-4.3\src目录并关联上
13.添加 xml catalog 点击windows->Preferences 搜索 xml 选择 XML Catalog
14.点击 Add 选择File System 找到src目录下的jpdl-4.3.xsd文件 点击打开 ok 环境搭完
15.新建 java project 名称jbpm 然后build path
16.点击 Add Library 选择 User Library 点击next
17.选中 之前建立的jbpm4.3 finish
18.右键点击项目src目录,选择 new->Other 找到JBoss jBPM 下 jBPM 4 Process Definition 点击 next
19.输入文件名选择 版本号 finish 就可以开始流程设计了