Community
Participate
Working Groups
One should be able to run external tools (especially ant) asynchronously so that the IDE isn't useless during long running tasks. Instead of a progress dialog, just print output to Log Console and have an animated running icon embedded somewhere in in the Console's UI, along with a kill button on the Log Console toolbar. Its unreasonable to expect that users don't want to do other things in the same IDE while running a lengthy build process, e.g. edit code in unrelated projects to the one you are building
moving to Platform-UI
Supporting this would be very nice, but it is not a stop-ship problem.
*** Bug 19460 has been marked as a duplicate of this bug. ***
Running an external tool like Notepad should not block the UI, and does not need a progress monitor.
*** Bug 19207 has been marked as a duplicate of this bug. ***
Post 2.0.
As a workaround, on Windows you can do: - create a new external tool - for its location, use: c:\windows\system32\cmd.exe - for its arguments, use: /C start yourprogram The cmd will exit as soon as it has finished starting yourprogram, unblocking Eclipse.
Work around for Linux: - Create a new shell script called tool.sh containing the text #! /bin/sh yourprogram $@ & - Set the appropriate executable bits using the shell and chmod - Create an external tool that runs tool.sh The tool.sh file is necessary since External Tools isn't great at handling spaces on Linux, and doesn't do all the command line parsing that the shell does.
To be included in 2.0.1
Fix in 2.0.1 code stream. New bug 22393 was open to port this fix to 2.1 stream.