Eclipse and RCP

C

carmelo

Hi everybody,
I'm trying to create an RCP application using Eclipse.
Following help instructions I created an application from the "Hello
RCP" template... But the application doesn't run, because I get
compiler errors... It's not possible to import anything from
org.eclipse.ui.

Can you help?


I'm using Eclipse Ganymede. Do I need to install anything for making
RCP work? Some days ago I installed the RAP plugin, and it's still
working properly...

Thank you very much in advance
Carmelo
 
C

Christian

carmelo said:
Hi everybody,
I'm trying to create an RCP application using Eclipse.
Following help instructions I created an application from the "Hello
RCP" template... But the application doesn't run, because I get
compiler errors... It's not possible to import anything from
org.eclipse.ui.

Can you help?


I'm using Eclipse Ganymede. Do I need to install anything for making
RCP work? Some days ago I installed the RAP plugin, and it's still
working properly...

Thank you very much in advance
Carmelo


Without more information probably not much help is possible..
though you might be missing something... installing the RCP developer
edition of gany med might already tke care of that..
 
C

carmelo

I'm seeing that the Eclipse IDE for Plugin developers has 42 files on
the plugins directory regarding org.eclipse.ui, the other one instead
has 20 files... Now I try to copy them to see if it works with them
 
C

carmelo

I tried, and after copying all required plugins I didn't get any
compiler error, but the application doesn't run...
It seems to be a problem due to the RAP plugin...

Do you know how can I solve this problem?
Have I run 2 different Eclipse, 1 for RCP application and another 1
for anything else (RAP included) ?
 
C

Christian

carmelo said:
I tried, and after copying all required plugins I didn't get any
compiler error, but the application doesn't run...
It seems to be a problem due to the RAP plugin...

Do you know how can I solve this problem?
Have I run 2 different Eclipse, 1 for RCP application and another 1
for anything else (RAP included) ?

You shouldn't need.. though I don'T really know..
on the other side I don't see why you would need the UI classes in your
eclipse...
Setting a correct Target Platform should be enought.
Have you downloaded a target Platform and set in in your eclipse?

Christian
 
C

carmelo

You shouldn't need.. though I don'T really know..
on the other side I don't see why you would need the UI classes in your
eclipse...
Setting a correct Target Platform should be enought.
Have you downloaded a target Platform and set in in your eclipse?


What's a target Platform? From where can I download it?
 
C

Christian

carmelo said:
What's a target Platform? From where can I download it?
The Target platform is the eclipse version against which your rcp app is
build... if you don't set one you normal eclipse is used which is not
allways what you want.

get the RCP SDK from here:
http://download.eclipse.org/eclipse/downloads/drops/R-3.4-200806172000/index.php
unpack it then go to your preferences under Plug-in Development ->
Target Platform

and set the unpacked folder as Location ..
(additional you should also download the delta pack and unpack it into
your RCP SDK folder ... this allows you to export to all supported
platforms)
 
C

carmelo

Thank you very much! Now it works :)
Now RCP apps works but now work RAP apps... so I thought to do in this
way: when I need to build RAP apps I switch to its target platform,
and when I need to build RCP apps I switch to its target platform I
just installed... isn't it?


Thank you again!
Carmelo
 
C

Christian

carmelo said:
Thank you very much! Now it works :)
Now RCP apps works but now work RAP apps... so I thought to do in this
way: when I need to build RAP apps I switch to its target platform,
and when I need to build RCP apps I switch to its target platform I
just installed... isn't it?


Thank you again!
Carmelo

or you put the plugins needed to build RAP plugins also in your target
Platform..
 
C

carmelo

carmelo schrieb:
or you put the plugins needed to build RAP plugins also in your target
Platform..

I tried, and after copying all required plugins I didn't get any
compiler error, but the application doesn't run...
What do you suggest to copy all required plugins?
 
C

Christian

carmelo said:
I tried, and after copying all required plugins I didn't get any
compiler error, but the application doesn't run...
What do you suggest to copy all required plugins?

I don't know anything about RAP so as it has some webstuff in it it
might need some more stuff besides the plugins ... like a starter a
tomcat.. dunno.

May be you can get more answers in the eclipse forums / newsgroups.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top