Oracle神諭

            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            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   (公用任務(wù))
          - database specific tasks (數(shù)據(jù)庫特定任務(wù))

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

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

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

          1. "prepare" target compiles all jbpm.3 classes ("prepare" 目標(biāo)編譯所有的jbpm3.classes )
          2. "hsqldb.prepare" target calls the "db.prepare" target with the parameter "hsqldb" ("hsqldb.prepare" 目標(biāo)調(diào)用"db.prepare"目標(biāo)使用"hsqldb"參數(shù))
          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項(xiàng)目和 hsqldb/hibernate.properties 屬性文件復(fù)制資源目錄,并從在復(fù)制的擁有從文件屬性的hibernate配置文件中的主項(xiàng)目替換這些屬性,使用數(shù)據(jù)庫特定給test 的設(shè)置使用"hibernate.replace".這對每個(gè)數(shù)據(jù)庫是不同的 。
             )

          After this preparation the scripts targets (在這準(zhǔn)備腳本目標(biāo)之后)

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

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

          posted on 2005-06-22 11:54 java世界暢談 閱讀(512) 評論(0)  編輯  收藏 所屬分類: 工作流
          主站蜘蛛池模板: 大冶市| 凉山| 双江| 吴堡县| 鹤庆县| 监利县| 稷山县| 郁南县| 吉木乃县| 永新县| 乐昌市| 武隆县| 兴隆县| 阜平县| 永清县| 鸡泽县| 且末县| 三江| 连山| 南宁市| 盱眙县| 壶关县| 财经| 仪陇县| 卢湾区| 长治县| 山阳县| 渑池县| 呼和浩特市| 阿城市| 象州县| 中阳县| 孟州市| 临夏市| 建德市| 新郑市| 中方县| 镇雄县| 洛南县| 工布江达县| 姜堰市|