隨筆-13  評論-9  文章-9  trackbacks-0

          基本環(huán)境:

          jdk : jdk1.5.0_06

          jbpm : jbpm-starters-kit-3.1.2

          ant : apache-ant-1.5.4

          配置好$ANT_HOME和$JAVA_HOME等環(huán)境變量

          解壓jbpm-starters-kit-3.1.2,我的解壓完畢路徑為E:\datum\jbpm\jbpm-starters-kit-3.1.2\

          進(jìn)入E:\datum\jbpm\jbpm-starters-kit-3.1.2\下,把 jbpm 文件夾改名為 jbpm.3

          進(jìn)入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(對應(yīng)的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(對應(yīng)的JBPM_HOME)
          jbpm.home=E:/datum/jbpm/jbpm-starters-kit-3.1.2/jbpm.3

          # jboss config proper only used for deployment(對應(yīng)的JBOSS,本人現(xiàn)在還沒有jboss所以沒有設(shè)置,不會影響生成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的腳本生成進(jìn)行了描述
            但是卻在編譯命令中沒有加載。所以我們只需要加一點內(nèi)容就可以了:
           
              找到下邊內(nèi)容
             
              
              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 閱讀(1690) 評論(0)  編輯  收藏 所屬分類: JBOSS-JBPM工作流

          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 玛纳斯县| 晋宁县| 仁寿县| 团风县| 沁源县| 松江区| 长泰县| 青阳县| 泸西县| 新沂市| 柏乡县| 孝感市| 通州区| 临沂市| 绵竹市| 文山县| 重庆市| 成武县| 陈巴尔虎旗| 普兰店市| 古交市| 阿拉善左旗| 东城区| 泸定县| 确山县| 清苑县| 安龙县| 新余市| 美姑县| 盘锦市| 大理市| 西青区| 沈阳市| 湖南省| 买车| 张家川| 常德市| 东兰县| 同心县| 大埔区| 彝良县|