Building an RCP outside of Eclipse IDE [message #444382] |
Tue, 14 February 2006 21:01 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #444400 is a reply to message #444382] |
Wed, 15 February 2006 13:39 |
Alex Blewitt 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.
|
|
|
Powered by
FUDForum. Page generated in 0.04805 seconds