eclipseant

ant eclipse build.xml does not exist


I tried ant eclipse and I got the msg below.

Buildfile: build.xml does not exist! Build failed

Searching the net, some says build.xml is from ant and need to install but when I check ant -version, I am already on ant 1.9.7.

What do I need to do to make ant eclipse work? I have already installed eclipse 3.8.


Solution

  • When you write "ant" to command prompt it may not work so if you know where is your build.xml file, you should write the path in command prompt and open it. Then it works, if you dont have build.xml file, you should create it with your project then open it by writing specific path in command prompt.

    For example: build.xml is here in my computer:

    D:\Code\den\java\condentry\build.xml