基本环境:
jdk : jdk1.5.0_06
jbpm : jbpm-starters-kit-3.1.2
ant : apache-ant-1.5.4
配置好$ANT_HOME和$JAVA_HOME等环境变量
解压jbpm-starters-kit-3.1.2,我的解压完毕路径为E:\datum\jbpm\jbpm-starters-kit-3.1.2\
进入E:\datum\jbpm\jbpm-starters-kit-3.1.2\下,把 jbpm 文件夹改名为 jbpm.3
进入E:\datum\jbpm\jbpm-starters-kit-3.1.2\jbpm.3\下 修改 build.properties 文件
修改如下:
# jbpm.version only used for creating javadocs and the distribution package
jbpm.version=3.1.2
# ant.home is only used in the ant.install.libs target for copying the junit and clover libs(对应的ANT_HOME)
ant.home=E:/datum/ant/apache-ant-1.5.4
# jbpm.home is only to allow build scripts to open the browser with the html test results(对应的JBPM_HOME)
jbpm.home=E:/datum/jbpm/jbpm-starters-kit-3.1.2/jbpm.3
# jboss config proper only used for deployment(对应的JBOSS,本人现在还没有jboss所以没有设置,不会影响生成oracle脚本)
jboss.home=c:/software/jboss-4.0.3
jboss.version=4.0.x
jboss.source.configuration=default
# for creating the distribution
jbpm.gpd.version=3.0.4
在E:\datum\jbpm\jbpm-starters-kit-3.1.2\jbpm-db\oracle\lib 放入class12.jar
修改 xx\jbpm-starters-kit-3.1\jbpm-db下的 build.xml 文件,这个文件中,虽然把oracle 或者db2的脚本生成进行了描述
但是却在编译命令中没有加载。所以我们只需要加一点内容就可以了:
找到下边内容
depends="daffodildb.test,derby.test,firebird.test,
hsqldb.test,mssql.test,mysql.test,postgresql.test,sybase.test"
description="test jBPM on all databases and produces html reports in the build directory"/>
depends="prepare,daffodildb.scripts,derby.scripts,
firebird.scripts,hsqldb.scripts,mssql.scripts,mysql.scripts,
postgresql.scripts,sybase.scripts"
description="generates all database scripts for all databases in the build directory"/>
改成
depends="daffodildb.test,derby.test,firebird.test,
hsqldb.test,mssql.test,mysql.test,postgresql.test,oracle.test,sybase.test"
description="test jBPM on all databases and produces html reports in the build directory"/>
depends="prepare,daffodildb.scripts,derby.scripts,
firebird.scripts,hsqldb.scripts,mssql.scripts,mysql.scripts,
postgresql.scripts,oracle.scripts,sybase.scripts"
description="generates all database scripts for all databases in the build directory"/>
ant jbpm-db\build.xml文件。就可以在buile文件夹下面查看到oracle的script
posted on 2007-05-09 09:10
Dragonofson 阅读(1671)
评论(0) 编辑 收藏 所属分类:
JBOSS-JBPM工作流