Building an RCP outside of Eclipse IDE [message #444382] |
Tue, 14 February 2006 16: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 #444400 is a reply to message #444382] |
Wed, 15 February 2006 08:39  |
Eclipse User |
|
|
|
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.04192 seconds