Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Zarna2010-06-28 09:26:34 +0000
committerTomasz Zarna2010-06-28 09:26:34 +0000
commit81ff26b7b00fc7771674dcb297ee288423b78205 (patch)
treebb1b748c039ae22559bef7b25944b8211662b0e8 /examples/org.eclipse.team.examples.filesystem
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.team.examples.filesystem')
-rw-r--r--examples/org.eclipse.team.examples.filesystem/META-INF/MANIFEST.MF35
-rw-r--r--examples/org.eclipse.team.examples.filesystem/build.properties10
-rw-r--r--examples/org.eclipse.team.examples.filesystem/plugin.xml29
3 files changed, 45 insertions, 29 deletions
diff --git a/examples/org.eclipse.team.examples.filesystem/META-INF/MANIFEST.MF b/examples/org.eclipse.team.examples.filesystem/META-INF/MANIFEST.MF
new file mode 100644
index 000000000..dfc38fc5c
--- /dev/null
+++ b/examples/org.eclipse.team.examples.filesystem/META-INF/MANIFEST.MF
@@ -0,0 +1,35 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.team.examples.filesystem; singleton:=true
+Bundle-Version: 3.4.100.qualifier
+Bundle-ClassPath: teamfilesystem.jar
+Bundle-Activator: org.eclipse.core.internal.compatibility.PluginActivator
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Export-Package: org.eclipse.team.examples.filesystem,
+ org.eclipse.team.examples.filesystem.history,
+ org.eclipse.team.examples.filesystem.subscriber,
+ org.eclipse.team.examples.filesystem.ui,
+ org.eclipse.team.examples.localhistory,
+ org.eclipse.team.examples.model,
+ org.eclipse.team.examples.model.mapping,
+ org.eclipse.team.examples.model.ui,
+ org.eclipse.team.examples.model.ui.mapping,
+ org.eclipse.team.examples.pessimistic,
+ org.eclipse.team.examples.pessimistic.ui
+Require-Bundle: org.eclipse.core.runtime.compatibility,
+ org.eclipse.ui.ide;resolution:=optional,
+ org.eclipse.ui.views;resolution:=optional,
+ org.eclipse.jface.text;resolution:=optional,
+ org.eclipse.ui.workbench.texteditor;resolution:=optional,
+ org.eclipse.ui.editors;resolution:=optional,
+ org.eclipse.core.resources,
+ org.eclipse.team.core,
+ org.eclipse.team.ui,
+ org.eclipse.compare,
+ org.eclipse.ui,
+ org.eclipse.core.filesystem,
+ org.eclipse.ui.navigator
+Bundle-ActivationPolicy: lazy
+Plugin-Class: org.eclipse.team.examples.filesystem.FileSystemPlugin
diff --git a/examples/org.eclipse.team.examples.filesystem/build.properties b/examples/org.eclipse.team.examples.filesystem/build.properties
index 48ceb9e09..893b8339e 100644
--- a/examples/org.eclipse.team.examples.filesystem/build.properties
+++ b/examples/org.eclipse.team.examples.filesystem/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,4 +11,10 @@
# Eclipse build contribution
source.teamfilesystem.jar=src/
src.includes=about.html
-bin.includes=about.html,icons/,doc-html/,plugin.xml,plugin.properties,*.jar
+bin.includes = about.html,\
+ icons/,\
+ doc-html/,\
+ plugin.xml,\
+ plugin.properties,\
+ *.jar,\
+ META-INF/
diff --git a/examples/org.eclipse.team.examples.filesystem/plugin.xml b/examples/org.eclipse.team.examples.filesystem/plugin.xml
index 3acf8f24f..6a28e59c2 100644
--- a/examples/org.eclipse.team.examples.filesystem/plugin.xml
+++ b/examples/org.eclipse.team.examples.filesystem/plugin.xml
@@ -3,42 +3,17 @@
<!-- =================================================================================== -->
<!-- Team Examples Plug-in Manifest -->
<!-- =================================================================================== -->
-<plugin
- id="org.eclipse.team.examples.filesystem"
- name="%pluginName"
- version="3.4.100.qualifier"
- provider-name="%providerName"
- class="org.eclipse.team.examples.filesystem.FileSystemPlugin">
+<plugin>
<!-- =================================================================================== -->
<!-- Libraries -->
<!-- =================================================================================== -->
-<runtime>
- <library name="teamfilesystem.jar">
- <export name="*"/>
- </library>
-</runtime>
-
+
<!-- =================================================================================== -->
<!-- Imports -->
<!-- =================================================================================== -->
-<requires>
- <import plugin="org.eclipse.core.runtime.compatibility"/>
- <import plugin="org.eclipse.ui.ide" optional="true"/>
- <import plugin="org.eclipse.ui.views" optional="true"/>
- <import plugin="org.eclipse.jface.text" optional="true"/>
- <import plugin="org.eclipse.ui.workbench.texteditor" optional="true"/>
- <import plugin="org.eclipse.ui.editors" optional="true"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.team.core"/>
- <import plugin="org.eclipse.team.ui"/>
- <import plugin="org.eclipse.compare"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.core.filesystem"/>
- <import plugin="org.eclipse.ui.navigator"/>
-</requires>
<!-- =================================================================================== -->
<!-- Repository Providers -->

Back to the top