Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » [RCP] Common development cycle
[RCP] Common development cycle [message #261124] Tue, 13 July 2004 09:37 Go to next message
Eclipse UserFriend
Hi folks.

I've been reading a lot to get going with the RCP development process,
but got stuck some how setting up a development environment to build
my own RCP application. I've got the idea how to build a stand alone
RCP application following Ed's RCP tutorial. But I can't figure out
how to get started building my own application.

How do I run my (stand alone) RCP application from within the
Eclipse IDE without launching a new workbench?
The tutorial showed the tedious way how to use the export wizard
to export the corresponding plugin into a separate directory
leaving the task of manually determining and exporting the dependant
plugins. To start this application one needs to run the java interpreter
passing the required parameters and using the startup.jar launching
the RCP application usually by writing a command line script - for
every target OS. Isn't there a way to do this manual and error
prone process from within Eclipse directly plus a convenient way to launch
a complete export process packaging the bunch of required files allowing
the application to run on different target platforms? O.k. I could
imagine to grab the Ant script code Eclipse generates, building my
own Ant script I'd let Eclipse fire up. But is this the way it's
supposed to be?

If I do compare building an RCP application with the process building
a Swing application, the latter is much more straight forward and
all I need to do to build a bundle executable on any Java compliant
platform is to package my code plus the required libraries using
a simple Ant script. O.k. this is not an appropriate comparison.
A 'Swing application' should be compared to a 'SWT/JFace application'.
But how do you guys develop your RCP applications? Do you use your
own utilities such as sophisticated (that is: complicated) Ant scripts
to perform the tasks needed for coding, launching, debugging and packaging?
Or am missing the crucial key features the Eclipse IDE has to offer here?

Any hint is highly appreciated.

Marcus
Re: [RCP] Common development cycle [message #261226 is a reply to message #261124] Tue, 13 July 2004 12:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: itheg.hotmail.com

please take a look at the RCP tutorials here -
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-ui-home/rcp/index.html
tuturial #1 should answer your questions.

HTH,
sri

"Marcus Olk" <molk@comosoft.de> wrote in message
news:cd0odi$h4o$1@eclipse.org...
> Hi folks.
>
> I've been reading a lot to get going with the RCP development process,
> but got stuck some how setting up a development environment to build
> my own RCP application. I've got the idea how to build a stand alone
> RCP application following Ed's RCP tutorial. But I can't figure out
> how to get started building my own application.
>
> How do I run my (stand alone) RCP application from within the
> Eclipse IDE without launching a new workbench?
> The tutorial showed the tedious way how to use the export wizard
> to export the corresponding plugin into a separate directory
> leaving the task of manually determining and exporting the dependant
> plugins. To start this application one needs to run the java interpreter
> passing the required parameters and using the startup.jar launching
> the RCP application usually by writing a command line script - for
> every target OS. Isn't there a way to do this manual and error
> prone process from within Eclipse directly plus a convenient way to launch
> a complete export process packaging the bunch of required files allowing
> the application to run on different target platforms? O.k. I could
> imagine to grab the Ant script code Eclipse generates, building my
> own Ant script I'd let Eclipse fire up. But is this the way it's
> supposed to be?
>
> If I do compare building an RCP application with the process building
> a Swing application, the latter is much more straight forward and
> all I need to do to build a bundle executable on any Java compliant
> platform is to package my code plus the required libraries using
> a simple Ant script. O.k. this is not an appropriate comparison.
> A 'Swing application' should be compared to a 'SWT/JFace application'.
> But how do you guys develop your RCP applications? Do you use your
> own utilities such as sophisticated (that is: complicated) Ant scripts
> to perform the tasks needed for coding, launching, debugging and
packaging?
> Or am missing the crucial key features the Eclipse IDE has to offer here?
>
> Any hint is highly appreciated.
>
> Marcus
>
Re: [RCP] Common development cycle [message #261402 is a reply to message #261124] Wed, 14 July 2004 02:39 Go to previous messageGo to next message
Eclipse UserFriend
Marcus Olk schrieb:

> How do I run my (stand alone) RCP application from within the
> Eclipse IDE without launching a new workbench?

Create a new runtime configuration of type "runtime workbench" and on
the Plug-ins tab of the runtime configuration use "choose plugins..."
and select exactly those which were mentioned in the RCP tutorial.

Ciao, Michael.
Re: [RCP] Common development cycle [message #261695 is a reply to message #261226] Thu, 15 July 2004 07:38 Go to previous message
Eclipse UserFriend
sri varadarajan wrote:

> please take a look at the RCP tutorials here -
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-ui-home/rcp/index.html
> tuturial #1 should answer your questions.
>
> HTH,

No, not really. As I descibed in an earlier posting I worked through
the whole tutorial and ended up with the questions I posted in the
root of this thread. As Ed pointed out in his description how to
deploy a stand alone RCP app:

<quote>
Which plug-ins are required, you ask?
....
Unfortunately, as of this writing there is no automatic way to do this so
you need to do the copies by hand. This process is error prone and a
never-ending source of frustration to RCP developers. See the
troubleshooting section for some helpful advice. Hopefully a future version
of Eclipse will provide better support for this.
</quote>

I'm afraid that there is no solution to this problem, yet.
So, developing and deploying RCP applications seems to be a lot
of hand crafted steps to find out and perform then.

Thanks anyway,
Marcus
Previous Topic:ResourceBundle
Next Topic:Remember Murphy - missing semantic checks plugin.xml
Goto Forum:
  


Current Time: Thu Sep 18 12:10:28 EDT 2025

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

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

Back to the top