summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller <markus_keller@ch.ibm.com>2013-07-01 17:06:11 +0200
committerMarkus Keller <markus_keller@ch.ibm.com>2013-07-01 17:06:11 +0200
commitf1d983016e5384ae0ec1a8ed952b8ecbe8f2fb19 (patch)
tree716b733df2bb5f1dc19a219ca27b5912690e4791
parent48182d20aa1f64b7236dd904a9fb69ad577aead7 (diff)
downloadeclipse.platform.swt-f1d983016e5384ae0ec1a8ed952b8ecbe8f2fb19.tar.gz
eclipse.platform.swt-f1d983016e5384ae0ec1a8ed952b8ecbe8f2fb19.tar.xz
eclipse.platform.swt-f1d983016e5384ae0ec1a8ed952b8ecbe8f2fb19.zip
converted to OSGi bundle and set BREE to 1.6
-rw-r--r--examples/org.eclipse.swt.snippets/.classpath4
-rw-r--r--examples/org.eclipse.swt.snippets/.settings/org.eclipse.jdt.core.prefs7
-rw-r--r--examples/org.eclipse.swt.snippets/.settings/org.eclipse.jdt.ui.prefs5
-rw-r--r--examples/org.eclipse.swt.snippets/META-INF/MANIFEST.MF9
-rw-r--r--examples/org.eclipse.swt.snippets/plugin.xml13
5 files changed, 23 insertions, 15 deletions
diff --git a/examples/org.eclipse.swt.snippets/.classpath b/examples/org.eclipse.swt.snippets/.classpath
index 751c8f2e50..ad32c83a78 100644
--- a/examples/org.eclipse.swt.snippets/.classpath
+++ b/examples/org.eclipse.swt.snippets/.classpath
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="src" path="src"/>
<classpathentry kind="output" path="bin"/>
</classpath>
diff --git a/examples/org.eclipse.swt.snippets/.settings/org.eclipse.jdt.core.prefs b/examples/org.eclipse.swt.snippets/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000000..f287d53cf4
--- /dev/null
+++ b/examples/org.eclipse.swt.snippets/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,7 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
+org.eclipse.jdt.core.compiler.compliance=1.6
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.6
diff --git a/examples/org.eclipse.swt.snippets/.settings/org.eclipse.jdt.ui.prefs b/examples/org.eclipse.swt.snippets/.settings/org.eclipse.jdt.ui.prefs
new file mode 100644
index 0000000000..766f040c36
--- /dev/null
+++ b/examples/org.eclipse.swt.snippets/.settings/org.eclipse.jdt.ui.prefs
@@ -0,0 +1,5 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.ui.ignorelowercasenames=true
+org.eclipse.jdt.ui.importorder=java;javax;org;com;
+org.eclipse.jdt.ui.ondemandthreshold=1
+org.eclipse.jdt.ui.staticondemandthreshold=1
diff --git a/examples/org.eclipse.swt.snippets/META-INF/MANIFEST.MF b/examples/org.eclipse.swt.snippets/META-INF/MANIFEST.MF
new file mode 100644
index 0000000000..f1d14cd150
--- /dev/null
+++ b/examples/org.eclipse.swt.snippets/META-INF/MANIFEST.MF
@@ -0,0 +1,9 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: org.eclipse.swt.snippets
+Bundle-Version: 3.2.0
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.swt
+Bundle-RequiredExecutionEnvironment: JavaSE-1.6
diff --git a/examples/org.eclipse.swt.snippets/plugin.xml b/examples/org.eclipse.swt.snippets/plugin.xml
deleted file mode 100644
index b73d5a6407..0000000000
--- a/examples/org.eclipse.swt.snippets/plugin.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.0"?>
-<plugin
- id="org.eclipse.swt.snippets"
- name="%pluginName"
- version="3.1.0"
- provider-name="%providerName">
-
- <requires>
- <import plugin="org.eclipse.swt" export="true"/>
- </requires>
-
-</plugin>