How can I make IDEA IGNORE the project's path settings, and ONLY use the ant build settings for building, running, and debugging?
I would like to be able to click on a .java source file with a main() and click the "run" or "debug" menu item, and have IDEA use the build.xml file to locate the classes, libraries, etc. Right now, I can create an ant task to run the application after it is built from within ant, but this is external to IDEA. I can't debug it, nor can I run it within IDEA. I've read the ant how-to about 100 times, and searched these forums for 2 hours now, and I see other people have asked the same type of question but don't seem to get answers.
I don't understand the "Execute On" pop up menu some people have mentioned; how will that help to execute an ant task before, or after I compile in IDEA? I don't want to compile in IDEA at all! Also, selecting the "Before Run/Debug" doesn't seem to solve the problem either, because IDEA can't find the classes, because it's looking in the project paths not the paths in the build.xml file.