2

Does anyone know if it's possible in Eclipse, to execute a script/function/anything right before launching my app in debug? There only seems to be a few options - after clean, during a clean, during manual builds, during auto-builds

I want to execute an external tool (rsync) so I can make sure my assets are up to date before running.

Cheers,

Shane

Shane
  • 3,051
  • 3
  • 40
  • 45

2 Answers2

1

Eclipse CDT provides special launch configuration type (Launch Group), which you can use to group several launch configurations (included External Tools) to be executed either sequentially, parallel or mixed. The drawback is that you need to have CDT installed in your Eclipse.

Update: There is similar question, which deals with launching multiple launch configurations.

Community
  • 1
  • 1
Danail Nachev
  • 19,231
  • 3
  • 21
  • 17
0

If you want to add the "Launch Group" feature onto an existing, not necessarily CDT, eclipse install, you can install just the plugin called "C/C++ Remote Launch". (org.eclipse.cdt.launch.remote) - it is not C/C++ specific.

Daan Broekhof
  • 549
  • 5
  • 9