Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Could not figure out how to create a mylyn query task
Could not figure out how to create a mylyn query task [message #1387945] Wed, 25 June 2014 20:34 Go to next message
Cedric Gava is currently offline Cedric GavaFriend
Messages: 53
Registered: July 2009
Member
Hello

I'am stuck with a fairly noob issue : how to create a mylyn query task ?

Tried to add it directly in the .setup file : got an error
(MylynQueriesTask class not known).

When I click on "show all ressources icon", I find a link to the
Mylyn.ecore, and the Oomph Mylyn.ecore model is visible (with the
required properties).

What do I miss

Thank you for your support

cedric


sooo lonely friends of eclipse on forum
http://www.eclipse.org/donate/images/friendslogo160.jpg
Re: Could not figure out how to create a mylyn query task [message #1388139 is a reply to message #1387945] Thu, 26 June 2014 03:33 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33113
Registered: July 2009
Senior Member
Cedric,

Oomph's repertoire of tasks are designed to be extensible and even the
tasks provided directly by the Oomph project use this same mechanism.
So the core setup model is designed to keep installation dependencies to
a minimum and tasks that have significant additional dependencies are in
separate models. Such extension models publish their dynamic Ecore
versions on the web so that instances can be processed dynamically
without the model implementation having been installed. So it should
be possible to author such tasks using the dynamic model (which is what
you're seeing in the resource set), but parsing such a *.setup requires
information in the xsi:schemeLocation of your *.setup (which you'll
notice is automatically in the serialization if you look at other
*.setup models). The models include enablement annotations for which
install units need to be installed and from where in order to have the
model implementation available. We also have open
https://bugs.eclipse.org/bugs/show_bug.cgi?id=437983 to make it easier
to authors such as yourself to discover which other task implementations
are available and to install them. In the meantime, it's easiest if you
install the Mylyn task feature from the Oomph update site. Note that in
the editor, when showing all resources you can find another setup, such
at Oomph.setup which already uses the task you're interested in, and can
drag and drop it to your own setup. This should be helpful for
correctly authoring such a task...

Hopefully you've noticed that you'll need to set the "Logical Project
Container" of your root Setup Project to point at the catalog where your
project wants to be, i.e., Eclipse.org or Github.com, and then in the
outline you'll see a "preview" of how your tasks will be executed. This
is particularly useful for seeing which variables are used, how they're
expanded, and whether there any undeclared ones.

On 25/06/2014 10:34 PM, cedric wrote:
> Hello
>
> I'am stuck with a fairly noob issue : how to create a mylyn query task ?
>
> Tried to add it directly in the .setup file : got an error
> (MylynQueriesTask class not known).
>
> When I click on "show all ressources icon", I find a link to the
> Mylyn.ecore, and the Oomph Mylyn.ecore model is visible (with the
> required properties).
>
> What do I miss
>
> Thank you for your support
>
> cedric


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Could not figure out how to create a mylyn query task [message #1389187 is a reply to message #1388139] Fri, 27 June 2014 13:03 Go to previous messageGo to next message
Eclipse UserFriend
Hello Ed

Thank you for your answer, which sounds to me as the old proverb : "give
a man a fish and you feed him for a day; teach a man to fish and you feed
him for a lifetime" ;)
Your information will help me to get better undestanding of Oomph, and
will get on it as soon as I can (which will not be before Sunday I
think).

I will probably ask you further questions after doing my homework
investigations.

Cheers
Cedric
Re: Could not figure out how to create a mylyn query task [message #1390658 is a reply to message #1389187] Sun, 29 June 2014 21:09 Go to previous message
Cedric Gava is currently offline Cedric GavaFriend
Messages: 53
Registered: July 2009
Member
OK : I figure out what I missed : I had not installed Oomph tools. I just
had a fresh install from Oomph installer.

Now I should ease somehow the creation of my user .setup

Cedric


sooo lonely friends of eclipse on forum
http://www.eclipse.org/donate/images/friendslogo160.jpg
Previous Topic:Import projects from Git repository into the workspace
Next Topic:Variables in targlet requirement versions?
Goto Forum:
  


Current Time: Thu Mar 28 21:01:53 GMT 2024

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

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

Back to the top