Using a source control system allows multiple users to
collaborate on the development of a UIMA pipeline and its
associated linguistic resources.
Before you begin
If you installed
Content Analytics Studio in
the
Program Files or
Program Files
(x86) directory of your computer, which is the default
behavior of the installation program, you must run
Content Analytics Studio as an administrator when
you install the source control client. Right-click the
Content Analytics Studio icon on your desktop and
click
Run as administrator.
About this task
The following source control repositories were tested
with
Content Analytics Studio.
- Subclipse 1.6.23 client from Tigris
- Rational Team Concert™ 4.0.3
Using source control in Content Analytics Studio is similar to using source
control in other Eclipse projects. The only difference is how
databases are handled. The Content Analytics Studio databases
store the various linguistic resources, such as dictionary entries
and parsing rules. Because the databases are stored in multiple
binary files, changes from different users cannot be directly compared
and merged. Therefore, Content Analytics Studio maintains
a copy of the data in CSV files.
When you modify
Content Analytics Studio resources, the corresponding
database is updated. After you close the database,
any changes to the data are written to a CSV file.
When you synchronize your project with the source control repository,
any updates that are made by you or other users are
shown as changes to the CSV file. Because CSV files
are plain text, you can compare the changes and merge changes if
necessary. When you update your project with changes
from the source control repository,
Content Analytics Studio detects whether any CSV
files were changed and updates the database accordingly.
Important: Close all databases before you
synchronize your project. If a database is open when you
synchronize your project and changes need to be applied
to that database, you receive the error The
database cannot be restored from the CSV data
because it is open. To resolve this problem, close the
database, right-click the database, and click Restore
from CSV.