基本環境:
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 閱讀(1683)
評論(0) 編輯 收藏 所屬分類:
JBOSS-JBPM工作流