Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Setup Task Development(How to debug and unit test the task)
Setup Task Development [message #1790968] Wed, 20 June 2018 17:51 Go to next message
Matthias Fromme is currently offline Matthias FrommeFriend
Messages: 22
Registered: December 2011
Location: Germany
Junior Member

I'm currently developing a setup task for using a code versioning system used in my company.
Now that i have the basic functionality up and running, I am wondering about debugging and unit testing my setup task.
So the question is, how to execute/debug the setup task from my eclipse IDE without having to deploy it and execute the setup model from the installer, since this is very time consuming.


[Updated on: Wed, 20 June 2018 17:59]

Report message to a moderator

Re: Setup Task Development [message #1790975 is a reply to message #1790968] Wed, 20 June 2018 20:05 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31494
Registered: July 2009
Senior Member
We use two approaches to debug/test things. Mostly it's all manual. The simplest is to do a debug launch of an Eclipse instance and run the tasks where, e.g., create the task in the workspace.setup and then do a perform. For more complex things, we do a local Maven/Tycho build to produce an update site with the tasks, and then launch the installer with a redirection to use the local update site. If the task don't run in the installer but in the launched IDE, we can do a remote debug of the launched application to debug the behavior of the task; this is the most complex and time consuming approach. We have most of those launchers committed so you can see how we debug the Oomph stuff...

Ed Merks
Professional Support:
Previous Topic:Can't install eclipse with installer -
Next Topic:Disable "Launch Automatically" Automatically
Goto Forum:

Current Time: Thu Oct 01 20:37:45 GMT 2020

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

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

Back to the top