本文主要是介绍jbpm.db build script 的翻译,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
<!--
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 数据库和测试报告)
-->
这篇关于jbpm.db build script 的翻译的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!