I, and at least one other developer, have experienced problems when
killing Wookie invoked with 'ant run' on Windows. The problem is the
Java process is often left executing and so a subsequent 'ant run'
fails.

You can kill the process with Task Manager but as we're working from a
command line it make sense to use 'taskkill' which appeared in Windows
XP

  taskkill /F /FI "imagename eq Java*"

(the assumption is there is a single task that matches the filter)

I'm running from GIT bash which switches the option switch from / to -
and using the || (or) operator means you don't even need to use the
command history

 ant run || taskkill -F -FI "imagename eq Java*"

As Ross points out, normally you don't need to restart Wookie so won't
need this fix.

Steve Lee
Programme Leader (Open Accessibility)
OpenDirective http://opendirective.com

Reply via email to