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. (一個數據庫特定任務調用公有的任務使用數據庫名作為一個參數,并且執行它的職責。)

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

          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"目標創建腳本文件在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)  編輯  收藏 所屬分類: 工作流
          主站蜘蛛池模板: 汤阴县| 南召县| 南澳县| 罗城| 安义县| 师宗县| 巴青县| 临潭县| 宜宾县| 垦利县| 宜黄县| 丽水市| 绿春县| 龙门县| 天镇县| 岑巩县| 兴化市| 拉萨市| 广汉市| 肇东市| 防城港市| 磐石市| 平南县| 佛坪县| 绥棱县| 宝丰县| 方城县| 萨迦县| 彰武县| 东乡县| 东安县| 普安县| 丹凤县| 安多县| 夏河县| 尼玛县| 阳新县| 漳州市| 怀远县| 永靖县| 沐川县|