Skip to main content



      Home
Home » Newcomers » Newcomers » Can't use EMF Plugin
Can't use EMF Plugin [message #101773] Wed, 14 September 2005 12:28 Go to next message
Eclipse UserFriend
Originally posted by: johannes.eble.tietoenator.com

Hello community,

I have started with Eclipse 3.1.0 (Win 2000) and I want to use the EMF
Plugin (http://www.eclipse.org/emf/). I have downloaded the
emf-sdo-xsd-sdk-M200509081011.zip (Version should be ok) and I have copy
the contents of its feature and plugin directory into the feature and
plugin Eclipse directories, respectively. I restarted Eclipse. Apparently,
Eclipse has recognised the plugins since I can see them in the Plug-Ins
View.

I created a simple Java project with one file (as described in "Eclipse
Modeling Framework: A Developer's Guide", Appendix B):

package com.example.po;

import org.eclipse.emf.common.util.EList;

The problem is that Eclipse can't resolve the import statement. I have
tried over and over to import a jar, to set the CLASSPATH and so on with
no success. Also, I just can't believe that it is such a pain to import
several jar files into the project (the plugin seems to have a lot of
them). Isn't there any (easy) way to just get this import right? Did I do
something wrong in the installation. I couldn't find a hint on how to
install and use the plugin.

A collegue mentioned that there is a method to let Eclipse install the
plugins over the Internet, but he couldn't remember how. And I am not sure
if the problem is the installation since Eclipse seems to recognize the
plugins.

This is driving me crazy.

Any help would be greatly appreciated :)


Best regards

Johannes
Re: Can't use EMF Plugin [message #101991 is a reply to message #101773] Thu, 15 September 2005 08:25 Go to previous message
Eclipse UserFriend
Originally posted by: johannes.eble.tietoenator.com

Hello again,

it seems that I have found an answer to my question. The installation
itsself seems to be ok. Then right-click the project in the Package
Explorer -> Build Path -> Configure Build Path...
In the Libraries tab select Add JARs (you can also create a variable, it's
more convenient if you have to use the lib more often).
The EMF jar file is just the
....../org.eclipse.emf.common_2.0.1/runtime.common.jar


That saved my day :)

ByeBye

Johannes
Previous Topic:Eclipse Integration
Next Topic:Spring 1.2.4 in Eclipse 3.1 question
Goto Forum:
  


Current Time: Sun Sep 14 04:30:46 EDT 2025

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

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

Back to the top