Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to launch LaunchConfigurations sequentially ?
How to launch LaunchConfigurations sequentially ? [message #646453] Fri, 24 December 2010 11:51
No real name is currently offline No real nameFriend
Messages: 1
Registered: December 2010
Junior Member
Hi,

we use the LaunchManager to launch Configurations programmatically.

Now we need to launch two workflows sequentially, e.g. wait for the first to finish until the second one is launched.

How can we accomplish this ?

mILaunchMgr = DebugPlugin.getDefault().getLaunchManager();

ILaunchConfigurationType configType = 
			mILaunchMgr.getLaunchConfigurationType("org.eclipse.pde.ui.RuntimeWorkbench");


ILaunchConfigurationWorkingCopy wc = configType.newInstance(null, "(ECL_LAUNCH");		

wc.setAttribute("append.args"		, true);
wc.setAttribute("askclear"			, true);
wc.setAttribute("automaticAdd"		, true);
wc.setAttribute("automaticValidate"	, false);
...
...

ILaunchConfiguration mILaunchConfiguration = wc.doSave();	
mILaunchConfiguration.launch("run",null);

Previous Topic:PropertySheet clears when maximized
Next Topic:how to save all project specific info of eclipse
Goto Forum:
  


Current Time: Thu Apr 25 21:08:55 GMT 2024

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

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

Back to the top