Building RCP Applications [message #435368] |
Tue, 16 August 2005 09:38  |
Eclipse User |
|
|
|
Hi.
This is not the first time me and other RCP developers have to
ask this question. Due to the fact that I'm currently completely
pissed off by the fact that obviously the whole plugin architecture
is lacking a decent build process, I'd like to know how you guys
manage to build a RCP based product?!
So: where can I find a proper documentation on how to build a
RCP based application?!
The 3.1 export wizard triggered by the 'Product Configuration Editor'
simply doesn't work, well sometimes it does, sometimes it doesn't.
Errors reported by the export wizard (logs.zip) are next to useless,
because one has no clue how to solve them. Here's an example of
one of the log files:
1. ERROR in C:\development\projects\...\XXX.java
(at line 18)
import org.eclipse.jface.resource.ColorRegistry;
The import org.eclipse.jface cannot be resolved
Interesting. And why is it possible to run the product from within
the IDE? Shouldn't this give me the same error?! It doesn't.
The IDE compiles the same plugin and the run configuration used to
run the product launches the application without any errors.
I've got a really bad feeling that I still don't understand the
black magic needed to applied to determine all required plugins.
This build process sucks.
Sorry for moaning, but this issue consumed way too much time
since we decided to choose the RCP framework for building our
applications; time that's wasted taking the domain functionality
into account we have to implement. After all we spent 70% struggling
with the RCP framework until now.
RCP - a bad decision after all, but we spent so much time on it that we
have no choice but to continue to find further workarounds to get a
product shipped some day - hopefully.
Marcus
|
|
|
Re: Building RCP Applications [message #435370 is a reply to message #435368] |
Tue, 16 August 2005 09:59   |
Eclipse User |
|
|
|
Originally posted by: jordan.day.21csi.com
Well, I don't know what other errors you're experiencing, but based on the
one you listed below, I'm wondering if you have configured the product
completely. When you open your XXXX.product file, go to the configuration
page, and make sure to click "Add Required Plug-ins"... this should include
all the plugins that your plugin uses.
Jordan
"Marcus Olk" <molk@comosoft.de> wrote in message
news:ddsq8p$a9a$1@news.eclipse.org...
> Hi.
>
> This is not the first time me and other RCP developers have to
> ask this question. Due to the fact that I'm currently completely
> pissed off by the fact that obviously the whole plugin architecture
> is lacking a decent build process, I'd like to know how you guys
> manage to build a RCP based product?!
>
> So: where can I find a proper documentation on how to build a
> RCP based application?!
>
> The 3.1 export wizard triggered by the 'Product Configuration Editor'
> simply doesn't work, well sometimes it does, sometimes it doesn't.
> Errors reported by the export wizard (logs.zip) are next to useless,
> because one has no clue how to solve them. Here's an example of
> one of the log files:
>
> 1. ERROR in C:\development\projects\...\XXX.java
> (at line 18)
> import org.eclipse.jface.resource.ColorRegistry;
> The import org.eclipse.jface cannot be resolved
>
> Interesting. And why is it possible to run the product from within
> the IDE? Shouldn't this give me the same error?! It doesn't.
> The IDE compiles the same plugin and the run configuration used to
> run the product launches the application without any errors.
> I've got a really bad feeling that I still don't understand the
> black magic needed to applied to determine all required plugins.
>
> This build process sucks.
>
> Sorry for moaning, but this issue consumed way too much time
> since we decided to choose the RCP framework for building our
> applications; time that's wasted taking the domain functionality
> into account we have to implement. After all we spent 70% struggling
> with the RCP framework until now.
>
> RCP - a bad decision after all, but we spent so much time on it that we
> have no choice but to continue to find further workarounds to get a
> product shipped some day - hopefully.
>
> Marcus
|
|
|
|
|
|
|
|
Re: Building RCP Applications [message #435660 is a reply to message #435642] |
Mon, 22 August 2005 04:28  |
Eclipse User |
|
|
|
Ed,
Ed Burnette wrote:
> If you haven't already, please enter a bugzilla for each error message you find that's unclear.
Done and still waiting for an answer to my question where to find
a decent documentation on this build issue:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=105295
> I remember entering a bunch of them when RCP first came out the developers cleaned up a whole
> lot of problems. They don't try all the wacky things we do,
> because they know better :).
Sure, that's a fundamental problem we ourselves from a developer's
perspective have to cope with. Or to take back the user's perspective,
the users of our work have to cope with.
All I need to know is the state of this issue: am I using the export
in a false manner or is there a bug? And: is there a decent headless
build process in the works?
I've got a really bad feeling about this, because we need to have
a headless build process to do nightly builds. I am aware of the
fact that the platform is beeing build with such a process. But this
process seems to be far away from beeing ready to be used by none
eclipse contributors...
> Also if you find yourself beating your head against the wall about something
> it doesn't hurt to ask on the forum before you get completely
> frustrated. I find that sometimes writing and posting a question helps
> clarify things in my mind so it will often help me find the solution
> myself even if I don't get a response.
Sure. But this wasn't my first posting on this issue. And this time
with a bit of moaning there was a response :)
Even though the fundamental issue has not been solved, yet.
All I want to know is if this issue has been registerd to be an open
issue and if someone is working on it. I still don't know if I'm just
using the export process in a false manner...
Marcus
|
|
|
Powered by
FUDForum. Page generated in 0.03936 seconds