Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what is this ANT build?

Tags:

I am new to jav/Eclipse.

I installed eclipse and working on a JAVA 1.4 file using it as an IDE. I made my code changes and saved it and wanted to Run (cntr F11) or debub (F11) every time i am getting

 select what to run 
           Ant Build 
           Ant Build..

what is this Ant Build ? How to rectify /connect/ Ant Build?

Ant Build has turned a sort of raod block for me vis a vis running the file. How to Run my file with out getting Ant road blocks?

like image 982
vas Avatar asked Oct 15 '09 16:10

vas


1 Answers

I had the exact same problem, where when I clicked "Run" I would get a menu with options of "Ant Build" or "Ant Build..." -- even though I had a main method.

I finally got my program to run as normal when I copied and pasted my code into a new file in a new project folder. I deleted the old file altogether, along with its source folder.

When I created the new class, I selected the option "Use project folder as root for the sources and class files" instead of creating separate folders.

Then, when I clicked "Run", I got some peculiar output the first time that I didn't understand. The second time, however, I got all my programs running as they used to.

I'm not exactly sure what these actions did to solve the problem, as I, too, am a novice programmer. But I'm getting my information from http://www.daniweb.com/software-development/java/threads/199459/simple-java-applet-wont-run-on-eclipse#.

Hope this helps.

like image 197
user1577636 Avatar answered Nov 05 '22 15:11

user1577636