diff options
author | Stephan Herrmann | 2012-10-16 14:02:34 +0000 |
---|---|---|
committer | Stephan Herrmann | 2012-10-16 14:02:34 +0000 |
commit | 26763a32a6b9015482e767ab5d39c8e16682445e (patch) | |
tree | 676394c584901ee969239ec9ea8fa9e78b77deaf /testplugins | |
parent | b63b919494eec16a78efc673b87ac037d9bce34c (diff) | |
download | org.eclipse.objectteams-26763a32a6b9015482e767ab5d39c8e16682445e.tar.gz org.eclipse.objectteams-26763a32a6b9015482e767ab5d39c8e16682445e.tar.xz org.eclipse.objectteams-26763a32a6b9015482e767ab5d39c8e16682445e.zip |
Bug 374833 - Complain when base plugin of an aspectBinding cannot be
resolved
Diffstat (limited to 'testplugins')
32 files changed, 129 insertions, 23 deletions
diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTBuilderTests.java b/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTBuilderTests.java index 2ebad177e..e791aeec6 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTBuilderTests.java +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTBuilderTests.java @@ -25,6 +25,7 @@ import org.eclipse.jdt.core.tests.builder.BuilderTests; import org.eclipse.jdt.core.tests.builder.Problem; import org.eclipse.jdt.core.tests.builder.TestingEnvironment; import org.eclipse.objectteams.otdt.internal.compiler.adaptor.BuildManager; +import org.eclipse.pde.internal.core.PDECoreMessages; public class OTBuilderTests extends BuilderTests { @@ -42,7 +43,27 @@ public class OTBuilderTests extends BuilderTests { this.otenv = new OTTestingEnvironment(); this.otenv.activate(); - env = new TestingEnvironment(); + env = new TestingEnvironment() { + @Override + public Problem[] getProblemsFor(IPath path) { + // capture some more problems than the super method, but not all: + Problem[] allProblems = getProblemsFor(path, "org.eclipse.pde.core.problem"); + Problem[] filteredProblems = new Problem[allProblems.length]; + int j=0; + for (int i = 0; i < allProblems.length; i++) { + // don't know why this warning is getting reported against perfectly valid files, ignore it for now: + if (allProblems[i].getMessage().equals(PDECoreMessages.Builders_Manifest_useless_file)) + continue; + // some plugin.xml have a deprecated 'action' extension, just ignore those: + if (allProblems[i].getMessage().contains("deprecated")) + continue; + filteredProblems[j++] = allProblems[i]; + } + if (j < allProblems.length) + System.arraycopy(filteredProblems, 0, filteredProblems = new Problem[j], 0, j); + return filteredProblems; + } + }; env.openEmptyWorkspace(); env.resetWorkspace(); diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTEquinoxBuilderTests.java b/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTEquinoxBuilderTests.java index cf6b32349..7ccd59c08 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTEquinoxBuilderTests.java +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/src/org/eclipse/objectteams/otdt/test/builder/OTEquinoxBuilderTests.java @@ -356,6 +356,18 @@ public class OTEquinoxBuilderTests extends OTBuilderTests { expectingNoProblemsFor(aspectPlugin2.getPath()); } + public void testBug374833() throws CoreException, IOException { + IJavaProject pluginPrj= fileManager.setUpJavaProject("UnresolvedBasePlugin"); + env.addProject(pluginPrj.getProject()); + fullBuild(); + expectingOnlySpecificProblemsFor(pluginPrj.getPath(), + new Problem[] { + new Problem("", "Base plug-in Missing.Plugin cannot be resolved", + pluginPrj.getPath().append("plugin.xml"), + -1, -1, -1, IMarker.SEVERITY_ERROR) + }); + } + // ---------------- HELPERS: --------------------------- private Problem getDecapsulationProblem(IJavaProject project, String baseclassName, String teamPath, int start, int end) { return new Problem("", "Decapsulating base class "+baseclassName+" by means of a forced export. Note, that additionally a corresponing declaration is needed in config.ini (OTJLD 2.1.2(c) + OT/Equinox).", diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/IllegalUseOfForcedExport/META-INF/MANIFEST.MF b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/IllegalUseOfForcedExport/META-INF/MANIFEST.MF index ae01de678..02076ecb4 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/IllegalUseOfForcedExport/META-INF/MANIFEST.MF +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/IllegalUseOfForcedExport/META-INF/MANIFEST.MF @@ -5,3 +5,4 @@ Bundle-SymbolicName: IllegalUseOfForcedExport; singleton:=true Bundle-Version: 1.0.0 Require-Bundle: org.eclipse.objectteams.otequinox, Trac18b +Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/MissingAspectBinding/META-INF/MANIFEST.MF b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/MissingAspectBinding/META-INF/MANIFEST.MF index 7d974edd9..7b781ca10 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/MissingAspectBinding/META-INF/MANIFEST.MF +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/MissingAspectBinding/META-INF/MANIFEST.MF @@ -5,3 +5,4 @@ Bundle-SymbolicName: MissingAspectBinding; singleton:=true Bundle-Version: 1.0.0 Require-Bundle: org.eclipse.objectteams.otequinox, Trac18b +Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/.classpath b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/.classpath index b70b15678..9b7e6c5e6 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/.classpath +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/.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/J2SE-1.5"/> <classpathentry kind="con" path="OTRE"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="output" path="bin"/> diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/META-INF/MANIFEST.MF b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/META-INF/MANIFEST.MF index 9f1180cb6..cffcdcbbb 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/META-INF/MANIFEST.MF +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/META-INF/MANIFEST.MF @@ -6,3 +6,4 @@ Bundle-Version: 1.0.0 Require-Bundle: org.eclipse.ui, org.eclipse.objectteams.otequinox, Trac132b +Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/build.properties b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/build.properties index 0d3d3a745..2b0d95b6b 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/build.properties +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a1/build.properties @@ -2,5 +2,4 @@ source.. = src/ output.. = bin/ bin.includes = plugin.xml,\ META-INF/,\ - .,\ - icons/ + . diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/.classpath b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/.classpath index b70b15678..9b7e6c5e6 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/.classpath +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/.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/J2SE-1.5"/> <classpathentry kind="con" path="OTRE"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="output" path="bin"/> diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/META-INF/MANIFEST.MF b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/META-INF/MANIFEST.MF index 1bc8e3ad6..c0f3288a7 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/META-INF/MANIFEST.MF +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/META-INF/MANIFEST.MF @@ -6,3 +6,4 @@ Bundle-Version: 1.0.0 Require-Bundle: org.eclipse.ui, org.eclipse.objectteams.otequinox, Trac132b +Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/build.properties b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/build.properties index 0d3d3a745..2b0d95b6b 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/build.properties +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132a2/build.properties @@ -2,5 +2,4 @@ source.. = src/ output.. = bin/ bin.includes = plugin.xml,\ META-INF/,\ - .,\ - icons/ + . diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/.classpath b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/.classpath index 751c8f2e5..304e86186 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/.classpath +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/.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/J2SE-1.5"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="output" path="bin"/> </classpath> diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/META-INF/MANIFEST.MF b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/META-INF/MANIFEST.MF index ac53ef55e..e5725d534 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/META-INF/MANIFEST.MF +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/META-INF/MANIFEST.MF @@ -6,3 +6,4 @@ Bundle-Version: 1.0.0 Require-Bundle: org.eclipse.ui Export-Package: trac132b.api, trac132b.actions;x-internal:=true +Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/build.properties b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/build.properties index 0d3d3a745..2b0d95b6b 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/build.properties +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/build.properties @@ -2,5 +2,4 @@ source.. = src/ output.. = bin/ bin.includes = plugin.xml,\ META-INF/,\ - .,\ - icons/ + . diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/plugin.xml b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/plugin.xml index 5910717b2..a3c0bc1ff 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/plugin.xml +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac132b/plugin.xml @@ -17,7 +17,6 @@ </menu> <action label="&Sample Action" - icon="icons/sample.gif" class="trac132b.actions.SampleAction" tooltip="Hello, Eclipse world" menubarPath="sampleMenu/sampleGroup" diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac154b1/plugin.xml b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac154b1/plugin.xml index b45bc2d5a..f370f03ac 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac154b1/plugin.xml +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac154b1/plugin.xml @@ -17,7 +17,6 @@ </menu> <action label="&Sample Action" - icon="icons/sample.gif" class="trac154b1.actions.SampleAction" tooltip="Hello, Eclipse world" menubarPath="sampleMenu/sampleGroup" diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/.classpath b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/.classpath index b70b15678..9b7e6c5e6 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/.classpath +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/.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/J2SE-1.5"/> <classpathentry kind="con" path="OTRE"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="output" path="bin"/> diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/META-INF/MANIFEST.MF b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/META-INF/MANIFEST.MF index 5d5f795f7..c008ad36a 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/META-INF/MANIFEST.MF +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/META-INF/MANIFEST.MF @@ -7,3 +7,4 @@ Require-Bundle: org.eclipse.ui, org.eclipse.objectteams.otequinox, Trac18b Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/build.properties b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/build.properties index 0d3d3a745..2b0d95b6b 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/build.properties +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/build.properties @@ -2,5 +2,4 @@ source.. = src/ output.. = bin/ bin.includes = plugin.xml,\ META-INF/,\ - .,\ - icons/ + . diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/plugin.xml b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/plugin.xml index 3329dbe18..56d038bae 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/plugin.xml +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a/plugin.xml @@ -17,7 +17,6 @@ </menu> <action label="&Sample Action" - icon="icons/sample.gif" class="trac18a.actions.SampleAction" tooltip="Hello, Eclipse world" menubarPath="sampleMenu/sampleGroup" diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a2/plugin.xml b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a2/plugin.xml index 06c2c5310..1f58f4bae 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a2/plugin.xml +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a2/plugin.xml @@ -17,7 +17,6 @@ </menu> <action label="&Sample Action" - icon="icons/sample.gif" class="trac18a.actions.SampleAction" tooltip="Hello, Eclipse world" menubarPath="sampleMenu/sampleGroup" diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a3/plugin.xml b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a3/plugin.xml index d3d801cc7..c29405978 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a3/plugin.xml +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18a3/plugin.xml @@ -17,7 +17,6 @@ </menu> <action label="&Sample Action" - icon="icons/sample.gif" class="trac18a.actions.SampleAction" tooltip="Hello, Eclipse world" menubarPath="sampleMenu/sampleGroup" diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/.classpath b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/.classpath index 751c8f2e5..304e86186 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/.classpath +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/.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/J2SE-1.5"/> <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> <classpathentry kind="output" path="bin"/> </classpath> diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/META-INF/MANIFEST.MF b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/META-INF/MANIFEST.MF index 09fa9e0f3..13dded6d8 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/META-INF/MANIFEST.MF +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/META-INF/MANIFEST.MF @@ -6,4 +6,4 @@ Bundle-Version: 1.0.0 Require-Bundle: org.eclipse.ui Export-Package: trac18b.api Bundle-ActivationPolicy: lazy - +Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/build.properties b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/build.properties index 0d3d3a745..2b0d95b6b 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/build.properties +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/build.properties @@ -2,5 +2,4 @@ source.. = src/ output.. = bin/ bin.includes = plugin.xml,\ META-INF/,\ - .,\ - icons/ + . diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/plugin.xml b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/plugin.xml index e42d5e0d5..eb5bb394e 100644 --- a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/plugin.xml +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/Trac18b/plugin.xml @@ -17,7 +17,6 @@ </menu> <action label="&Sample Action" - icon="icons/sample.gif" class="trac18b.actions.SampleAction" tooltip="Hello, Eclipse world" menubarPath="sampleMenu/sampleGroup" diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/.classpath b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/.classpath new file mode 100644 index 000000000..9b7e6c5e6 --- /dev/null +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/.classpath @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" path="src"/> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/> + <classpathentry kind="con" path="OTRE"/> + <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/> + <classpathentry kind="output" path="bin"/> +</classpath> diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/.project b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/.project new file mode 100644 index 000000000..192016382 --- /dev/null +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/.project @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="UTF-8"?> +<projectDescription> + <name>UnresolvedBasePlugin</name> + <comment></comment> + <projects> + </projects> + <buildSpec> + <buildCommand> + <name>org.eclipse.objectteams.otdt.builder.OTJBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.ManifestBuilder</name> + <arguments> + </arguments> + </buildCommand> + <buildCommand> + <name>org.eclipse.pde.SchemaBuilder</name> + <arguments> + </arguments> + </buildCommand> + </buildSpec> + <natures> + <nature>org.eclipse.pde.PluginNature</nature> + <nature>org.eclipse.jdt.core.javanature</nature> + <nature>org.eclipse.objectteams.otdt.OTJavaNature</nature> + </natures> +</projectDescription> diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/.settings/org.eclipse.jdt.core.prefs b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 000000000..509e6279c --- /dev/null +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,3 @@ +#Sat Nov 10 00:41:15 CET 2007 +eclipse.preferences.version=1 +org.eclipse.objectteams.otdt.compiler.problem.binding_conventions=error diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/META-INF/MANIFEST.MF b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/META-INF/MANIFEST.MF new file mode 100644 index 000000000..fcd8fbfa9 --- /dev/null +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/META-INF/MANIFEST.MF @@ -0,0 +1,9 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: UnresolvedBasePlugin Plug-in +Bundle-SymbolicName: UnresolvedBasePlugin; singleton:=true +Bundle-Version: 1.0.0 +Require-Bundle: org.eclipse.objectteams.otequinox, + org.eclipse.objectteams.runtime +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: J2SE-1.5 diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/build.properties b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/build.properties new file mode 100644 index 000000000..2b0d95b6b --- /dev/null +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = plugin.xml,\ + META-INF/,\ + . diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/plugin.xml b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/plugin.xml new file mode 100644 index 000000000..e4f712f2f --- /dev/null +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/plugin.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<?eclipse version="3.2"?> +<plugin> + + <extension + point="org.eclipse.objectteams.otequinox.aspectBindings"> + <aspectBinding + icon="platform:/plugin/org.eclipse.objectteams.otdt.ui/icons/ot/calloutbinding_obj.gif"> + <basePlugin + icon="platform:/plugin/org.eclipse.pde.ui/icons/obj16/plugin_obj.gif" + id="Missing.Plugin"> + </basePlugin> + <team + activation="ALL_THREADS" + class="pack.T" + icon="platform:/plugin/org.eclipse.objectteams.otdt.ui/icons/ot/team_obj.gif"> + </team> + </aspectBinding> + </extension> + +</plugin> diff --git a/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/src/pack/T.java b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/src/pack/T.java new file mode 100644 index 000000000..7d85b39af --- /dev/null +++ b/testplugins/org.eclipse.objectteams.otdt.test.builder/workspace/UnresolvedBasePlugin/src/pack/T.java @@ -0,0 +1,3 @@ +package pack; + +public team class T {}
\ No newline at end of file |