Roy-jBPM手记-1-安装配置

一、安装(源代码方式安装)
 
1.下载版本
 
  jbpm-starters-kit-3.1.2
  JDK:1.5(1.4下用ant编译不成功)
  ant:1.6.5(1.6.2没有编译成功,可能是没有junit的原因)
 
2.生成数据
  a.修改jbpm-starters-kit-3.1.2/jbpm-db/build.properties
 
#jbpm路径
jbpm.3.location=../jbpm
#hibernate配置文件位置
upgrade.hibernate.properties=oracle/hibernate.properties
#oracle驱动位置
upgrade.libdir=oracle/lib
 
  b.修改jbpm-starters-kit-3.1.2/jbpm-db/oracle/hibernate.properties
 
hibernate.connection.driver_class=oracle.jdbc.driver.OracleDriver
hibernate.connection.url=jdbc:oracle:thin:@<host>:<port>:<SID>
hibernate.connection.username=<username>
hibernate.connection.password=<password>
 
  c.修改jbpm-starters-kit-3.1.2/jbpm/build.properties
# ant.home is only used in the ant.install.libs target for copying the junit and clover libs
ant.home=D:/java/org.apache.ant_1.6.5
 
# jbpm.home is only to allow build scripts to open the browser with the html test results
jbpm.home=D:/reference/jbpm-starters-kit-3.1.2/jbpm
 
# jboss config proper only used for deployment
jboss.home=c:/software/jboss-4.0.3
 
  d.生成scripts
 
在jbpm-starters-kit-3.1.2/jbpm-db路径下,执行:ant oracle.scripts。生成文件被保存到jbpm-starters-kit-3.1.2/jbpm-db/build/oracle/scripts
 
  e.修改jbpm-starters-kit-3.1.2/jbpm-db/build/oracle/scripts/oracle.drop.create.sql
 
将JBPM_LOG表的生成语句断成两行,否则在导入数据库时可能报错。(可能原因是超过了字符长度的限制)
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值