Can't use EMF Plugin [message #101773] |
Wed, 14 September 2005 12:28  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.07522 seconds