install and use model Query [message #553008] |
Mon, 16 August 2010 02:51 |
moaad Messages: 6 Registered: July 2010 |
Junior Member |
|
|
Hello,
I'm trying to install the EMF model query plug-in. In the eclipse website
http://www.eclipse.org/modeling/emf/downloads/?project=query
I have download :
* All-In-One Update Site
* SDK (Runtime, Source)
* Runtime
* Examples
// I don't know why there is 4 zip file ..??!!
For the first one (All-In-One Update Site), I unzipped the file which contains a plug-in && feature folders. I opened the plug-in folder. I found 6 zip directories which I extract. then I moved the extracted directories to my eclipse plug-in directory. I did the same for feature folder. That how I learned to install plug-in. I did the same for all downloaded files.
I restarted Eclipse, however when I try :
import org.eclipse.emf.query;
or
org.eclipse.emf.query.conditions.*;
I got an error message : eclipse doesn't recognize the packages and propose to create classes.....
I tried a second method : I unzipped the file and automatically moved it to drop-in folder within eclipse directory. but I got the same result.
Finally, I open help -> install new softwar ->
i have chosen :
- http://download.eclipse.org/releases/galileo
and installed emf queries ...... but still the same problem.
Did I download the wrong files ?? or My plug-in installation method is wrong !!
My objective is to create a model then send queries to obtain information that I need ( example : for a library : number of books with more than 500 pages...)
So far, I haven't found any tutorial or website dealing with model query ?? is there a tutorial which explain how to run these queries??
Thanks in advance
[Updated on: Mon, 16 August 2010 03:18] Report message to a moderator
|
|
|
Re: install ans use model Query [message #553009 is a reply to message #553008] |
Mon, 16 August 2010 03:21 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Moadd,
Which version of Eclipse/EMF are you trying to install this into?
Helios, i.e., Eclipse 3.6/EMF 2.6? In general, I'd suggest using the
Helios update site (Help->Install New Software...) rather than unzipping
downloads.
In terms of developing applications using it, I'm not sure if you added
the right bundle dependencies to make the libraries visible. What did
you do to try to make the libraries available in your projects?
moaad wrote:
> Hello,
>
> I'm trying to install the EMF model query plug-in. In the eclipse website
> http://www.eclipse.org/modeling/emf/downloads/?project=query
>
> I have download :
> * All-In-One Update Site
> * SDK (Runtime, Source)
> * Runtime
> * Examples
>
> // I don't know why there is 4 zip file ..??!!
>
> For the first one (All-In-One Update Site), I unzipped the file which
> contains a plug-in && feature folders. I opened the plug-in folder. I
> found 6 zip directories which I extract. then I moved the extracted
> directories to my eclipse plug-in directory. I did the same for
> feature folder. That how I learned to install plug-in. I did the same
> for all downloaded files.
> I restarted Eclipse, however when I try :
> import org.eclipse.emf.query; or org.eclipse.emf.query.conditions.*;
>
> I got an error message : eclipse doesn't recognize the packages and
> propose to create classes.....
>
> I tried a second method : I unzipped the file and automatically moved
> it to drop-in folder within eclipse directory. but I got the same result.
>
> Did I download the wrong files ?? or My plug-in installation method
> is wrong !!
>
>
> My objective is to create a model then send queries to obtain
> information that I need ( example : for a library : number of books
> with more than 500 pages...)
>
> So far, I haven't found any tutorial or website dealing with model
> query ??
> thanks in advance
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04155 seconds