|
Re: Build Path problem [message #39362 is a reply to message #39299] |
Sat, 16 September 2006 12:09 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
Con,
You probably should be building a plugin and not messing directly with
the build path, particularly if you are trying to build something that
will run as a plugin. I think IAdaptable is in
org.eclipse.equinox.common, but to create a properly functioning plugin,
you should be editing the MANIFEST.MF and using the Dependencies tab to
add dependencies on all the plugins you need. You should use the
newcomers, platform, or gef newsgroup for questions like this, not the
foundation newsgroup, so please redirect your followup questions to one
of those.
Con Gaff wrote:
> Hey
>
> I'm fairly new to eclipse and just trying out gef for the first time.
>
> I've added three jar files to the build path (although I'm pretty sure
> I don't need the gmf one)
>
> org.eclipse.gef_3.2.0.v20060626.jar
> org.eclipse.gef.doc.isv_3.2.0.v20060626.jar
> org.eclipse.gmf.runtime.gef.ui_1.0.0.v20060627-1200.jar
>
> All the right versoin and can import to a class just fine, like:
> import org.eclipse.gef.*;
> import org.eclipse.gef.editparts.AbstractGraphicalEditPart;
>
> Problem is when I try to create a class (my first using gef):
>
> public class DiagramContentsEditPart extends AbstractGraphicalEditPart {
> ..
> }
>
> I get the error:
> The type org.eclipse.core.runtime.IAdaptable cannot be resolved. It is
> indirectly referenced from required .class files
>
> Do I need to add to the build path? Or is there something else I'm
> missing?
>
> Thanks for your help.
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03252 seconds