参考jBPM User Guide
1.安装好JDK和ANT,建立JAVA_HOME。
This script assumes you have Java JDK 1.5+ (set as JAVA_HOME), and Ant 1.7+ installed.
2.下载jbpm-5.4.0.Final-installer-full.zip,解压到目录jbpm-installer或其他目录。如果不下载full版本,在安装时还要下载其他包。
3.安装
运行CMD,进入jBPM解压后的文件夹,运行
ant install.demo
This will:
- Download JBoss AS
- Download Eclipse
- Install Drools Guvnor into JBoss AS
- Install jBPM Designer into JBoss AS
- Install the jBPM console into JBoss AS
- Install the jBPM Eclipse plugin
- Install the Drools Eclipse plugin
注:安装时会从网络下载Eclipse。可以将你的eclipse打包,改名为eclipse-java-helios-SR2-win32.zip(名字可以打开build.xml查看具体名称),放到目录jbpm-installer的lib文件夹下。(这样就不会从网络下载eclipse了)
也可以无Eclipse安装,运行
ant install.demo.noeclipse
4. 启动
运行
ant start.demo This will: Start the H2 database Start the JBoss AS Start Eclipse Start the Human Task Service
也可以无Eclipse启动
ant start.demo.noeclipse
5.关闭
ant stop.demo