nikil shar wrote:
my comment on using ecllipse was to show i didnt write the build script, it was autogenerated by eclipse thats why i dont really understand why its throwing the 'build failed' error below.
This while we say - not so jokingly - that the best
IDE to learn programming with is Windows Notepad. When stuff gets generated for you by "magic", you'll have no clue as to what's wrong.
And far worse, I've seen a lot of projects out there where people were doing things that "worked", but not very well, precisely because they didn't know what was going on.
Make is the program I used to use before I adopted
Ant. It was originally designed for Unix systems and its primary use is to build applications in C or C++. although, like Ant, it can build almost anything. The main difference between make and Ant is that Ant has a better understanding of how to build
Java projects.
You probably have the Eclipse CDK installed. The CDK is the C developer's Kit, and it does for people working on project in C/C++ what the Eclipse Java Developer's Kit does for people working in Java. In this particular case, it appears that the IDE has constructed an Ant script which (possibly amoung other things) wants to build modules using the make utility.
Make, however, isn't included with the CDK. That's because it's normally part of the C developer's toolset for that particular platform. Actually, "make" is only one of several such programs. There's "gmake" that the GNU projects are usually built with, and I think that the Microsoft developer platforms have had both an "nmake" and and nmk. All these programs are a lot alike, but they do have critical differences, as well.
But the most important thing is that if you have a Java project and your Ant script wants to run make. you did something terribly wrong. Because it thinks you're trying to compile and like non-Java code and it built the build.xml to make it do so.