Community
Participate
Working Groups
When running an Ant script that will take a long time to execute, a ProgressMonitorDialog is opened. However, the progress indicator inside the dialog fills up completely almost immediately, and does not accurately reflect how long the Ant script will take to run.
I created an external tool to run the UI tests multiple times, and also got unexpected behaviour from the progress indicator. The UI tests need to open 3 Eclipse workbenches in sequence. During the first run, each workbench that got opened resulted in the progress indicator filling about 1/3 of the way, and looked full at the end of the first run. However, the external tool specified that the tests were to run at least 3 more times, which amounts to invoking 3 more targets in the Ant script. Note, the behaviour seen in this case for the first test run is not the same as encountered when tring to run the tests only once. When running the tests once, the progress indicator fills up almost immediately, not by thirds for each workbench opened.
Adam, With the latest external tool support, we are using passing the monitor to ant.core so it should reflect better the work to be done. Can you try this out and let me know.
This was fixed in the 2.0 stream