项目中,需要流程订制,找了几种开源工作流,Bonita、jBPM,现将jBPM的Demo安装部署过程整理介绍一下:
1.安装JDK 1.5+ (set as JAVA_HOME), 以及 Ant 1.7+ .
Java: http://java.sun.com/javase/downloads/index.jsp
Ant: http://ant.apache.org/bindownload.cgi
2.下载jbpm-{version}-installer.zip
地址为http://sourceforge.net/projects/jbpm/?source=dlp
3.执行安装脚本程序
ant install.demo.noeclipse
ant install.demo(下载eclipse出现问题,路径配置不当)
该过程耗时10min
4.下载eclipse
http://www.eclipse.org/downloads/
解压至.\jbpm-installer
或修改build.properties中配置的eclipse路径
install/build.properties中eclipse.home属性
5.使用eclipse工具
安装drools插件
http://justsee.iteye.com/blog/1198259
引入sample项目
"File -> Import ..." "Existing Projects into Workspace" the existing sample project (in the jbpm-installer/sample/evaluation directory)
6.启动
ant start.demo
将执行
- Start the H2 database
- Start the JBoss AS
- Start Eclipse
- Start the jBPM Human Task Service
....
7.示例查看
后续:自定义流程示例过程详解
dml@2013.7.3