|
Re: How do I develop/debug an oomph setup Task [message #1798635 is a reply to message #1798630] |
Wed, 21 November 2018 12:44 |
Ed Merks Messages: 33141 Registered: July 2009 |
Senior Member |
|
|
Peter, if you're trying to enhance MavenImportTask, it would seem best that you provision the same development environment we use for Oomph:
https://ci.eclipse.org/oomph/
With your Eclipse account you will be able to commit changes to Gerrit for review. Be sure to choose a read/write Gerrit URI for cloning the repository. This process makes it very easy for us to track, review, and accept your changes.
For this change, I imagine you need to modify the Ecore model /org.eclipse.oomph.setup.maven/model/Maven.ecore to add some additional attribute to the model. Then open the *.genmodel to regenerate the code. Then finally in MavenTaskImportImpl you'd add whatever logic is needed to set the profile(s) using during import.
The setup includes launchers to launch the installer, to launch a runtime workspace and even one to locally do a Maven build (which is useful if you launch the installer so that it installs your locally build updated versions of Oomph). You can remote debug the launched installation too, but it is easier to debug things in a runtime workspace. You can always use Navigate -> Open Setup -> Workspace to create task that will perform in the runtime workspace so you can follow the logic in the debugger...
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.02909 seconds