|
Re: Create project setup task [message #1563684 is a reply to message #1562439] |
Wed, 14 January 2015 10:38 |
|
<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&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 117 times)
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.03852 seconds