Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » Import ..e4.ui.workbench.swt cannot be resolved
Import ..e4.ui.workbench.swt cannot be resolved [message #1021568] Wed, 20 March 2013 06:22 Go to next message
Peeyush Deshpande is currently offline Peeyush Deshpande
Messages: 12
Registered: March 2013
Junior Member
I was going through Vogella tutorial "Eclipse 4 RCP - Tutorial"
In section 24.2, there is an example code for registration.

That code when copied as is in my Eclipse application class, gives error as "The import org.eclipse.e4.ui.workbench.swt cannot be resolved".

I have installed e4 tools from
http://download.eclipse.org/e4/downloads/drops/R-0.13-201302282200/repository/

I had same error when I had e4 tools from e4/updates/0.12.

Please help me resolve the issue.

I tried to create the topic earlier, but dont know where exactly it got posted. So posting again here.

Also can someone please tell how should I resolve such problems by finding latest repositories ? Say if the packages are modified in latest releases.

thanks,
Peeyush

[Updated on: Wed, 20 March 2013 06:38]

Report message to a moderator

Re: Import ..e4.ui.workbench.swt cannot be resolved [message #1021604 is a reply to message #1021568] Wed, 20 March 2013 07:34 Go to previous messageGo to next message
Peeyush Deshpande is currently offline Peeyush Deshpande
Messages: 12
Registered: March 2013
Junior Member
Got resolved after I included org.eclipse.e4.ui.workbench.swt_0.10.1.v20120525-2014 jar file. Sad
Re: Import ..e4.ui.workbench.swt cannot be resolved [message #1021605 is a reply to message #1021568] Wed, 20 March 2013 07:30 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 418
Registered: July 2009
Senior Member
Hi Peeyush,

Just add the bundle dependency to the MANIFEST.MF.

Best Regards,

Wim


> I was going through Vogella tutorial "Eclipse 4 RCP - Tutorial"
> In section 24.2, there is an example code for registration.
>
> That code when copied as is in my Eclipse application class, gives error as
"The import org.eclipse.e4.ui.workbench.swt cannot be resolved".
>
> I have installed e4 tools from
>
http://download.eclipse.org/e4/downloads/drops/R-0.13-201302282200/repository/
>
> I had same error when I had e4 tools from e4/updates/0.12.
>
> Please help me resolve the issue.
>
> thanks,
> Peeyush
Re: Re: Import ..e4.ui.workbench.swt cannot be resolved [message #1021643 is a reply to message #1021604] Wed, 20 March 2013 08:56 Go to previous messageGo to next message
Wim Jongman is currently offline Wim Jongman
Messages: 418
Registered: July 2009
Senior Member
not happy?


> Got resolved after I included
org.eclipse.e4.ui.workbench.swt_0.10.1.v20120525-2014 jar file. :(
Re: Re: Import ..e4.ui.workbench.swt cannot be resolved [message #1022021 is a reply to message #1021643] Thu, 21 March 2013 02:18 Go to previous message
Peeyush Deshpande is currently offline Peeyush Deshpande
Messages: 12
Registered: March 2013
Junior Member
Happy for sure. Smile
But that was so silly, I could have thought of including the jar earlier.
Previous Topic:How can I open second window
Next Topic:How to start up a editor only at the first time Eclipse start up
Goto Forum:
  


Current Time: Wed Jul 23 04:00:38 EDT 2014

Powered by FUDForum. Page generated in 0.02689 seconds