-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
Stephan Seifermann edited this page Jul 29, 2016
·
4 revisions
Details on the configuration possibilities can be found in the CDO Wiki. This page will just given an example configuration.
The configuration file has to be placed in the config folder next to the eclipse binary and has to be named cdo-server.xml.
You can use the configuration example below as a starting point for your own configuration.
- The configuration uses a H2 database located in the
cdo-storagefolder - The initial packages are required to fix some shortcomings of CDO
<?xml version="1.0" encoding="UTF-8"?>
<cdoServer>
<acceptor type="tcp" listenAddr="0.0.0.0" port="2036"/>
<repository name="repo1">
<property name="overrideUUID" value=""/>
<property name="supportingAudits" value="true"/>
<property name="supportingBranches" value="true"/>
<property name="supportingUnits" value="false"/>
<property name="checkUnitMoves" value="false"/>
<property name="ensureReferentialIntegrity" value="false"/>
<property name="allowInterruptRunningQueries" value="true"/>
<property name="idGenerationLocation" value="STORE"/>
<property name="serializeCommits" value="false"/>
<property name="optimisticLockingTimeout" value="10000"/>
<initialPackage nsURI="http://www.eclipse.org/ocl/1.1.0/OCL/Expressions"/>
<initialPackage nsURI="http://www.eclipse.org/ocl/1.1.0/OCL/Types"/>
<initialPackage nsURI="http://www.eclipse.org/ocl/1.1.0/OCL/Utilities"/>
<initialPackage nsURI="http:///www.eclipse.org/m2m/qvt/operational/trace.ecore"/>
<initialPackage nsURI="http://www.eclipse.org/gmf/runtime/1.0.2/notation"/>
<initialPackage nsURI="http://www.eclipse.org/uml2/5.0.0/UML"/>
<initialPackage nsURI="http://www.cooperateproject.de/modeling/textual/cls/Cls"/>
<initialPackage nsURI="http://www.eclipse.org/emf/2002/Ecore"/>
<store type="db">
<property name="connectionKeepAlivePeriod" value="60"/>
<property name="readerPoolCapacity" value="20"/>
<property name="writerPoolCapacity" value="20"/>
<mappingStrategy type="horizontal">
<property name="qualifiedNames" value="true"/>
<property name="withRanges" value="false"/>
</mappingStrategy>
<dbAdapter name="h2"/>
<dataSource class="org.h2.jdbcx.JdbcDataSource" URL="jdbc:h2:cdo-storage/repo1/h2/big"/>
</store>
</repository>
</cdoServer>