Bug 273999 - [Manifest Editor] Schema should be searched in workspace bundles not in "Required-Bundle"s
Summary: [Manifest Editor] Schema should be searched in workspace bundles not in "Requ...
Status: NEW
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.5   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-28 05:58 EDT by Philipp Kursawe CLA
Modified: 2022-05-30 09:51 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Kursawe CLA 2009-04-28 05:58:48 EDT
We should continuously abandon "Require-Bundle" notation. PDE should rely on the currently loaded workspace projects to look for Extension Point schema and not in the bundles specified by "Require-Bundle" as it currently does. I am only using "Import-Bundle" throughout my projects. Creating and using extensions is still possible though. So it seems that the warning the Manifest Editor is printing out about missing schema files relies on the "Require-Bundle" while the editor itself can perfectly work without "RB".
Comment 1 Chris Aniszczyk CLA 2009-04-28 10:37:25 EDT
I know :)

I believe we have one or two bugs about this issue, can't find them atm.

Do you want to create a patch for this issue ;)?
Comment 2 Chris Aniszczyk CLA 2009-04-28 10:37:45 EDT
btw, where is the warning coming up? Can you give me your workflow?
Comment 3 Philipp Kursawe CLA 2009-04-28 10:46:23 EDT
It came up when I opened a plugin.xml file. But I cannot reproduce it now. I wanted to attach a screenshot.
Anyway, I think I am not that deep into PDE yet, to provide a patch for this, unfortunately.
However, maybe you could point me into a direction. I think the messagebox that asks you to add the schema-containing plugin to the required-bundles should go away too, and might be a good point to look at for starters like me :)
Comment 4 pasam soujanya CLA 2018-06-18 05:21:54 EDT
Similar issue is seen with IBM JAVA while executing Automated Test Suite of pdeapitooling,

Error:
ECL (eclipse) recordError type=TestError org.eclipse.pde.api.tools.model.tests.ApiDescriptionTests testBinaryHasApiDescription Check the property : -DrequiredBundles=...
ECL Missing required bundle(s): org.eclipse.core.runtime,
ECL (eclipse) org.eclipse.core.runtime.CoreException: Check the property : -DrequiredBundles=...
ECL Missing required bundle(s): org.eclipse.core.runtime,
ECL 	at org.eclipse.pde.api.tools.model.tests.TestSuiteHelper.addAllRequired(TestSuiteHelper.java:503)
ECL 	at org.eclipse.pde.api.tools.model.tests.TestSuiteHelper.createTestingBaseline(TestSuiteHelper.java:366)
ECL 	at org.eclipse.pde.api.tools.model.tests.TestSuiteHelper.createTestingBaseline(TestSuiteHelper.java:128)
ECL 	at org.eclipse.pde.api.tools.model.tests.ApiDescriptionTests.testBinaryHasApiDescription(ApiDescriptionTests.java:820)
ECL 	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:692)
ECL 	at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:319)
ECL 	at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:36)
ECL 	at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:32)
ECL 	at org.eclipse.equinox.internal.app.EclipseAppContainer.callMethodWithException(EclipseAppContainer.java:587)
ECL 	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:198)
ECL 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
ECL 	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
ECL 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
ECL 	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
ECL 	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
ECL 	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
ECL 	at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
ECL 	at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
ECL 	at org.eclipse.core.launcher.Main.main(Main.java:34)
ECL 


Failing tests: 19
RTR   1) org.eclipse.pde.api.tools.model.tests.ApiDescriptionTests testBinaryHasApiDescription
RTR   2) org.eclipse.pde.api.tools.model.tests.ApiDescriptionTests testBinaryHasNoApiDescription
RTR   3) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testUsesDirective
RTR   4) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testXInternalDirective
RTR   5) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testGetLocation
RTR   6) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testNestedJarComponent
RTR   7) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testFindJavaLangObject
RTR   8) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testDependents
RTR   9) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testResolvePackage
RTR   10) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testPrerequisites
RTR   11) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testResolveJavaLangPackage
RTR   12) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testXFriendsDirective
RTR   13) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testResolvePackageWithinComponent
RTR   14) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testResolveSystemPackage
RTR   15) org.eclipse.pde.api.tools.model.tests.ApiBaselineTests testNotExported
RTR   16) org.eclipse.pde.api.tools.reference.tests.SearchScopeTests testVisitEntireComponentsScope
RTR   17) org.eclipse.pde.api.tools.reference.tests.SearchScopeTests testVisitSpecificTypes
RTR   18) org.eclipse.pde.api.tools.reference.tests.SearchScopeTests testVisitTypeScope
RTR   19) org.eclipse.pde.api.tools.builder.tests.OSGiLessAnalysisTests testAnalyzer

IBM Java Version:
Java(TM) SE Runtime Environment (build pxi3270_27sr5-20180612_01(SR5))
IBM J9 VM (build 2.7, JRE 1.7.0 Linux x86-32 20180611_389116 (JIT enabled, AOT enabled)
J9VM - R27_jvm.27_20180611_1242_B389116
JIT  - tr.r13.java_20180611_389116
GC   - R27_jvm.27_20180611_1242_B389116
J9CL - 20180611_389116)
JCL - 20180605_01 based on Oracle jdk7u181-b09
Comment 5 Eclipse Genie CLA 2020-06-08 05:09:04 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 6 Eclipse Genie CLA 2022-05-30 09:51:40 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.