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

          基本環境:

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

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


          網站導航:
           
          主站蜘蛛池模板: 新竹市| 微山县| 宣威市| 罗城| 鄯善县| 自治县| 延长县| 邵武市| 平乐县| 宁国市| 中西区| 双峰县| 新密市| 汉川市| 柯坪县| 赤水市| 定安县| 赤壁市| 敦化市| 清河县| 类乌齐县| 江门市| 惠安县| 海淀区| 新化县| 扎兰屯市| 精河县| 德化县| 屯昌县| 孝义市| 镇原县| 河北省| 监利县| 阿勒泰市| 嵊泗县| 新丰县| 仁寿县| 特克斯县| 灵寿县| 邢台县| 巴彦淖尔市|