Rule Builder > Managing Repositories > Working With Repositories > Saving a Repository |
Saving a Repository |
PREVIOUS NEXT |
You can save a repository as a set of files or in a database.
Saving a repository as a set of files is useful for portability reasons. In addition, a file-based repository can be integrated into a source code control (SCC) system such as CVS. This way of storing a repository also provides persistence and allows multiple users to access elements of the same repository.
Furthermore, if the repository is not too big, the burden of setting up a database is avoided.
If you are saving the repository as a set of files for the first time:
Subsequent saves of a repository do not require you to specify the name or location, and you have access to the Save As function to redefine the location.
Note |
You may receive messages from the Repository Repair Mechanism while saving. |
A file-based repository is represented in the file system as a directory that has the respository name, and whose content includes an Application and a Tool directory. For more information see the Enterprise Integration User's Manual. A file-based repository can be worked on by multiple users, using either the CVS plug-in or the JRules locking features.
To save the repository in a Relational Database Management System (RDBMS):
Notes |
bin/RuleBuilder/build.xml
. Add a new line in the <classpath>
section of the "run" target in your build.xml
file containing the location of your driver, for example:
<pathelement location=.../>
Warning |
You may want to run a backup before using this option, because the content of the tables cannot be recovered later. |
Using the Repository Repair Facility | Working with Repositories in CVS
Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. | PREVIOUS NEXT |