Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Create project setup task
Create project setup task [message #1562439] Tue, 13 January 2015 18:08 Go to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 291
Registered: March 2013
Senior Member
Is this possible and exists any tutorial how plugins can register additional setup tasks and project setup models?

For example setting PHP Version on project.


Re: Create project setup task [message #1563684 is a reply to message #1562439] Wed, 14 January 2015 10:38 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Dawid,<br>
<br>
We offer a New Wizard for creating "Setup Task Extensions" from a
template:<br>
<br>
<img src="https://www.eclipse.org/forums/index.php?t=getfile&amp;id=20433" alt=""><br>
<br>
IIRC., the wizard is available if you provision a workspace with/for
the Oomph project itself. If you wait for another 15 minutes the new
"Oomph Setup UI IDE" feature should become visible in
<a class="moz-txt-link-freetext" href="http://download.eclipse.org/oomph/updates/latest">http://download.eclipse.org/oomph/updates/latest</a> (see bug 457432).
You'll need the EMF SDK installed, too.<br>
<br>
The wizard creates three skeleton plugin projects for you. If your
new task is called "DoThis" you'll find a "DoThisTaskImpl.java" file
in the created model plugin. You'll need to implement at least the
isNeeded() and perform() methods.<br>
<br>
Custom tasks (and other EMF EClasses) are discoverable through the
main index.setup file that we maintain at Eclipse.org. If you'd like
to make your task implementation available to others through our
index file please open a bugzilla. Otherwise you may want to
maintain your own index file.<br>
<br>
Plugins cannot register (project) setup models. Project models must
be registered in a project catalog, which, in turn, is registered in
our (or your own) index file. For creating a project setup file
please use the "New Project Setup" wizard that we provide. It
creates an initial XYZ.setup file in an existing workspace project.
You can edit that file with the Oomph Setup editor and finally drag
it onto a project catalog on the second page of the Oomph Installer
(advanced mode, second page "Projects") to be able to select it test
if you can provision a workspace for your new project successfully.<br>
<br>
I hope this helps and I would appreciate if you tell me how it goes
;-)<br>
<br>
Cheers<br>
/Eike<br>
<br>
----<br>
<a class="moz-txt-link-freetext" href="http://www.esc-net.de">http://www.esc-net.de</a><br>
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a><br>
<a class="moz-txt-link-freetext" href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a><br>
<br>
<br>
<br>
<div class="moz-cite-prefix">Am 13.01.2015 um 19:08 schrieb Dawid
Pakula:<br>
</div>
<blockquote cite="mid:m93mu5$g96$1@xxxxxxxxe.org" type="cite">Is
this possible and exists any tutorial how plugins can register
additional setup tasks and project setup models? <br>
For example setting  PHP Version on project.
<br>
</blockquote>
<br>
</body>
</html>
  • Attachment: cgjihefe.png
    (Size: 25.27KB, Downloaded 111 times)


Previous Topic:[Perform Setup Tasks] Manual tasks is empty
Next Topic:How to update the bundle pool meta data?
Goto Forum:
  


Current Time: Thu Apr 25 14:32:12 GMT 2024

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

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

Back to the top