Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Building an RCP outside of Eclipse IDE
Building an RCP outside of Eclipse IDE [message #444382] Tue, 14 February 2006 21:01 Go to next message
Eclipse UserFriend
Originally posted by: bdberry.us.ibm.com

Is there a way to build an RCP external to running the export wizard
within Eclipse itself. I would like to automate my build process of the
RCP in order to streamline it with the rest of my application build
process that is kicked off by a simple ant script. For example, can I
call the RCP product export wizard specifically with parameters by
including some eclipse jar files?
Re: Building an RCP outside of Eclipse IDE [message #444385 is a reply to message #444382] Tue, 14 February 2006 22:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kwpeck.mersoft.com

You can do it with an ANT build. We are working on doing that right now.
It has been quite the pain as documentation is not very good. Lots of
feature files and what not plus a lot of manual editing of what happens.

Start by exporting your RCP as an ant build file. Maybe the generic file
it creates will work for you.

Brian Berry wrote:
> Is there a way to build an RCP external to running the export wizard
> within Eclipse itself. I would like to automate my build process of the
> RCP in order to streamline it with the rest of my application build
> process that is kicked off by a simple ant script. For example, can I
> call the RCP product export wizard specifically with parameters by
> including some eclipse jar files?
Re: Building an RCP outside of Eclipse IDE [message #444398 is a reply to message #444382] Wed, 15 February 2006 11:10 Go to previous messageGo to next message
Ian Leslie is currently offline Ian LeslieFriend
Messages: 137
Registered: July 2009
Senior Member
I just finished doing that for my application and I agree with Kevin it
was non trivial. I followed the recipe in the RCP book to create a PDE
build. I am not sure how much that differs from what Kevin did but after
lots of degugging of error messages that were hard to decipher it worked.

Ian
Re: Building an RCP outside of Eclipse IDE [message #444400 is a reply to message #444382] Wed, 15 February 2006 13:39 Go to previous message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
Ah yes, the joys of exporting :-)

I will be posting my slides for the EclipseCon talk on the EclipseCon website by the end of this week, and it covers some of the basics (and issues) with automated builds (and testing) outside of Eclipse.

The examples (which may be posted there, or on http://www.rcpapps.org/EclipseCon2006/ shortly) will build with ant or maven. The source code is available now from the RCPApps CVS repository at SourceForge.

Most of the time, I recommend with running:

-DjavacStopOnError=true (*)
-verbose

Usually it's a problem with getting the maps from the CVS repository. If they're downloaded, then they get merged into a file 'directory.txt'. Without that, nothing will work; but there's no checkcode to see if it should continue, and invariably it ends up complaining that the fetch_xml is invalid or can't be found. At least running with the verbose set, you see a bit more of what's happening.

If fetch_.xml isn't there, or it looks like it's been truncated, the problem is with obtaining (or merging) the maps. In most cases, it can be traced back to the wrong CVS repo being used (or not being available with that tag...)

Hope that's useful for others; I'll put an announcement out when I've got the presentation uploaded.

Alex.
Previous Topic:how to get reference of the actionsets in the view
Next Topic:Change Font for editor tab programmatically
Goto Forum:
  


Current Time: Sat Dec 14 01:56:49 GMT 2024

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

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

Back to the top