Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Barnes2009-06-26 19:04:29 +0000
committerKevin Barnes2009-06-26 19:04:29 +0000
commitbbcb84c9fecb0475f08fac57eedd7bf74204eedb (patch)
tree2f29ddd98b1346581d1c7587129c19d3fec87e2a /examples
parent0ecd8742cad097a8f8b559011e2ac8c31500d89a (diff)
downloadeclipse.platform.swt-bbcb84c9fecb0475f08fac57eedd7bf74204eedb.tar.gz
eclipse.platform.swt-bbcb84c9fecb0475f08fac57eedd7bf74204eedb.tar.xz
eclipse.platform.swt-bbcb84c9fecb0475f08fac57eedd7bf74204eedb.zip
273653 - all swt.example* bundles lack manifests
Diffstat (limited to 'examples')
-rw-r--r--examples/org.eclipse.swt.examples.browser.demos/META-INF/MANIFEST.MF14
-rw-r--r--examples/org.eclipse.swt.examples.browser.demos/build.properties11
-rw-r--r--examples/org.eclipse.swt.examples.browser.demos/plugin.xml20
-rw-r--r--examples/org.eclipse.swt.examples.browser/META-INF/MANIFEST.MF19
-rw-r--r--examples/org.eclipse.swt.examples.browser/build.properties3
-rw-r--r--examples/org.eclipse.swt.examples.browser/plugin.xml26
-rw-r--r--examples/org.eclipse.swt.examples.controls/META-INF/MANIFEST.MF19
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/build.properties3
-rwxr-xr-xexamples/org.eclipse.swt.examples.controls/plugin.xml26
-rw-r--r--examples/org.eclipse.swt.examples.launcher/META-INF/MANIFEST.MF22
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/build.properties3
-rwxr-xr-xexamples/org.eclipse.swt.examples.launcher/plugin.xml30
-rw-r--r--examples/org.eclipse.swt.examples.layouts/META-INF/MANIFEST.MF19
-rw-r--r--examples/org.eclipse.swt.examples.layouts/build.properties3
-rw-r--r--examples/org.eclipse.swt.examples.layouts/plugin.xml26
-rw-r--r--examples/org.eclipse.swt.examples.ole.win32/META-INF/MANIFEST.MF19
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/build.properties3
-rwxr-xr-xexamples/org.eclipse.swt.examples.ole.win32/plugin.xml22
-rw-r--r--examples/org.eclipse.swt.examples.paint/META-INF/MANIFEST.MF20
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/build.properties3
-rwxr-xr-xexamples/org.eclipse.swt.examples.paint/plugin.xml27
-rw-r--r--examples/org.eclipse.swt.examples/META-INF/MANIFEST.MF27
-rwxr-xr-xexamples/org.eclipse.swt.examples/build.properties3
-rwxr-xr-xexamples/org.eclipse.swt.examples/plugin.xml16
24 files changed, 198 insertions, 186 deletions
diff --git a/examples/org.eclipse.swt.examples.browser.demos/META-INF/MANIFEST.MF b/examples/org.eclipse.swt.examples.browser.demos/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..70784e1d88
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.browser.demos/META-INF/MANIFEST.MF
@@ -0,0 +1,14 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %plugin.SWTBrowserDemos.name
+Bundle-SymbolicName: org.eclipse.swt.examples.browser.demos; singleton:=true
+Bundle-Version: 3.1.200.qualifier
+Bundle-ClassPath: BrowserDemo.jar
+Bundle-Activator: org.eclipse.swt.examples.browser.demos.BrowserDemoPlugin
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Export-Package: org.eclipse.swt.examples.browser.demos,
+ org.eclipse.swt.examples.browser.demos.views
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime
+Bundle-ActivationPolicy: lazy
diff --git a/examples/org.eclipse.swt.examples.browser.demos/build.properties b/examples/org.eclipse.swt.examples.browser.demos/build.properties
index 778dd09f65..5deada7b2d 100644
--- a/examples/org.eclipse.swt.examples.browser.demos/build.properties
+++ b/examples/org.eclipse.swt.examples.browser.demos/build.properties
@@ -11,13 +11,14 @@
source.BrowserDemo.jar = src/
output.BrowserDemo.jar = bin/
bin.includes = doc-html/,\
- plugin.properties,\
- plugin.xml,\
- about.html,\
+ plugin.properties,\
+ plugin.xml,\
+ about.html,\
BrowserDemo.jar,\
css1/,\
css2/,\
css3/,\
css4/,\
- icons/
-src.includes=about.html \ No newline at end of file
+ icons/,\
+ META-INF/
+src.includes=about.html
diff --git a/examples/org.eclipse.swt.examples.browser.demos/plugin.xml b/examples/org.eclipse.swt.examples.browser.demos/plugin.xml
index 797ce6f7b8..d17386d2b9 100644
--- a/examples/org.eclipse.swt.examples.browser.demos/plugin.xml
+++ b/examples/org.eclipse.swt.examples.browser.demos/plugin.xml
@@ -1,24 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.swt.examples.browser.demos"
- name="%plugin.SWTBrowserDemos.name"
- version="3.1.200.qualifier"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.browser.demos.BrowserDemoPlugin">
+<plugin>
- <runtime>
- <library name="BrowserDemo.jar">
- <export name="*"/>
- </library>
- </runtime>
-
- <requires>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.core.runtime"/>
- </requires>
-
- <extension
+ <extension
point="org.eclipse.ui.views">
<category
name="%view.BrowserDemos.name"
diff --git a/examples/org.eclipse.swt.examples.browser/META-INF/MANIFEST.MF b/examples/org.eclipse.swt.examples.browser/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..e39e680894
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.browser/META-INF/MANIFEST.MF
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %plugin.SWTBrowserExample.name
+Bundle-SymbolicName: org.eclipse.swt.examples.browser; singleton:=true
+Bundle-Version: 3.1.100.qualifier
+Bundle-ClassPath: browserexample.jar
+Bundle-Activator: org.eclipse.swt.examples.browserexample.BrowserPlugin
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui.ide,
+ org.eclipse.ui.views,
+ org.eclipse.jface.text,
+ org.eclipse.ui.workbench.texteditor,
+ org.eclipse.ui.editors,
+ org.eclipse.core.runtime,
+ org.eclipse.ui,
+ org.eclipse.swt,
+ org.eclipse.swt.examples
+Bundle-ActivationPolicy: lazy
diff --git a/examples/org.eclipse.swt.examples.browser/build.properties b/examples/org.eclipse.swt.examples.browser/build.properties
index ade644b600..4322b7731b 100644
--- a/examples/org.eclipse.swt.examples.browser/build.properties
+++ b/examples/org.eclipse.swt.examples.browser/build.properties
@@ -13,7 +13,8 @@ bin.includes = doc-html/,\
plugin.properties,\
plugin.xml,\
about.html,\
- *.jar
+ *.jar,\
+ META-INF/
src.includes = about.html
diff --git a/examples/org.eclipse.swt.examples.browser/plugin.xml b/examples/org.eclipse.swt.examples.browser/plugin.xml
index efa53eb213..87ed6aef1b 100644
--- a/examples/org.eclipse.swt.examples.browser/plugin.xml
+++ b/examples/org.eclipse.swt.examples.browser/plugin.xml
@@ -1,31 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.swt.examples.browser"
- name="%plugin.SWTBrowserExample.name"
- version="3.1.100.qualifier"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.browserexample.BrowserPlugin">
+<plugin>
<!-- Runtime -->
- <runtime>
- <library name="browserexample.jar">
- </library>
- </runtime>
+
<!-- Required plugins -->
- <requires>
- <import plugin="org.eclipse.ui.ide"/>
- <import plugin="org.eclipse.ui.views"/>
- <import plugin="org.eclipse.jface.text"/>
- <import plugin="org.eclipse.ui.workbench.texteditor"/>
- <import plugin="org.eclipse.ui.editors"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
- <import plugin="org.eclipse.swt.examples"/>
- </requires>
-
-
+
<!-- Extension points -->
<!-- Extensions -->
<extension
diff --git a/examples/org.eclipse.swt.examples.controls/META-INF/MANIFEST.MF b/examples/org.eclipse.swt.examples.controls/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..2b970dd0c1
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.controls/META-INF/MANIFEST.MF
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %plugin.SWTControlsExample.name
+Bundle-SymbolicName: org.eclipse.swt.examples.controls; singleton:=true
+Bundle-Version: 3.1.100.qualifier
+Bundle-ClassPath: controls.jar
+Bundle-Activator: org.eclipse.swt.examples.controls.ControlPlugin
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui.ide,
+ org.eclipse.ui.views,
+ org.eclipse.jface.text,
+ org.eclipse.ui.workbench.texteditor,
+ org.eclipse.ui.editors,
+ org.eclipse.core.runtime,
+ org.eclipse.ui,
+ org.eclipse.swt,
+ org.eclipse.swt.examples
+Bundle-ActivationPolicy: lazy
diff --git a/examples/org.eclipse.swt.examples.controls/build.properties b/examples/org.eclipse.swt.examples.controls/build.properties
index 2d5c76f576..9f2a951713 100755
--- a/examples/org.eclipse.swt.examples.controls/build.properties
+++ b/examples/org.eclipse.swt.examples.controls/build.properties
@@ -13,7 +13,8 @@ bin.includes = doc-html/,\
plugin.properties,\
plugin.xml,\
about.html,\
- *.jar
+ *.jar,\
+ META-INF/
src.includes = about.html
diff --git a/examples/org.eclipse.swt.examples.controls/plugin.xml b/examples/org.eclipse.swt.examples.controls/plugin.xml
index a277def6b9..bf8e0922de 100755
--- a/examples/org.eclipse.swt.examples.controls/plugin.xml
+++ b/examples/org.eclipse.swt.examples.controls/plugin.xml
@@ -1,31 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.swt.examples.controls"
- name="%plugin.SWTControlsExample.name"
- version="3.1.100.qualifier"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.controls.ControlPlugin">
+<plugin>
<!-- Runtime -->
- <runtime>
- <library name="controls.jar">
- </library>
- </runtime>
+
<!-- Required plugins -->
- <requires>
- <import plugin="org.eclipse.ui.ide"/>
- <import plugin="org.eclipse.ui.views"/>
- <import plugin="org.eclipse.jface.text"/>
- <import plugin="org.eclipse.ui.workbench.texteditor"/>
- <import plugin="org.eclipse.ui.editors"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
- <import plugin="org.eclipse.swt.examples"/>
- </requires>
-
-
+
<!-- Extension points -->
<!-- Extensions -->
<extension
diff --git a/examples/org.eclipse.swt.examples.launcher/META-INF/MANIFEST.MF b/examples/org.eclipse.swt.examples.launcher/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..aaa4acee46
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.launcher/META-INF/MANIFEST.MF
@@ -0,0 +1,22 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %plugin.SWTLauncherExample.name
+Bundle-SymbolicName: org.eclipse.swt.examples.launcher; singleton:=true
+Bundle-Version: 3.1.100.qualifier
+Bundle-ClassPath: launcher.jar
+Bundle-Activator: org.eclipse.swt.examples.launcher.LauncherPlugin
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui.ide,
+ org.eclipse.ui.views,
+ org.eclipse.jface.text,
+ org.eclipse.ui.workbench.texteditor,
+ org.eclipse.ui.editors,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.ui,
+ org.eclipse.swt,
+ org.eclipse.jdt.launching,
+ org.eclipse.debug.core,
+ org.eclipse.jdt.core
+Bundle-ActivationPolicy: lazy
diff --git a/examples/org.eclipse.swt.examples.launcher/build.properties b/examples/org.eclipse.swt.examples.launcher/build.properties
index 219e498bc7..17441fe43f 100755
--- a/examples/org.eclipse.swt.examples.launcher/build.properties
+++ b/examples/org.eclipse.swt.examples.launcher/build.properties
@@ -15,7 +15,8 @@ bin.includes = doc/,\
plugin.properties,\
plugin.xml,\
about.html,\
- *.jar
+ *.jar,\
+ META-INF/
src.includes = about.html
diff --git a/examples/org.eclipse.swt.examples.launcher/plugin.xml b/examples/org.eclipse.swt.examples.launcher/plugin.xml
index c3b82b22a4..263c8d0e2c 100755
--- a/examples/org.eclipse.swt.examples.launcher/plugin.xml
+++ b/examples/org.eclipse.swt.examples.launcher/plugin.xml
@@ -1,38 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.swt.examples.launcher"
- name="%plugin.SWTLauncherExample.name"
- version="3.1.100.qualifier"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.launcher.LauncherPlugin">
+<plugin>
<!-- Runtime -->
<!-- Runtime -->
<!-- Runtime -->
<!-- Runtime -->
- <runtime>
- <library name="launcher.jar">
- </library>
- </runtime>
+
<!-- Required plugins -->
- <requires>
- <import plugin="org.eclipse.ui.ide"/>
- <import plugin="org.eclipse.ui.views"/>
- <import plugin="org.eclipse.jface.text"/>
- <import plugin="org.eclipse.ui.workbench.texteditor"/>
- <import plugin="org.eclipse.ui.editors"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
- <import plugin="org.eclipse.jdt.launching"/>
- <import plugin="org.eclipse.debug.core"/>
- <import plugin="org.eclipse.core.boot"/>
- <import plugin="org.eclipse.jdt.core"/>
- </requires>
-
-
+
<!-- Extension points -->
<extension-point id="launchItems" name="%extension-point.launchItems.name" schema="schema/org.eclipse.swt.examples.launcher.launchItems.exsd"/>
diff --git a/examples/org.eclipse.swt.examples.layouts/META-INF/MANIFEST.MF b/examples/org.eclipse.swt.examples.layouts/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..8217ed0899
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.layouts/META-INF/MANIFEST.MF
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %plugin.SWTLayoutExample.name
+Bundle-SymbolicName: org.eclipse.swt.examples.layouts; singleton:=true
+Bundle-Version: 3.1.100.qualifier
+Bundle-ClassPath: layouts.jar
+Bundle-Activator: org.eclipse.swt.examples.layouts.LayoutPlugin
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui.ide,
+ org.eclipse.ui.views,
+ org.eclipse.jface.text,
+ org.eclipse.ui.workbench.texteditor,
+ org.eclipse.ui.editors,
+ org.eclipse.core.runtime,
+ org.eclipse.ui,
+ org.eclipse.swt,
+ org.eclipse.swt.examples
+Bundle-ActivationPolicy: lazy
diff --git a/examples/org.eclipse.swt.examples.layouts/build.properties b/examples/org.eclipse.swt.examples.layouts/build.properties
index 68e55d594c..e289784c76 100644
--- a/examples/org.eclipse.swt.examples.layouts/build.properties
+++ b/examples/org.eclipse.swt.examples.layouts/build.properties
@@ -13,7 +13,8 @@ bin.includes = doc-html/,\
plugin.properties,\
plugin.xml,\
about.html,\
- *.jar
+ *.jar,\
+ META-INF/
src.includes = about.html
diff --git a/examples/org.eclipse.swt.examples.layouts/plugin.xml b/examples/org.eclipse.swt.examples.layouts/plugin.xml
index 22523b9c94..5a9e4086d2 100644
--- a/examples/org.eclipse.swt.examples.layouts/plugin.xml
+++ b/examples/org.eclipse.swt.examples.layouts/plugin.xml
@@ -1,32 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.swt.examples.layouts"
- name="%plugin.SWTLayoutExample.name"
- version="3.1.100.qualifier"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.layouts.LayoutPlugin">
+<plugin>
<!-- Runtime -->
<!-- Runtime -->
- <runtime>
- <library name="layouts.jar">
- </library>
- </runtime>
+
<!-- Required plugins -->
- <requires>
- <import plugin="org.eclipse.ui.ide"/>
- <import plugin="org.eclipse.ui.views"/>
- <import plugin="org.eclipse.jface.text"/>
- <import plugin="org.eclipse.ui.workbench.texteditor"/>
- <import plugin="org.eclipse.ui.editors"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
- <import plugin="org.eclipse.swt.examples"/>
- </requires>
-
-
+
<!-- Extension points -->
<!-- Extensions -->
<extension
diff --git a/examples/org.eclipse.swt.examples.ole.win32/META-INF/MANIFEST.MF b/examples/org.eclipse.swt.examples.ole.win32/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..182a768138
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.ole.win32/META-INF/MANIFEST.MF
@@ -0,0 +1,19 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %plugin.SWTOLEExample.name
+Bundle-SymbolicName: org.eclipse.swt.examples.ole.win32; singleton:=true
+Bundle-Version: 3.1.100.qualifier
+Bundle-ClassPath: olewin32.jar
+Bundle-Activator: org.eclipse.swt.examples.ole.win32.OlePlugin
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui.ide,
+ org.eclipse.ui.views,
+ org.eclipse.jface.text,
+ org.eclipse.ui.workbench.texteditor,
+ org.eclipse.ui.editors,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.ui,
+ org.eclipse.swt
+Bundle-ActivationPolicy: lazy
diff --git a/examples/org.eclipse.swt.examples.ole.win32/build.properties b/examples/org.eclipse.swt.examples.ole.win32/build.properties
index bfe7608add..e744e8f1f5 100755
--- a/examples/org.eclipse.swt.examples.ole.win32/build.properties
+++ b/examples/org.eclipse.swt.examples.ole.win32/build.properties
@@ -13,7 +13,8 @@ bin.includes = doc-html/,\
plugin.properties,\
plugin.xml,\
about.html,\
- *.jar
+ *.jar,\
+ META-INF/
src.includes = about.html
diff --git a/examples/org.eclipse.swt.examples.ole.win32/plugin.xml b/examples/org.eclipse.swt.examples.ole.win32/plugin.xml
index d8e7f5e0e0..eaee603691 100755
--- a/examples/org.eclipse.swt.examples.ole.win32/plugin.xml
+++ b/examples/org.eclipse.swt.examples.ole.win32/plugin.xml
@@ -1,31 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!-- File written by PDE 1.0 -->
-<plugin
- id="org.eclipse.swt.examples.ole.win32"
- name="%plugin.SWTOLEExample.name"
- version="3.1.100.qualifier"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.ole.win32.OlePlugin">
+<plugin>
<!-- Required plugins -->
-<requires>
- <import plugin="org.eclipse.ui.ide"/>
- <import plugin="org.eclipse.ui.views"/>
- <import plugin="org.eclipse.jface.text"/>
- <import plugin="org.eclipse.ui.workbench.texteditor"/>
- <import plugin="org.eclipse.ui.editors"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
-</requires>
<!-- Runtime -->
<!-- Runtime -->
-<runtime>
- <library name="olewin32.jar">
- </library>
-</runtime>
<!-- Extensions -->
<!-- Extension points -->
diff --git a/examples/org.eclipse.swt.examples.paint/META-INF/MANIFEST.MF b/examples/org.eclipse.swt.examples.paint/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..ecbe951aff
--- /dev/null
+++ b/examples/org.eclipse.swt.examples.paint/META-INF/MANIFEST.MF
@@ -0,0 +1,20 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %plugin.SWTPaintExample.name
+Bundle-SymbolicName: org.eclipse.swt.examples.paint; singleton:=true
+Bundle-Version: 3.1.100.qualifier
+Bundle-ClassPath: paint.jar
+Bundle-Activator: org.eclipse.swt.examples.paint.PaintPlugin
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui.ide,
+ org.eclipse.ui.views,
+ org.eclipse.jface.text,
+ org.eclipse.ui.workbench.texteditor,
+ org.eclipse.ui.editors,
+ org.eclipse.core.runtime,
+ org.eclipse.core.resources,
+ org.eclipse.ui,
+ org.eclipse.swt,
+ org.eclipse.swt.examples
+Bundle-ActivationPolicy: lazy
diff --git a/examples/org.eclipse.swt.examples.paint/build.properties b/examples/org.eclipse.swt.examples.paint/build.properties
index ef0ae0ef26..afd0cca35e 100755
--- a/examples/org.eclipse.swt.examples.paint/build.properties
+++ b/examples/org.eclipse.swt.examples.paint/build.properties
@@ -13,7 +13,8 @@ bin.includes = doc-html/,\
plugin.properties,\
plugin.xml,\
about.html,\
- *.jar
+ *.jar,\
+ META-INF/
src.includes = about.html
diff --git a/examples/org.eclipse.swt.examples.paint/plugin.xml b/examples/org.eclipse.swt.examples.paint/plugin.xml
index 77b96b85b5..b0de0750d3 100755
--- a/examples/org.eclipse.swt.examples.paint/plugin.xml
+++ b/examples/org.eclipse.swt.examples.paint/plugin.xml
@@ -1,32 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.swt.examples.paint"
- name="%plugin.SWTPaintExample.name"
- version="3.1.100.qualifier"
- provider-name="%providerName"
- class="org.eclipse.swt.examples.paint.PaintPlugin">
+<plugin>
<!-- Runtime -->
- <runtime>
- <library name="paint.jar">
- </library>
- </runtime>
+
<!-- Required plugins -->
- <requires>
- <import plugin="org.eclipse.ui.ide"/>
- <import plugin="org.eclipse.ui.views"/>
- <import plugin="org.eclipse.jface.text"/>
- <import plugin="org.eclipse.ui.workbench.texteditor"/>
- <import plugin="org.eclipse.ui.editors"/>
- <import plugin="org.eclipse.core.runtime"/>
- <import plugin="org.eclipse.core.resources"/>
- <import plugin="org.eclipse.ui"/>
- <import plugin="org.eclipse.swt"/>
- <import plugin="org.eclipse.swt.examples"/>
- </requires>
-
-
+
<!-- Extension points -->
<!-- Extensions -->
<extension
diff --git a/examples/org.eclipse.swt.examples/META-INF/MANIFEST.MF b/examples/org.eclipse.swt.examples/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..b9982132cc
--- /dev/null
+++ b/examples/org.eclipse.swt.examples/META-INF/MANIFEST.MF
@@ -0,0 +1,27 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %plugin.SWTStandaloneExampleSet.name
+Bundle-SymbolicName: org.eclipse.swt.examples; singleton:=true
+Bundle-Version: 3.4.0.qualifier
+Bundle-ClassPath: swtexamples.jar
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: J2SE-1.4
+Export-Package: org.eclipse.swt.examples.accessibility,
+ org.eclipse.swt.examples.addressbook,
+ org.eclipse.swt.examples.browserexample,
+ org.eclipse.swt.examples.clipboard,
+ org.eclipse.swt.examples.controlexample,
+ org.eclipse.swt.examples.dnd,
+ org.eclipse.swt.examples.fileviewer,
+ org.eclipse.swt.examples.graphics,
+ org.eclipse.swt.examples.helloworld,
+ org.eclipse.swt.examples.hoverhelp,
+ org.eclipse.swt.examples.imageanalyzer,
+ org.eclipse.swt.examples.javaviewer,
+ org.eclipse.swt.examples.layoutexample,
+ org.eclipse.swt.examples.paint,
+ org.eclipse.swt.examples.texteditor
+Require-Bundle: org.eclipse.swt,
+ org.eclipse.swt.examples.launcher;resolution:=optional
+Bundle-ActivationPolicy: lazy
diff --git a/examples/org.eclipse.swt.examples/build.properties b/examples/org.eclipse.swt.examples/build.properties
index 984d925028..6a50879f1b 100755
--- a/examples/org.eclipse.swt.examples/build.properties
+++ b/examples/org.eclipse.swt.examples/build.properties
@@ -12,7 +12,8 @@ bin.includes = doc-html/,\
plugin.properties,\
plugin.xml,\
about.html,\
- swtexamples.jar
+ swtexamples.jar,\
+ META-INF/
src.includes = about.html,\
doc-html/,\
diff --git a/examples/org.eclipse.swt.examples/plugin.xml b/examples/org.eclipse.swt.examples/plugin.xml
index cbb9b7f5b3..4b2f58874d 100755
--- a/examples/org.eclipse.swt.examples/plugin.xml
+++ b/examples/org.eclipse.swt.examples/plugin.xml
@@ -1,24 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!-- File written by PDE 1.0 -->
-<plugin
- id="org.eclipse.swt.examples"
- name="%plugin.SWTStandaloneExampleSet.name"
- version="3.4.0"
- provider-name="%providerName"
->
+<plugin>
<!-- Required plugins -->
-<requires>
- <import plugin="org.eclipse.swt"/>
- <import plugin="org.eclipse.swt.examples.launcher" optional="true"/>
-</requires>
<!-- Runtime -->
-<runtime>
- <library name="swtexamples.jar">
- <export name="*"/>
- </library>
-</runtime>
<!-- Extensions -->
<!-- Extension points -->

Back to the top