[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: RCP and Feature updates

Dan Phifer wrote:

For 3.01 I had to create a feature that contained everything MY feature requires for a base RCP platform. Then I was able to deal with my application as two features, the one I wrote and my RCP base feature. Without that base feature I had the same kind of complaints about required things that were in fact already in place.


Thanks Steve.

Were you able to create a product from your base RCP feature and successfully export and run it?

I have created a feature that refers to one plugin that defines a base RCP app (just hooks into software update and help -- no views, no editors). When I create a product based on the FEATURE and export it, I get an error when I try to run the RCP app because it can't find my application class. However, if I start with the PLUGIN that the feature is based on, I can create a product, export it, and it runs fine. What could I be doing wrong?

Also, when you created your base feature, did you go through the process of moving all the "required" plugins into the "included" list, as is mentioned in the post I originally referred to? (http://dev.eclipse.org/newslists/news.eclipse.platform.rcp/msg00403.html)

Thanks again,
Dan




It sounds like some id entry is snafu'd in the feature definition or something. I would export the plugin based version that works and build the feature(s) for the update site by hand, but we might be talking apples and oranges. What I did ages ago in 3.01 to release an application that could talk to an update site may not apply directly to exporting a product in 3.1 today. The solution described in the post you reference is not quite what worked for me.


I started by creating a feature for my RCP app. Stuff broke. There was a thread in here somewhere about needing a feature for the things not in the RCP app feature. I had everything in the workspace and figured it would be a cakewalk to build that 'base feature', it wasn't. I pieced the base feature together by exporting what I could and copying some things that wouldn't build over by hand.

-
Steve