Yea I saw the sticky, I just didn't know if was a C/C++ specific issue.
CDT Post: http://www.eclipse.org/forums/index.php?t=msg&goto=64733 3&S=7825d3393bafcbed8f3c21ce4766dfa0#msg_647333
The solution I ended up with was to make a new builder that ran a batch file to terminate the application.
set sourceDir="%~p0"
set sourceDir=%sourceDir:\=;%
set sourceDir=%sourceDir: =:%
for /F "tokens=* delims=;" %%i IN (%sourceDir%) DO call :lastDir %%i
goto :EOF
:lastDir
if "%1"=="" (
set dirName=%dirName::= %
goto :terminate
)
set dirName=%1
SHIFT
goto :lastDir
:terminate
set "exeName=%dirName%.exe"
set exeName=%exeName: =_%
taskkill /F /IM "%exeName%"
Based on:
http://stackoverflow.com/questions/280969/windows-batch-loop -over-folder-string-and-parse-out-last-folder-name
One downside is that you have to put the script in each project directory.
[Updated on: Wed, 05 January 2011 11:50] by Moderator