summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-09-28 12:40:30 (EDT)
committerEike Stepper2007-09-28 12:40:30 (EDT)
commitd922689fb8c68844f75eb6d50e4452d2276eba7d (patch)
tree916c2519ffe8aec10ebdaa7f604324324abe726f
parenteff36d37776993792c68e229fbb61b02b425b0ce (diff)
downloadcdo-d922689fb8c68844f75eb6d50e4452d2276eba7d.zip
cdo-d922689fb8c68844f75eb6d50e4452d2276eba7d.tar.gz
cdo-d922689fb8c68844f75eb6d50e4452d2276eba7d.tar.bz2
[204887] Provide launch configs in the examples plugin
https://bugs.eclipse.org/bugs/show_bug.cgi?id=204887
-rw-r--r--plugins/org.eclipse.emf.cdo.examples/build.properties8
-rw-r--r--plugins/org.eclipse.emf.cdo.examples/plugin.xml20
-rw-r--r--plugins/org.eclipse.emf.cdo.server/CDOServer.launch2
-rw-r--r--plugins/org.eclipse.emf.cdo.server/build.properties3
-rw-r--r--plugins/org.eclipse.emf.cdo.server/plugin.properties4
-rw-r--r--plugins/org.eclipse.emf.cdo.server/plugin.xml16
-rw-r--r--plugins/org.eclipse.emf.cdo.server/product/CDOServer.product50
7 files changed, 97 insertions, 6 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples/build.properties b/plugins/org.eclipse.emf.cdo.examples/build.properties
index f571272..64f298b 100644
--- a/plugins/org.eclipse.emf.cdo.examples/build.properties
+++ b/plugins/org.eclipse.emf.cdo.examples/build.properties
@@ -9,10 +9,8 @@
# NLS_MESSAGEFORMAT_VAR
-source.. = src/
output.. = bin/
bin.includes = META-INF/,\
- .,\
plugin.properties,\
.options,\
about.html,\
@@ -22,4 +20,8 @@ bin.includes = META-INF/,\
about.ini,\
about.mappings,\
about.properties,\
- modeling32.png
+ modeling32.png,\
+ plugin.xml,\
+ .
+source.. = src/
+jars.compile.order = examples.jar
diff --git a/plugins/org.eclipse.emf.cdo.examples/plugin.xml b/plugins/org.eclipse.emf.cdo.examples/plugin.xml
new file mode 100644
index 0000000..1893503
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples/plugin.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.3"?>
+<!--
+ <copyright>
+
+ Copyright (c) 2004 - 2007 Eike Stepper, Germany.
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+
+ Contributors:
+ Eike Stepper - Initial API and implementation
+
+ </copyright>
+-->
+
+<plugin>
+
+</plugin>
diff --git a/plugins/org.eclipse.emf.cdo.server/CDOServer.launch b/plugins/org.eclipse.emf.cdo.server/CDOServer.launch
index 4498d6d..129b95c 100644
--- a/plugins/org.eclipse.emf.cdo.server/CDOServer.launch
+++ b/plugins/org.eclipse.emf.cdo.server/CDOServer.launch
@@ -25,7 +25,7 @@
<stringAttribute key="pde.version" value="3.3"/>
<stringAttribute key="product" value="org.eclipse.sdk.ide"/>
<stringAttribute key="selectedPlugin" value="org.eclipse.net4j.util"/>
-<stringAttribute key="selected_target_plugins" value="javax.servlet,org.eclipse.core.contenttype,org.eclipse.core.jobs,org.eclipse.core.runtime,org.eclipse.core.runtime.compatibility.auth,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.app,org.eclipse.equinox.common,org.eclipse.equinox.preferences,org.eclipse.equinox.registry,org.eclipse.osgi,org.eclipse.osgi.services,org.eclipse.osgi.util,org.eclipse.update.configurator"/>
+<stringAttribute key="selected_target_plugins" value="org.eclipse.core.contenttype,org.eclipse.core.jobs,org.eclipse.core.runtime,org.eclipse.core.runtime.compatibility.auth,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.app,org.eclipse.equinox.common,org.eclipse.equinox.preferences,org.eclipse.equinox.registry,org.eclipse.osgi,org.eclipse.osgi.services,org.eclipse.osgi.util,org.eclipse.update.configurator"/>
<stringAttribute key="selected_workspace_plugins" value="org.eclipse.emf.cdo.protocol,org.eclipse.net4j.util,org.eclipse.emf.cdo.server,org.eclipse.emf.cdo.server.db,org.eclipse.net4j.db.derby,org.eclipse.net4j.db,org.eclipse.net4j,org.eclipse.net4j.tcp"/>
<stringAttribute key="templateConfig" value="${target_home}\configuration\config.ini"/>
<booleanAttribute key="tracing" value="true"/>
diff --git a/plugins/org.eclipse.emf.cdo.server/build.properties b/plugins/org.eclipse.emf.cdo.server/build.properties
index 7d53df2..b6081cd 100644
--- a/plugins/org.eclipse.emf.cdo.server/build.properties
+++ b/plugins/org.eclipse.emf.cdo.server/build.properties
@@ -22,7 +22,8 @@ bin.includes = .,\
about.ini,\
about.mappings,\
about.properties,\
- modeling32.png
+ modeling32.png,\
+ product/
jars.compile.order = .
source.. = src/
output.. = bin/
diff --git a/plugins/org.eclipse.emf.cdo.server/plugin.properties b/plugins/org.eclipse.emf.cdo.server/plugin.properties
index 6c9d89f..351f645 100644
--- a/plugins/org.eclipse.emf.cdo.server/plugin.properties
+++ b/plugins/org.eclipse.emf.cdo.server/plugin.properties
@@ -19,6 +19,10 @@
pluginName = CDO Server (Incubation)
providerName = Eclipse.org
+applicationName = CDO Server
+productName = CDO Server
+productDescription = An example of a CDO server
+
# ==============================================================================
# %%% END OF TRANSLATED PROPERTIES %%%
# The above properties have been shipped for translation.
diff --git a/plugins/org.eclipse.emf.cdo.server/plugin.xml b/plugins/org.eclipse.emf.cdo.server/plugin.xml
index df78c98..586ee9e 100644
--- a/plugins/org.eclipse.emf.cdo.server/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo.server/plugin.xml
@@ -39,10 +39,24 @@
<extension
point="org.eclipse.core.runtime.applications"
id="app"
- name="CDO Server">
+ name="%applicationName">
<application cardinality="1" thread="any">
<run class="org.eclipse.emf.cdo.internal.server.bundle.CDOServerApplication"/>
</application>
</extension>
+ <extension
+ point="org.eclipse.core.runtime.products">
+ id="server"
+ <product
+ name="%productName"
+ description="%productDescription"
+ application="org.eclipse.emf.cdo.server.app">
+ <property
+ name="appName"
+ value="%applicationName">
+ </property>
+ </product>
+ </extension>
+
</plugin>
diff --git a/plugins/org.eclipse.emf.cdo.server/product/CDOServer.product b/plugins/org.eclipse.emf.cdo.server/product/CDOServer.product
new file mode 100644
index 0000000..8e9511e
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.server/product/CDOServer.product
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?pde version="3.1"?>
+
+<product name="CDOServer" id="org.eclipse.emf.cdo.server.product" application="org.eclipse.emf.cdo.server.app" useFeatures="false">
+
+ <configIni use="default"/>
+
+ <launcherArgs>
+ <programArgs>-console
+-debug
+-noExit</programArgs>
+ <vmArgs>-Dnet4j.config=net4j-config</vmArgs>
+ <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
+ </launcherArgs>
+
+ <launcher name="cdo-server.exe">
+ <solaris/>
+ <win useIco="false">
+ <bmp/>
+ </win>
+ </launcher>
+
+ <vm>
+ </vm>
+
+ <plugins>
+ <plugin id="org.eclipse.core.contenttype"/>
+ <plugin id="org.eclipse.core.jobs"/>
+ <plugin id="org.eclipse.core.runtime"/>
+ <plugin id="org.eclipse.core.runtime.compatibility.auth"/>
+ <plugin id="org.eclipse.core.runtime.compatibility.registry" fragment="true"/>
+ <plugin id="org.eclipse.emf.cdo.protocol"/>
+ <plugin id="org.eclipse.emf.cdo.server"/>
+ <plugin id="org.eclipse.emf.cdo.server.db"/>
+ <plugin id="org.eclipse.equinox.app"/>
+ <plugin id="org.eclipse.equinox.common"/>
+ <plugin id="org.eclipse.equinox.preferences"/>
+ <plugin id="org.eclipse.equinox.registry"/>
+ <plugin id="org.eclipse.net4j"/>
+ <plugin id="org.eclipse.net4j.db"/>
+ <plugin id="org.eclipse.net4j.db.derby" fragment="true"/>
+ <plugin id="org.eclipse.net4j.tcp"/>
+ <plugin id="org.eclipse.net4j.util"/>
+ <plugin id="org.eclipse.osgi"/>
+ <plugin id="org.eclipse.osgi.services"/>
+ <plugin id="org.eclipse.osgi.util"/>
+ <plugin id="org.eclipse.update.configurator"/>
+ </plugins>
+
+</product>