Oracle神諭

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            284 隨筆 :: 9 文章 :: 106 評論 :: 0 Trackbacks

          <!--

          jbpm.db build script  (jbpm.db 編譯腳本)
          ====================

          The jbm.db build script consists of a few major sections(jbpm.db 編譯腳本包含一些主要部分):

          - general setup (普通安裝)
          - common tasks   (公用任務)
          - database specific tasks (數據庫特定任務)

          A database specific task calls common tasks with the database name as a parameter
          and carries out its duties. (一個數據庫特定任務調用公有的任務使用數據庫名作為一個參數,并且執(zhí)行它的職責。)

          The main tasks are the database script creation and the database test run.(主要的任務是數據庫腳本創(chuàng)建和數據庫測試運行)

          Following is a explanation of the flow for both. They start off with the same steps.
          The explanation with use hsqldb as an example.(下面是一個流程的說明。他們開始使用同樣的步驟)

          1. "prepare" target compiles all jbpm.3 classes ("prepare" 目標編譯所有的jbpm3.classes )
          2. "hsqldb.prepare" target calls the "db.prepare" target with the parameter "hsqldb" ("hsqldb.prepare" 目標調用"db.prepare"目標使用"hsqldb"參數)
          3. "db.prepare" copies the resources tree from the jbpm.3 project and ()
          4. sources the property file hsqldb/hibernate.properties and replaces the
             properties from the main project in the copied hibernate config file with
             properties from the file making it database specific to the test settings using
             "hibernate.replace". This differs per database.
             ("db.prepare"從jbpm.3項目和 hsqldb/hibernate.properties 屬性文件復制資源目錄,并從在復制的擁有從文件屬性的hibernate配置文件中的主項目替換這些屬性,使用數據庫特定給test 的設置使用"hibernate.replace".這對每個數據庫是不同的 。
             )

          After this preparation the scripts targets (在這準備腳本目標之后)

          5. "hsqldb.scripts" target calls the "db.scripts" target with the hsqldb parameter ("hsqldb.script"目標調用"db.script"目標使用hsqldb 參數)
          6. "db.scripts" target creates the scripts files in the build/hsqldb/scripts folder based
             on the db specific hibernate configuration
             ("db.scripts"目標創(chuàng)建腳本文件在db特定hibernate配置文件的build/hsql/scripts/目錄 或test目標文件 )
          or the the test targets

          5. "hsqldb.test" target calls the "db.test" target with the hsqldb parameter ("hsqldb.test" 目標調用"db.test"目標使用hsqldb參數)
          6. "db.test" target runs all tests against the hsqldb database and creates a test report
             in build/hsqldb/testresults
             ("db.test"目標運行所有的測試 靠著hsqldb 數據庫和測試報告)
          -->

          posted on 2005-06-22 11:54 java世界暢談 閱讀(507) 評論(0)  編輯  收藏 所屬分類: 工作流
          主站蜘蛛池模板: 当涂县| 正定县| 沅陵县| 元氏县| 泸西县| 花莲市| 沽源县| 天长市| 丹东市| 肥乡县| 剑河县| 治多县| 普宁市| 南康市| 油尖旺区| 仲巴县| 望江县| 宁河县| 周宁县| 山丹县| 惠安县| 台南市| 池州市| 乐昌市| 平利县| 宁化县| 徐闻县| 苍溪县| 云林县| 左云县| 扬中市| 金寨县| 东阿县| 嘉鱼县| 阳山县| 静安区| 牙克石市| 霍林郭勒市| 罗山县| 浦城县| 延庆县|