Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse plug-in RCP failing while exporting
Eclipse plug-in RCP failing while exporting [message #299521] Mon, 20 February 2006 11:32 Go to next message
Eclipse UserFriend
Originally posted by: javo.sentim.com

Hello there,

I have a project which is running well inside Eclipse, but as soon as I am
exporting it to a directory outside of Eclipse it says:


1. ERROR in D:\eclipse3.1WTP0.7Sysdeo31b\project1\packg\xyz.java
(at line 25)
import org.eclipse.ui.forms.FormColors;
^^^^^^^^^^^^^^^^^^^^
The import org.eclipse.ui.forms cannot be resolved


I am importing this class in a jar to the project. I have tried to
signalise this in many places in the plug-in configuration files without
success. Why is the wizard not including the external jars?
I tried to add the jars to the target directory manually also
unsuccessfully...

any ideas?

PS: I tested exporting before adding the class with the import and it
worked.


Thanks
Re: Eclipse plug-in RCP failing while exporting [message #299542 is a reply to message #299521] Mon, 20 February 2006 13:42 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

The simplified view: You cannot use external jars with plugins. A
plugin contains everything classpath related in itself, or gets it from
it's required plugins.

If you are using the form stuff, you need to open the manifest file, go
to the Dependancies tab, and add org.eclipse.ui.forms (and any other
plugins you require) in the Required Plugins section.

Later,
PW


Re: Eclipse plug-in RCP failing while exporting [message #299548 is a reply to message #299542] Mon, 20 February 2006 14:44 Go to previous message
Eclipse UserFriend
Originally posted by: javo.sentim.com

Thanks Paul!

I had to add it first to the xxxx.product and then as you said in the
manifest.
It failed to compile when I only had it in the manifest...
Previous Topic:View Title span over hole view size
Next Topic:What's the point of update manager?
Goto Forum:
  


Current Time: Thu Nov 21 06:31:44 GMT 2024

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

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

Back to the top