Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2010-06-28 05:26:34 -0400
committerTomasz Zarna2010-06-28 05:26:34 -0400
commit81ff26b7b00fc7771674dcb297ee288423b78205 (patch)
treebb1b748c039ae22559bef7b25944b8211662b0e8 /examples/org.eclipse.compare.examples.xml
parentaf9f75686a755000ef06addafc93a4406a7a0ce3 (diff)
downloadeclipse.platform.team-81ff26b7b00fc7771674dcb297ee288423b78205.tar.gz
eclipse.platform.team-81ff26b7b00fc7771674dcb297ee288423b78205.tar.xz
eclipse.platform.team-81ff26b7b00fc7771674dcb297ee288423b78205.zip
bug 316050: these compare and team examples should be converted from old-style plugins to real OSGi bundles in 3.7
Diffstat (limited to 'examples/org.eclipse.compare.examples.xml')
-rw-r--r--examples/org.eclipse.compare.examples.xml/META-INF/MANIFEST.MF18
-rw-r--r--examples/org.eclipse.compare.examples.xml/build.properties13
-rw-r--r--examples/org.eclipse.compare.examples.xml/plugin.xml25
3 files changed, 27 insertions, 29 deletions
diff --git a/examples/org.eclipse.compare.examples.xml/META-INF/MANIFEST.MF b/examples/org.eclipse.compare.examples.xml/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..163a19d99
--- /dev/null
+++ b/examples/org.eclipse.compare.examples.xml/META-INF/MANIFEST.MF
@@ -0,0 +1,18 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.compare.examples.xml; singleton:=true
+Bundle-Version: 3.3.200.qualifier
+Bundle-ClassPath: xmlcompareexamples.jar
+Bundle-Activator: org.eclipse.compare.examples.xml.XMLPlugin
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Export-Package: org.eclipse.compare.examples.xml,
+ org.eclipse.compare.examples.xml.ui
+Require-Bundle: org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.compare,
+ org.eclipse.ui,
+ org.eclipse.jface.text,
+ org.junit
+Bundle-ActivationPolicy: lazy
diff --git a/examples/org.eclipse.compare.examples.xml/build.properties b/examples/org.eclipse.compare.examples.xml/build.properties
index 678cea0f2..c86c3af9b 100644
--- a/examples/org.eclipse.compare.examples.xml/build.properties
+++ b/examples/org.eclipse.compare.examples.xml/build.properties
@@ -1,5 +1,5 @@
###############################################################################
-# Copyright (c) 2000, 2005 IBM Corporation and others.
+# Copyright (c) 2000, 2010 IBM Corporation and others.
# 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
@@ -11,10 +11,11 @@
source.xmlcompareexamples.jar = src/
bin.includes = doc-html/,\
- about.html,\
- plugin.properties,\
- plugin.xml,\
- icons/,\
- xmlcompareexamples.jar
+ about.html,\
+ plugin.properties,\
+ plugin.xml,\
+ icons/,\
+ xmlcompareexamples.jar,\
+ META-INF/
src.includes = about.html
diff --git a/examples/org.eclipse.compare.examples.xml/plugin.xml b/examples/org.eclipse.compare.examples.xml/plugin.xml
index 4a57bacd5..84dec6d63 100644
--- a/examples/org.eclipse.compare.examples.xml/plugin.xml
+++ b/examples/org.eclipse.compare.examples.xml/plugin.xml
@@ -1,29 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.compare.examples.xml"
- name="%pluginName"
- version="3.3.200.qualifier"
- provider-name="%providerName"
- class="org.eclipse.compare.examples.xml.XMLPlugin">
+<plugin>
- <runtime>
- <library name="xmlcompareexamples.jar">
- <export name="*"/>
- </library>
- </runtime>
-
- <requires>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.compare"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.jface.text"/>
- <import plugin="org.junit"/>
- </requires>
-
-
- <extension-point id="idMapping" name="%idMapping" schema="schema/idMapping.exsd"/>
+ <extension-point id="idMapping" name="%idMapping" schema="schema/idMapping.exsd"/>
<extension
point="org.eclipse.compare.examples.xml.idMapping">

Back to the top