| <?xml version="1.0" encoding="UTF-8"?> |
| <setup:Product |
| xmi:version="2.0" |
| xmlns:xmi="http://www.omg.org/XMI" |
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xmlns:setup="http://www.eclipse.org/oomph/setup/1.0" |
| xmlns:setup.p2="http://www.eclipse.org/oomph/setup/p2/1.0" |
| name="cdo-server" |
| label="CDO Server"> |
| <annotation |
| source="http://www.eclipse.org/oomph/setup/BrandingInfo"> |
| <detail |
| key="folderName"> |
| <value>eclipse</value> |
| </detail> |
| <detail |
| key="folderName.macosx"> |
| <value>Eclipse</value> |
| </detail> |
| </annotation> |
| <setupTask |
| xsi:type="setup.p2:P2Task" |
| label="${scope.product.label}"> |
| <requirement |
| name="org.eclipse.platform.ide"/> |
| <requirement |
| name="org.eclipse.platform.feature.group"/> |
| <requirement |
| name="org.eclipse.rcp.feature.group"/> |
| <requirement |
| name="org.eclipse.emf.cdo.server.feature.group"/> |
| <requirement |
| name="org.eclipse.emf.cdo.server.db.feature.group"/> |
| <requirement |
| name="org.eclipse.net4j.db.feature.group"/> |
| <requirement |
| name="org.eclipse.net4j.db.h2.feature.group"/> |
| <requirement |
| name="org.eclipse.net4j"/> |
| <requirement |
| name="org.eclipse.net4j.jvm"/> |
| <requirement |
| name="org.eclipse.net4j.tcp"/> |
| </setupTask> |
| <setupTask |
| xsi:type="setup:EclipseIniTask" |
| option="-Dnet4j.config" |
| value="=${installation.location/}${installation.relativeProductFolder}" |
| vm="true"/> |
| <setupTask |
| xsi:type="setup:EclipseIniTask" |
| option="-Xmx" |
| value="1g" |
| vm="true"/> |
| <setupTask |
| xsi:type="setup:EclipseIniTask" |
| option="-console"/> |
| <setupTask |
| xsi:type="setup:TextModifyTask" |
| url="${installation.location|uri}/${installation.relativeProductFolder}/configuration/config.ini" |
| encoding="ISO-8859-1"> |
| <modification |
| pattern="eclipse\.application=([^\r\n]*)"> |
| <substitution>org.eclipse.emf.cdo.server.app</substitution> |
| </modification> |
| <modification |
| pattern="(osgi\.splashPath=)"> |
| <substitution>XXXosgi.splashPath=</substitution> |
| </modification> |
| </setupTask> |
| <setupTask |
| xsi:type="setup:ResourceCreationTask" |
| targetURL="${installation.location|uri}/${installation.relativeProductFolder}/cdo-server.xml" |
| encoding="UTF-8"> |
| <content> |
| <?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="ensureReferentialIntegrity" value="false"/> |
| <property name="allowInterruptRunningQueries" value="true"/> |
| <property name="idGenerationLocation" value="STORE"/> |
| <property name="serializeCommits" value="false"/> |
| <property name="optimisticLockingTimeout" value="10000"/> |
| |
| <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"/> |
| </mappingStrategy> |
| |
| <dbAdapter name="h2"/> |
| |
| <dataSource |
| class="org.h2.jdbcx.JdbcDataSource" |
| URL="jdbc:h2:${installation.location}/${installation.relativeProductFolder}/database/repo1"/> |
| </store> |
| </repository> |
| </cdoServer> |
| |
| </content> |
| </setupTask> |
| <version name="latest.release" |
| label="Latest Release" |
| requiredJavaVersion="11"> |
| <setupTask |
| xsi:type="setup.p2:P2Task"> |
| <repository |
| url="https://download.eclipse.org/releases/latest"/> |
| <repository |
| url="https://download.eclipse.org/modeling/emf/cdo/updates/releases/latest"/> |
| </setupTask> |
| </version> |
| <version name="integration.stable" |
| label="Stable Integration" |
| requiredJavaVersion="11"> |
| <setupTask |
| xsi:type="setup.p2:P2Task"> |
| <repository |
| url="https://download.eclipse.org/releases/latest"/> |
| <repository |
| url="https://download.eclipse.org/modeling/emf/cdo/updates/integration/stable/latest"/> |
| </setupTask> |
| </version> |
| <version name="integration.weekly" |
| label="Weekly Integration" |
| requiredJavaVersion="11"> |
| <setupTask |
| xsi:type="setup.p2:P2Task"> |
| <repository |
| url="https://download.eclipse.org/releases/latest"/> |
| <repository |
| url="https://download.eclipse.org/modeling/emf/cdo/updates/integration/weekly/latest"/> |
| </setupTask> |
| </version> |
| <description>A headless CDO Model Repository server.</description> |
| </setup:Product> |