|Could not figure out how to create a mylyn query task [message #1387945]
||Wed, 25 June 2014 16:34
| Cedric Gava
Registered: July 2009
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
What do I miss
Thank you for your support
sooo lonely friends of eclipse on forum
|Re: Could not figure out how to create a mylyn query task [message #1388139 is a reply to message #1387945]
||Wed, 25 June 2014 23:33
| Ed Merks
Registered: July 2009
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:
> 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
Powered by FUDForum
. Page generated in 0.02250 seconds