Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Why can't I pull in org.eclipse.ui.workbench to my MANIFEST file?
Why can't I pull in org.eclipse.ui.workbench to my MANIFEST file? [message #633949] Wed, 20 October 2010 01:41 Go to next message
Alex Le is currently offline Alex LeFriend
Messages: 649
Registered: July 2009
Senior Member
Hi,

Upgraded to Eclipse 3.5.2, my plug-ins fail to compile because the
Activator.java class extends the org.eclipse.ui.plugin.AbstractUIPlugin
class, which is in the org.eclipse.ui.workbench plug-in. My own plug-in
never needed to pull in the org.eclipse.ui.workbench plug-in, which is
shown in the "Plug-ins" view of the PDE perspective. My Activator.java
class only imports org.eclipse.ui.plugin.AbstractUIPlugin class.

1. Is this a big change in Eclipse 3.5.2? I have to pull in the
org.eclipse.ui.workbench plug-in, as a dependency, into my own plug-in's
MANIFEST now?

2. As mentioned I see org.eclipse.ui.workbench plug-in the "Plug-ins"
view of the PDE perspective, but I can't add it to the MANIFEST.

Please advise.

Thanks
Re: Why can't I pull in org.eclipse.ui.workbench to my MANIFEST file? [message #633964 is a reply to message #633949] Wed, 20 October 2010 05:40 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.Friend
Messages: 621
Registered: July 2009
Senior Member
On 20/10/10 7:11 AM, AL wrote:
> Upgraded to Eclipse 3.5.2, my plug-ins fail to compile because the
> Activator.java class extends the org.eclipse.ui.plugin.AbstractUIPlugin
> class, which is in the org.eclipse.ui.workbench plug-in. My own plug-in
> never needed to pull in the org.eclipse.ui.workbench plug-in, which is
> shown in the "Plug-ins" view of the PDE perspective. My Activator.java
> class only imports org.eclipse.ui.plugin.AbstractUIPlugin class.
>
> 1. Is this a big change in Eclipse 3.5.2? I have to pull in the
> org.eclipse.ui.workbench plug-in, as a dependency, into my own plug-in's
> MANIFEST now?

You should be adding org.eclipse.ui plugin as your dependency - not the
workbench one.

--
- Prakash
Platform UI Team, IBM

www.eclipse-tips.com
Re: Why can't I pull in org.eclipse.ui.workbench to my MANIFEST file? [message #634183 is a reply to message #633964] Wed, 20 October 2010 17:14 Go to previous messageGo to next message
Alex Le is currently offline Alex LeFriend
Messages: 649
Registered: July 2009
Senior Member
On 10/19/10 10:40 PM, Prakash G.R. wrote:
> On 20/10/10 7:11 AM, AL wrote:
>> Upgraded to Eclipse 3.5.2, my plug-ins fail to compile because the
>> Activator.java class extends the org.eclipse.ui.plugin.AbstractUIPlugin
>> class, which is in the org.eclipse.ui.workbench plug-in. My own plug-in
>> never needed to pull in the org.eclipse.ui.workbench plug-in, which is
>> shown in the "Plug-ins" view of the PDE perspective. My Activator.java
>> class only imports org.eclipse.ui.plugin.AbstractUIPlugin class.
>>
>> 1. Is this a big change in Eclipse 3.5.2? I have to pull in the
>> org.eclipse.ui.workbench plug-in, as a dependency, into my own plug-in's
>> MANIFEST now?
>
> You should be adding org.eclipse.ui plugin as your dependency - not the
> workbench one.
>

That's currently what I have, and my plug-in fails to compile due to
unresolved org.eclipse.ui.plugin.AbstractUIPlugin class.
Re: Why can't I pull in org.eclipse.ui.workbench to my MANIFEST file? [message #634236 is a reply to message #634183] Wed, 20 October 2010 21:30 Go to previous message
Alex Le is currently offline Alex LeFriend
Messages: 649
Registered: July 2009
Senior Member
On 10/20/10 10:14 AM, AL wrote:
> On 10/19/10 10:40 PM, Prakash G.R. wrote:
>> On 20/10/10 7:11 AM, AL wrote:
>>> Upgraded to Eclipse 3.5.2, my plug-ins fail to compile because the
>>> Activator.java class extends the org.eclipse.ui.plugin.AbstractUIPlugin
>>> class, which is in the org.eclipse.ui.workbench plug-in. My own plug-in
>>> never needed to pull in the org.eclipse.ui.workbench plug-in, which is
>>> shown in the "Plug-ins" view of the PDE perspective. My Activator.java
>>> class only imports org.eclipse.ui.plugin.AbstractUIPlugin class.
>>>
>>> 1. Is this a big change in Eclipse 3.5.2? I have to pull in the
>>> org.eclipse.ui.workbench plug-in, as a dependency, into my own plug-in's
>>> MANIFEST now?
>>
>> You should be adding org.eclipse.ui plugin as your dependency - not the
>> workbench one.
>>
>
> That's currently what I have, and my plug-in fails to compile due to
> unresolved org.eclipse.ui.plugin.AbstractUIPlugin class.

eclipse -clean or "F5" on the workspace helps! :-)
Previous Topic:Override definitions in plugin.xml
Next Topic:Problem in finding external library
Goto Forum:
  


Current Time: Wed Apr 24 21:32:11 GMT 2024

Powered by FUDForum. Page generated in 0.03203 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top