Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » export rcp error, please help - Eclipse 3.2.1
export rcp error, please help - Eclipse 3.2.1 [message #459721] Wed, 06 December 2006 17:18 Go to next message
Eclipse UserFriend
Originally posted by: guefeld.spammerslammer.com

Hello NG

When I try to export my RCP product into a directory, it fails and I get the
following log
# 06.12.06 22:42:47 CET
# Eclipse Java Compiler v_677_R32x, 3.2.1 release, Copyright IBM Corp 2000,
2006. All rights reserved.
----------
1. ERROR in
E:\Workspace\com.codefondue.diam\src\com\codefondue\diam\Act ivator.java (at
line 12)
public class Activator extends AbstractUIPlugin {
^^^^^^^^^^^^^^^^
The type org.eclipse.core.runtime.Plugin cannot be resolved. It is
indirectly referenced from required .class files
----------
1 problem (1 error)

What does that mean? The required library org.eclipse.core.runtime should be
automatically included or not?
Where to check?

Thanks for your advice

G
Re: export rcp error, please help - Eclipse 3.2.1 [message #459737 is a reply to message #459721] Wed, 06 December 2006 22:38 Go to previous messageGo to next message
Eclipse UserFriend
I don't recognize that specific error, but no, RCP export doesn't include much of anything by default.

You have to (1) add org.eclipse.runtime.core to the "dependency" tab of each plug-in in your RCP
(that much may be automagical, if when you created the plug-in, you clicked "RCP app"), then (2) add
each plug-in to the launch-config (I guess you did that, or else it wouldn't have run in the devel
Eclipse), then (3) add each plug-in to the export (better: create some "features" and add the
plug-ins to the relevant one of those, and add the features to the export), i.e., in the .product
file. Then also, (4) in each plug-in that is part of the RCP, you need to define a "library" (on the
runtime tab), and also make sure each and every package of that plug-in is exported (on the runtime
tab). Then also also, (5) if any of your plugins contain 3rd-party jars that play badly with
class-loaders, you may need to specify "buddy clas-loading" in the MANIFEST.MF file.

I may have forgotten something.

HTH,
Paul
Re: export rcp error, please help - Eclipse 3.2.1 [message #459843 is a reply to message #459737] Thu, 07 December 2006 18:03 Go to previous message
Eclipse UserFriend
Originally posted by: guefeld.spammerslammer.com

After 1 1/2 days fighting, I decided to reinstall Eclipse 3.2.1 and the RCP
target
And voila, now it's working and creating the product export as desired.
Thus I conclude: If in doubt about strange errors, reinstall and they are
gone....

G
Previous Topic:property view and multiple selection in editor
Next Topic:Decorations on filtered items in a tree
Goto Forum:
  


Current Time: Tue Mar 25 18:29:28 EDT 2025

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

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

Back to the top