Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Plug-in Dependencies
Plug-in Dependencies [message #208702] Thu, 03 May 2007 04:23 Go to next message
Eclipse UserFriend
Originally posted by: l.i.berman.durham.ac.uk

I'm sure I've done this before, but it's not repeatable! I have added the
following line to my Java source:

import org.eclipse.core.resources.*;

The compiler says it's unresolved. The Jar should be referenced in plug-in
dependencies, right? How does it get there? When I go to build path ->
configure build path -> libraries (tab) -> add Jars, it says "No entries
available." (The Jar is in fact in my eclipse .plugins directory.) When I
go to "add external Jars," it adds it, but not under plug-in dependencies.
What am I missing?

Lewis
Re: Plug-in Dependencies [message #208710 is a reply to message #208702] Thu, 03 May 2007 04:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: l.i.berman.durham.ac.uk

I've answered my own question (and rather quickly). Added the plug-in name
via a text editor to the project's MANIFEST.MF file. So the new question:
is there a way to do this in the workbench?
Re: Plug-in Dependencies [message #208774 is a reply to message #208710] Thu, 03 May 2007 11:32 Go to previous message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Lewis,

The PDE's manifest editor has a nice dependencies tab that does this.
You should NEVER edit the build path via the properties of the project
when developing plugins.


Lewis wrote:
> I've answered my own question (and rather quickly). Added the plug-in
> name via a text editor to the project's MANIFEST.MF file. So the new
> question: is there a way to do this in the workbench?
>
Previous Topic:Hide errors from a project
Next Topic:Eclipse fails to start
Goto Forum:
  


Current Time: Fri Apr 26 15:10:37 GMT 2024

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

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

Back to the top