Using EMF Project as ordinary JavaProject... [message #194690] |
Fri, 16 February 2007 13:24  |
Eclipse User |
|
|
|
Hi,
I want to use EMF project in the java project....
I had made the jar of the EMF project and added in the java build path of
my ordinary java project....
I am getting the API's but i am not able to access the methods inside
these classes...
Can you plz tell me regarding this...
Regards,
Zakir
|
|
|
|
|
|
|
Re: Using EMF Project as ordinary JavaProject... [message #194800 is a reply to message #194790] |
Sat, 17 February 2007 08:32  |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------050703010709070703090806
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Zakir,
It's definitely a classpath issue, so my best advice is to use plugins
because they manage this much more easily. Ignoring that advice puts
you in the position of needing to set up the build classpath correctly
by hand. If you look at a plugin's dependencies, you can see exactly
which jars it depends as in this example:
So for the library example, you'd need to put the jars for ecore, common
and xmi on the classpath. (EMF does not have a "hard" dependency on
OSGi/Eclipse so you should not need those on the classpath unless you
use those things directly.)
zakir wrote:
> Hi Merks,
>
> I am very sorry to say you that.. I had tried all the steps you told..
>
> But my problem is not resolving yet....
>
> Could you plz suggest me regarding this...
>
> Regards,
>
> Zakir
>
--------------050703010709070703090806
Content-Type: multipart/related;
boundary="------------000701060903090806090602"
--------------000701060903090806090602
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Zakir,<br>
<br>
It's definitely a classpath issue, so my best advice is to use plugins
because they manage this much more easily.
|
|
|
Powered by
FUDForum. Page generated in 0.08485 seconds