Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2011-07-12 12:27:30 -0400
committerEike Stepper2011-07-12 12:27:30 -0400
commit31a369473524bed56b90c0ba591745b4e598d0f1 (patch)
tree4b06a81c119c298445067fb5e7c2bbd276895caa
parent5460228f974978bb7a6357528ce82d2b2f93867e (diff)
downloadcdo-31a369473524bed56b90c0ba591745b4e598d0f1.tar.gz
cdo-31a369473524bed56b90c0ba591745b4e598d0f1.tar.xz
cdo-31a369473524bed56b90c0ba591745b4e598d0f1.zip
[351616] [releng] Provide platform-specific server downloads
https://bugs.eclipse.org/bugs/show_bug.cgi?id=351616
-rw-r--r--features/org.eclipse.emf.cdo.server.product-feature/build.properties3
-rw-r--r--features/org.eclipse.emf.cdo.site-feature/category.xml3
-rw-r--r--features/org.eclipse.emf.cdo.site-feature/feature.xml4
-rw-r--r--plugins/org.eclipse.emf.cdo.releng/build.xml171
-rw-r--r--plugins/org.eclipse.emf.cdo.server/plugin.properties4
-rw-r--r--plugins/org.eclipse.emf.cdo.server/plugin.xml2
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/META-INF/MANIFEST.MF94
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/bundle/OM.java4
8 files changed, 212 insertions, 73 deletions
diff --git a/features/org.eclipse.emf.cdo.server.product-feature/build.properties b/features/org.eclipse.emf.cdo.server.product-feature/build.properties
index 29f3cab452..661611867f 100644
--- a/features/org.eclipse.emf.cdo.server.product-feature/build.properties
+++ b/features/org.eclipse.emf.cdo.server.product-feature/build.properties
@@ -19,5 +19,8 @@ bin.includes = feature.xml,\
eclipse_update_120.jpg,\
copyright.txt,\
about.html
+src.includes = about.html,\
+ epl-v10.html,\
+ license.html
root=rootfiles
diff --git a/features/org.eclipse.emf.cdo.site-feature/category.xml b/features/org.eclipse.emf.cdo.site-feature/category.xml
index 3b97624c8c..4f013c1028 100644
--- a/features/org.eclipse.emf.cdo.site-feature/category.xml
+++ b/features/org.eclipse.emf.cdo.site-feature/category.xml
@@ -33,6 +33,9 @@
<feature id="org.eclipse.emf.cdo.server.product" version="0.0.0">
<category name="org.eclipse.emf.cdo.category"/>
</feature>
+ <feature id="org.eclipse.emf.cdo.explorer.product" version="0.0.0">
+ <category name="org.eclipse.emf.cdo.category"/>
+ </feature>
<feature id="org.eclipse.emf.cdo.tests" version="0.0.0">
<category name="org.eclipse.emf.cdo.category"/>
</feature>
diff --git a/features/org.eclipse.emf.cdo.site-feature/feature.xml b/features/org.eclipse.emf.cdo.site-feature/feature.xml
index d9810223cf..4ca43fd57b 100644
--- a/features/org.eclipse.emf.cdo.site-feature/feature.xml
+++ b/features/org.eclipse.emf.cdo.site-feature/feature.xml
@@ -122,6 +122,10 @@
id="org.eclipse.emf.cdo.server.product"
version="0.0.0"/>
+ <includes
+ id="org.eclipse.emf.cdo.explorer.product"
+ version="0.0.0"/>
+
<plugin
id="org.eclipse.emf.cdo.examples.server"
download-size="0"
diff --git a/plugins/org.eclipse.emf.cdo.releng/build.xml b/plugins/org.eclipse.emf.cdo.releng/build.xml
index 07420a50c4..68637a775f 100644
--- a/plugins/org.eclipse.emf.cdo.releng/build.xml
+++ b/plugins/org.eclipse.emf.cdo.releng/build.xml
@@ -77,14 +77,16 @@
</sequential>
</macrodef>
- <macrodef name="generate-server">
- <attribute name="name" />
+ <macrodef name="generate-product">
+ <attribute name="profile" />
+ <attribute name="feature" />
+ <attribute name="platform" />
<attribute name="os" />
<attribute name="ws" />
<attribute name="arch" />
<attribute name="priority" />
<sequential>
- <mkdir dir="${temp.server}" />
+ <mkdir dir="${temp.product}" />
<eclipse.launch app="director">
<properties>
<sysproperty key="eclipse.p2.mirrors" value="false" />
@@ -93,11 +95,11 @@
<arg value="-r" />
<arg value="file:${hudson.WORKSPACE}" />
<arg value="-d" />
- <arg value="${temp.server}" />
+ <arg value="${temp.product}" />
<arg value="-p" />
- <arg value="CDOServer" />
+ <arg value="@{profile}" />
<arg value="-i" />
- <arg value="org.eclipse.emf.cdo.server.product" />
+ <arg value="@{feature}" />
<arg value="-p2.os" />
<arg value="@{os}" />
<arg value="-p2.ws" />
@@ -107,23 +109,26 @@
</args>
</eclipse.launch>
<delete includeemptydirs="true" quiet="true">
- <fileset dir="${temp.server}/p2">
- <include name="**" />
+ <fileset dir="${temp.product}">
+ <include name="p2/**" />
+ <include name="launcher.exe" />
</fileset>
</delete>
- <fileset dir="${temp.server}" id="@{name}-files">
+
+ <fileset dir="${temp.product}" id="@{profile}-@{platform}-files">
<include name="**" />
</fileset>
- <zip destfile="${hudson.WORKSPACE}/zips/emf-cdo-${build.qualifier}-DemoServer-@{name}.zip">
- <fileset refid="@{name}-files" />
+ <zip destfile="${hudson.WORKSPACE}/zips/emf-cdo-${build.qualifier}-@{profile}-@{platform}.zip">
+ <fileset refid="@{profile}-@{platform}-files" />
</zip>
<delete includeemptydirs="true" quiet="true">
- <fileset refid="@{name}-files" />
+ <fileset refid="@{profile}-@{platform}-files" />
</delete>
- <echo message="description=for execution on @{name}."
- file="${hudson.WORKSPACE}/zips/emf-cdo-${build.qualifier}-DemoServer-@{name}.properties" />
+
+ <echo message="description=for execution on @{platform}."
+ file="${hudson.WORKSPACE}/zips/emf-cdo-${build.qualifier}-@{profile}-@{platform}.properties" />
<echo message="priority=@{priority}"
- file="${hudson.WORKSPACE}/zips/emf-cdo-${build.qualifier}-DemoServer-@{name}.properties"
+ file="${hudson.WORKSPACE}/zips/emf-cdo-${build.qualifier}-@{profile}-@{platform}.properties"
append="true" />
</sequential>
</macrodef>
@@ -132,7 +137,7 @@
<!-- Init Properties -->
<!-- =============== -->
- <target name="init.properties">
+ <target name="-init.properties">
<echo message="stream = ${stream}" />
<echo message="branch = ${branch}" />
@@ -155,7 +160,7 @@
<!-- Init Clean -->
<!-- ========== -->
- <target name="init.clean" depends="init.properties">
+ <target name="-init.clean" depends="-init.properties">
<delete includeemptydirs="true" failonerror="true" quiet="true">
<fileset dir="${hudson.WORKSPACE}">
<include name="binary/**" />
@@ -176,7 +181,7 @@
<!-- Init Tools -->
<!-- ========== -->
- <target name="init.tools" depends="init.clean">
+ <target name="-init.tools" depends="-init.clean">
<if>
<equals arg1="${hudson.CLEAN_TOOLS}" arg2="true" />
<then>
@@ -243,7 +248,7 @@
<!-- Init Build Infos -->
<!-- ================ -->
- <target name="init.buildinfos" depends="init.clean">
+ <target name="-init.buildinfos" depends="-init.clean">
<xmlproperty keeproot="false">
<url url="${hudson.BUILD_URL}/api/xml?tree=actions[causes[shortDescription]]" />
</xmlproperty>
@@ -344,7 +349,7 @@
<!-- Init Workspace -->
<!-- ============== -->
- <target name="init.workspace" depends="init.clean">
+ <target name="-init.workspace" depends="-init.clean">
<echo message="Initializing workspace" />
<if>
@@ -388,7 +393,7 @@
<!-- ========= -->
<target name="provision"
- depends="init.tools,init.buildinfos,init.workspace"
+ depends="-init.tools,-init.buildinfos,-init.workspace"
description="Imports projects and binaries">
<echo message="Importing projects into ${ws}" />
<echo message="Importing binaries into ${tp}" />
@@ -450,16 +455,47 @@
</fileset>
</copy>
- <echo message="" />
- <echo message="Creating index" />
+ <antcall target="-generate.index" />
+ <antcall target="-generate.bookmarks" />
+ <antcall target="-generate.dropins" />
+ <antcall target="-generate.products" />
+ </target>
+
+ <!-- ==== -->
+ <!-- Test -->
+ <!-- ==== -->
+
+ <target name="test" depends="site.p2" description="Runs the tests">
+ <echo message="Running JUnit tests" />
+ <buckminster command="junit">
+ <cmdargs>
+ <arg value="-l" />
+ <arg value="org.eclipse.emf.cdo.tests/CDO AllTests.launch" />
+ <arg value="-o" />
+ <arg value="${test.report}" />
+ <arg value="--terseXML" />
+ <arg value="--flatXML" />
+ </cmdargs>
+ </buckminster>
+ </target>
+
+ <!-- ============== -->
+ <!-- Generate Index -->
+ <!-- ============== -->
+
+ <target name="-generate.index">
<unzip src="${hudson.WORKSPACE}/content.jar" dest="${hudson.WORKSPACE}" />
<property name="content.xml" location="${hudson.WORKSPACE}/content.xml" />
<xslt style="xsl/content2html.xsl" in="${content.xml}" out="${hudson.WORKSPACE}/index.html" />
<xslt style="xsl/content2xml.xsl" in="${content.xml}" out="${hudson.WORKSPACE}/index.xml" />
<delete file="${content.xml}" />
+ </target>
- <echo message="" />
- <echo message="Creating bookmarks" />
+ <!-- =================== -->
+ <!-- Generate Booksmarks -->
+ <!-- =================== -->
+
+ <target name="-generate.bookmarks">
<property name="bookmarks.tmp" location="${hudson.WORKSPACE}/bookmarks.tmp" />
<xslt style="xsl/bom2bookmarks.xsl" in="${hudson.WORKSPACE}/bom.xml" out="${bookmarks.tmp}" />
<replace file="${bookmarks.tmp}" token="http://dev.eclipse.org" value="file://to-be-removed" />
@@ -486,9 +522,13 @@
</footer>
</concat>
<delete file="${bookmarks.tmp}" />
+ </target>
- <echo message="" />
- <echo message="Creating dropins" />
+ <!-- ================ -->
+ <!-- Generate Dropins -->
+ <!-- ================ -->
+
+ <target name="-generate.dropins">
<property name="temp.zips" location="${buckminster.temp.root}/zips" />
<mkdir dir="${temp.zips}" />
<delete failonerror="false" includeemptydirs="true">
@@ -527,31 +567,62 @@
</zip>
<echo message=" for use with a &lt;a href=&quot;http://help.eclipse.org/indigo/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/misc/p2_dropins_format.html&quot;&gt;dropins&lt;/a&gt; folder."
file="${hudson.WORKSPACE}/zips/emf-cdo-${build.qualifier}-Dropins.properties" />
-
- <echo message="" />
- <echo message="Generating demo servers" />
- <property name="temp.server" location="${buckminster.temp.root}/server" />
- <generate-server name="Windows" os="win32" ws="win32" arch="x86" priority="400" />
- <generate-server name="Linux" os="linux" ws="gtk" arch="x86" priority="300" />
- <generate-server name="Mac" os="macosx" ws="carbon" arch="x86" priority="200" />
</target>
- <!-- ==== -->
- <!-- Test -->
- <!-- ==== -->
-
- <target name="test" depends="site.p2" description="Runs the tests">
- <echo message="Running JUnit tests" />
- <buckminster command="junit">
- <cmdargs>
- <arg value="-l" />
- <arg value="org.eclipse.emf.cdo.tests/CDO AllTests.launch" />
- <arg value="-o" />
- <arg value="${test.report}" />
- <arg value="--terseXML" />
- <arg value="--flatXML" />
- </cmdargs>
- </buckminster>
+ <!-- ================= -->
+ <!-- Generate Products -->
+ <!-- ================= -->
+
+ <target name="-generate.products">
+ <property name="temp.product" location="${buckminster.temp.root}/product" />
+
+ <generate-product profile="CDOServer"
+ feature="org.eclipse.emf.cdo.server.product"
+ platform="Windows"
+ os="win32"
+ ws="win32"
+ arch="x86"
+ priority="450" />
+
+ <generate-product profile="CDOServer"
+ feature="org.eclipse.emf.cdo.server.product"
+ platform="Linux"
+ os="linux"
+ ws="gtk"
+ arch="x86"
+ priority="440" />
+
+ <generate-product profile="CDOServer"
+ feature="org.eclipse.emf.cdo.server.product"
+ platform="Mac"
+ os="macosx"
+ ws="carbon"
+ arch="x86"
+ priority="430" />
+
+ <generate-product profile="CDOExplorer"
+ feature="org.eclipse.emf.cdo.explorer.product"
+ platform="Windows"
+ os="win32"
+ ws="win32"
+ arch="x86"
+ priority="350" />
+
+ <generate-product profile="CDOExplorer"
+ feature="org.eclipse.emf.cdo.explorer.product"
+ platform="Linux"
+ os="linux"
+ ws="gtk"
+ arch="x86"
+ priority="340" />
+
+ <generate-product profile="CDOExplorer"
+ feature="org.eclipse.emf.cdo.explorer.product"
+ platform="Mac"
+ os="macosx"
+ ws="carbon"
+ arch="x86"
+ priority="330" />
</target>
</project>
diff --git a/plugins/org.eclipse.emf.cdo.server/plugin.properties b/plugins/org.eclipse.emf.cdo.server/plugin.properties
index c4f60b7f34..28cc3bbff4 100644
--- a/plugins/org.eclipse.emf.cdo.server/plugin.properties
+++ b/plugins/org.eclipse.emf.cdo.server/plugin.properties
@@ -10,9 +10,11 @@
pluginName = CDO Model Repository Server
providerName = Eclipse Modeling Project
-extension.name = CDOServer
+app.name = CDOServer
+
product.description = An example of a CDO server
product.name = CDO Server
+
extension-point.name = CDO Store Factories
extension-point.name.0 = CDO Repository Factories
extension-point.name.1 = CDO Application Extensions
diff --git a/plugins/org.eclipse.emf.cdo.server/plugin.xml b/plugins/org.eclipse.emf.cdo.server/plugin.xml
index 13d99afadb..b55369c489 100644
--- a/plugins/org.eclipse.emf.cdo.server/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo.server/plugin.xml
@@ -45,7 +45,7 @@
storeType="mem"/>
</extension>
- <extension id="app" point="org.eclipse.core.runtime.applications" name="%extension.name">
+ <extension id="app" point="org.eclipse.core.runtime.applications" name="%app.name">
<application cardinality="1" thread="any">
<run class="org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication"/>
</application>
diff --git a/plugins/org.eclipse.emf.cdo.ui/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.ui/META-INF/MANIFEST.MF
index bed0ab1794..356f819a5a 100644
--- a/plugins/org.eclipse.emf.cdo.ui/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.cdo.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.emf.cdo.ui;singleton:=true
-Bundle-Version: 4.0.0.qualifier
+Bundle-Version: 4.0.100.qualifier
Bundle-Activator: org.eclipse.emf.cdo.internal.ui.bundle.OM$Activator
Bundle-Vendor: %providerName
Bundle-ClassPath: .
@@ -20,21 +20,77 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
org.eclipse.emf.cdo;bundle-version="[4.0.0,5.0.0)";visibility:=reexport,
org.eclipse.emf.cdo.edit;bundle-version="[4.0.0,5.0.0)";visibility:=reexport,
org.eclipse.emf.cdo.ui.shared;bundle-version="[4.0.0,5.0.0)"
-Export-Package: org.eclipse.emf.cdo.internal.ui;version="4.0.0";x-friends:="org.eclipse.emf.cdo.ui.defs,org.eclipse.emf.cdo.ui.ide,org.eclipse.emf.cdo.ui.location",
- org.eclipse.emf.cdo.internal.ui.actions;version="4.0.0";x-friends:="org.eclipse.emf.cdo.ui.defs,org.eclipse.emf.cdo.ui.ide",
- org.eclipse.emf.cdo.internal.ui.bundle;version="4.0.0";x-internal:=true,
- org.eclipse.emf.cdo.internal.ui.dialogs;version="4.0.0";x-friends:="org.eclipse.emf.cdo.ui.defs,org.eclipse.emf.cdo.ui.ide,org.eclipse.emf.cdo.tests.ui",
- org.eclipse.emf.cdo.internal.ui.dnd;version="4.0.0";x-internal:=true,
- org.eclipse.emf.cdo.internal.ui.editor;version="4.0.0";x-friends:="org.eclipse.emf.cdo.ui.defs,org.eclipse.emf.cdo.ui.ide,org.eclipse.emf.cdo.dawn.ui",
- org.eclipse.emf.cdo.internal.ui.filters;version="4.0.0";x-internal:=true,
- org.eclipse.emf.cdo.internal.ui.messages;version="4.0.0";x-friends:="org.eclipse.emf.cdo.tests.ui",
- org.eclipse.emf.cdo.internal.ui.perspectives;version="4.0.0";x-friends:="org.eclipse.emf.cdo.ui.ide",
- org.eclipse.emf.cdo.internal.ui.preferences;version="4.0.0";x-friends:="org.eclipse.emf.cdo.ui.defs,org.eclipse.emf.cdo.ui.ide",
- org.eclipse.emf.cdo.internal.ui.properties;version="4.0.0";x-friends:="org.eclipse.emf.cdo.ui.defs,org.eclipse.emf.cdo.ui.ide",
- org.eclipse.emf.cdo.internal.ui.views;version="4.0.0";
- x-friends:="org.eclipse.emf.cdo.ui.defs,
- org.eclipse.emf.cdo.ui.ide,
- org.eclipse.emf.cdo.dawn.ui,
- org.eclipse.emf.cdo.tests.ui",
- org.eclipse.emf.cdo.ui;version="4.0.0",
- org.eclipse.emf.cdo.ui.widgets;version="4.0.0"
+Export-Package: org.eclipse.emf.cdo.internal.ui;version="4.0.100";
+ x-friends:="org.eclipse.emf.cdo.ui.defs,
+ org.eclipse.emf.cdo.ui.ide,
+ org.eclipse.emf.cdo.ui.location,
+ org.eclipse.emf.cdo.tests.ui,
+ org.eclipse.emf.cdo.dawn.ui,
+ org.eclipse.emf.cdo.explorer",
+ org.eclipse.emf.cdo.internal.ui.actions;version="4.0.100";
+ x-friends:="org.eclipse.emf.cdo.ui.defs,
+ org.eclipse.emf.cdo.ui.ide,
+ org.eclipse.emf.cdo.ui.location,
+ org.eclipse.emf.cdo.tests.ui,
+ org.eclipse.emf.cdo.dawn.ui,
+ org.eclipse.emf.cdo.explorer",
+ org.eclipse.emf.cdo.internal.ui.bundle;version="4.0.100";x-internal:=true,
+ org.eclipse.emf.cdo.internal.ui.dialogs;version="4.0.100";
+ x-friends:="org.eclipse.emf.cdo.ui.defs,
+ org.eclipse.emf.cdo.ui.ide,
+ org.eclipse.emf.cdo.ui.location,
+ org.eclipse.emf.cdo.tests.ui,
+ org.eclipse.emf.cdo.dawn.ui,
+ org.eclipse.emf.cdo.explorer",
+ org.eclipse.emf.cdo.internal.ui.dnd;version="4.0.100";
+ x-friends:="org.eclipse.emf.cdo.ui.defs,
+ org.eclipse.emf.cdo.ui.ide,
+ org.eclipse.emf.cdo.ui.location,
+ org.eclipse.emf.cdo.tests.ui,
+ org.eclipse.emf.cdo.dawn.ui,
+ org.eclipse.emf.cdo.explorer",
+ org.eclipse.emf.cdo.internal.ui.editor;version="4.0.100";
+ x-friends:="org.eclipse.emf.cdo.ui.defs,
+ org.eclipse.emf.cdo.ui.ide,
+ org.eclipse.emf.cdo.ui.location,
+ org.eclipse.emf.cdo.tests.ui,
+ org.eclipse.emf.cdo.dawn.ui,
+ org.eclipse.emf.cdo.explorer",
+ org.eclipse.emf.cdo.internal.ui.filters;version="4.0.100";
+ x-friends:="org.eclipse.emf.cdo.ui.defs,
+ org.eclipse.emf.cdo.ui.ide,
+ org.eclipse.emf.cdo.ui.location,
+ org.eclipse.emf.cdo.tests.ui,
+ org.eclipse.emf.cdo.dawn.ui,
+ org.eclipse.emf.cdo.explorer",
+ org.eclipse.emf.cdo.internal.ui.messages;version="4.0.100";x-friends:="org.eclipse.emf.cdo.tests.ui",
+ org.eclipse.emf.cdo.internal.ui.perspectives;version="4.0.100";
+ x-friends:="org.eclipse.emf.cdo.ui.defs,
+ org.eclipse.emf.cdo.ui.ide,
+ org.eclipse.emf.cdo.ui.location,
+ org.eclipse.emf.cdo.tests.ui,
+ org.eclipse.emf.cdo.dawn.ui,
+ org.eclipse.emf.cdo.explorer",
+ org.eclipse.emf.cdo.internal.ui.preferences;version="4.0.100";
+ x-friends:="org.eclipse.emf.cdo.ui.defs,
+ org.eclipse.emf.cdo.ui.ide,
+ org.eclipse.emf.cdo.ui.location,
+ org.eclipse.emf.cdo.tests.ui,
+ org.eclipse.emf.cdo.dawn.ui,
+ org.eclipse.emf.cdo.explorer",
+ org.eclipse.emf.cdo.internal.ui.properties;version="4.0.100";
+ x-friends:="org.eclipse.emf.cdo.ui.defs,
+ org.eclipse.emf.cdo.ui.ide,
+ org.eclipse.emf.cdo.ui.location,
+ org.eclipse.emf.cdo.tests.ui,
+ org.eclipse.emf.cdo.dawn.ui,
+ org.eclipse.emf.cdo.explorer",
+ org.eclipse.emf.cdo.internal.ui.views;version="4.0.100";
+ x-friends:="org.eclipse.emf.cdo.ui.defs,
+ org.eclipse.emf.cdo.ui.ide,
+ org.eclipse.emf.cdo.ui.location,
+ org.eclipse.emf.cdo.tests.ui,
+ org.eclipse.emf.cdo.dawn.ui,
+ org.eclipse.emf.cdo.explorer",
+ org.eclipse.emf.cdo.ui;version="4.0.100",
+ org.eclipse.emf.cdo.ui.widgets;version="4.0.100"
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/bundle/OM.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/bundle/OM.java
index 066ef1cbba..449f82b9d3 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/bundle/OM.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/bundle/OM.java
@@ -47,10 +47,10 @@ public abstract class OM
PREFS.initArray("PREF_HISTORY_SELECT_PACKAGES"); //$NON-NLS-1$
public static final OMPreference<String[]> PREF_HISTORY_CONNECTORS = //
- PREFS.initArray("PREF_HISTORY_CONNECTORS"); //$NON-NLS-1$
+ PREFS.init("PREF_HISTORY_CONNECTORS", new String[] { "tcp://localhost" }); //$NON-NLS-1$
public static final OMPreference<String[]> PREF_HISTORY_REPOSITORIES = //
- PREFS.initArray("PREF_HISTORY_REPOSITORIES"); //$NON-NLS-1$
+ PREFS.init("PREF_HISTORY_REPOSITORIES", new String[] { "repo1" }); //$NON-NLS-1$
public static final OMPreference<Boolean> PREF_AUTOMATIC_PACKAGE_REGISTRY = //
PREFS.init("PREF_AUTOMATIC_PACKAGE_REGISTRY", true); //$NON-NLS-1$

Back to the top