tags:

views:

162

answers:

3

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?

+1  A: 

You can use Ant to build your project, generate docs from inline javadocs, check for coding standard violation, run tests and such. You can use it with a version control system and/or continous integration system together.

Apache Ant
Cruise Control ci system

erenon
So do i need to install Ant ? or is there a way it can be run my java file without "Ant Build"?
vas
you can compile your java file with gcc, or anything else you prefer. Ant is just an excellent tool for you, but not at the level of your knowledge.
erenon
I think the author is confused with the message s/he is getting from Eclipse IDE.
Alexander Pogrebnyak
+2  A: 

The Java file needs a main method for eclipse to offer you the option to run as a Java application. Otherwise it gives other options such as run on server or run as Ant build and so on.

whatnick
oh i see ...currently i am using "run/cmd" ...D:/...javac test.java" to execute my java file. This is very tedious so using eclipse how to give /link the "main java method"?
vas
+1  A: 
Tracy Probst