Got a question about Ant
how do you build it?
i installed it, i wanna build games through Java.
(Jagex is my Idol lol)
so yea, how do you build it?
put it in Program files, went to the enviornment variables, put : ANT_HOME in , then C:\programfiles\Ant, and then the JAVA_HOME in and put in C:\java\jdk(blah blah blah)
im using eclipse, and whenever i try to compile and use ant, it says: cannot find ant file to run
im using eclipse, and whenever i try to compile and use ant, it says: cannot find ant file to run
Do you have a build.xml file for your project? I believe this is what ant searches for by default.
Are you sure you even need ant then? Eclipse does a perfectly serviceable job of building your projects by itself. Custom build tools like ant and maven can be overkill for lone developers, particularly inexperienced ones. Not to say that they don't have advantages, just that they also bring complexity.
You can find sample build.xml files online, which you can adapt to your own project's needs.
You can find sample build.xml files online, which you can adapt to your own project's needs.
You don't need ant, no. Why do you want to use it? Technologies like ant have trade offs. You need to think about what are the pros and cons of using ant to build your project.
If you are a beginner, then I'd probably advise you to stick to eclipse's internal builder for the time being.
If you are a beginner, then I'd probably advise you to stick to eclipse's internal builder for the time being.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement