[Closed] Tutorial: Creating custom setuptask? [message #1722926] |
Wed, 10 February 2016 10:41 |
|
Hello everybody,
I intend on creating my own setuptask. At the moment I try to follow the structure of the Git Task (org.eclipse.oomph.setup.git ). I have an ECore model and generated my tasks. But it all feels like flying blind since I absolutly have no idea what purpose different structures serve.
Is there some kind of tutorial on how a custom setup task can made and integrate into oomph?
Thanks in advance
[Updated on: Tue, 23 February 2016 11:31] Report message to a moderator
|
|
|
|
|
Re: Tutorial: Creating custom setuptask? [message #1723058 is a reply to message #1722941] |
Thu, 11 February 2016 10:20 |
|
So I (think that I) created my own SetuTask now. How can I with the Eclipse installer or the Setup-Development in Eclipse (i.e How can I tell Eclipse that I would like to add this new Task to a setup file)?
Do I export them via JAR-File or as "Deployable plug-ins and fragements"?
Is there a folder where I can drop the jar files?
Thanks in advance
[Updated on: Thu, 11 February 2016 10:37] Report message to a moderator
|
|
|
Re: Tutorial: Creating custom setuptask? [message #1723064 is a reply to message #1723058] |
Thu, 11 February 2016 10:50 |
Ed Merks Messages: 33137 Registered: July 2009 |
Senior Member |
|
|
Steffen,
If you launch an IDE with your task extension installed, e.g., a debug
launch from your development environment, your derived task should be in
the list of tasks you can create. Of course to deploy your extension
and have other people be able to use it, you need to consider a number
of other issues. For example, you'll need to ensure that your Ecore
model is published somewhere accessible on the web (i.e., that it has a
public schemaLocation) so that dynamic instances can be properly
created. The Ecore model itself should be annotated so that the
installer will know the location of the p2 update site where the
implementation of the model can be installed, and the installable unit
ID that needs to be installed for that purpose; this is the reason for
all those values in the wizard. Note that if your Ecore model were
registered in the Index, i.e., in "org.eclipse.setup", your extended
task would be listed in the "Additional Tasks" submenu.
On 11.02.2016 11:20, Steffen Holzer wrote:
> So I (think that I) created my own SetuTask now. How can I with the
> Eclipse installer or the Setup-Development in Eclipse (i.e How can I
> tell Eclipse that I would like to add this new Task to a setup file)?
>
> Thanks in advance :)
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
|
Re: Tutorial: Creating custom setuptask? [message #1723283 is a reply to message #1723274] |
Sat, 13 February 2016 10:34 |
|
Ed,
Thank you. That did it. Maybe the problem was also that I only executed the "generate model code" and forgot the "generate edit code"
Thanks for your help
[Closed]
"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live" - John Woods
|
|
|
Powered by
FUDForum. Page generated in 0.03752 seconds