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世界畅谈 阅读(487) 评论(0)  编辑  收藏 所属分类: 工作流

只有注册用户登录后才能发表评论。


网站导航: