Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I run multiple eclipse launch files sequentially?

Tags:

eclipse

Here's an example scenario

I have three launch files named A, B, C. I want B to run after A finishes and C to run after B finishes.

Currently if I run A which takes a lot of time and run B immediately afterwards B starts executing in parallel with A.

Please help

like image 506
coder11 Avatar asked Oct 03 '13 07:10

coder11


2 Answers

Run Configurations -> Launch Group.

There you can add launch configurations and order them too! Found it here

For sequentially running remember to select Post launch action: Wait until terminated

like image 134
coder11 Avatar answered Sep 28 '22 16:09

coder11


I would suggest creating a script (bash/Powershell/Ant/whatever) and setting up a single External Run Configuration for that.

Simply call A, when it finishes run B and C with forking.

like image 32
rlegendi Avatar answered Sep 28 '22 15:09

rlegendi