Eclipse Ant suddenly throwing up weird dialog instead of running
posted 10 years ago
Since yesterday afternoon, when I try to run an Ant target, a small dialog pops up titled "Ant configuration selection". There's a message saying "choose an Ant configuration to run". The dialog offers two identical choics, which are the name of my project, followed by the name of my build file, followed by "(1)" and "(2)".
This is in Eclipse 3.3.1, build ID M20050929-0840 on Windows 2000.
What is going on here? Is there a way to stop this from happening and just get Eclipse to run the build target?
You get these when you use the "Ant..." build option. Basically each one (potentially) adds a different build environment such as maybe different "-D" options and/or classpath info that you would have set in the dialog.
I kind of wonder if there isn't a bug that causes redundant versions to get constructed on the affected release(s), since it never used to be that noticable and it appears to build new ones even if you don't customize anything.
You can delete the extras from the "tools" menu. In the mean time, just pick one from the dialog and build and you should be OK.
An IDE is no substitute for an Intelligent Developer.