Sign in to follow this  
metallicsoul92

Got a question about Ant

Recommended Posts

metallicsoul92    136
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

Share this post


Link to post
Share on other sites
rip-off    10976
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.

Share this post


Link to post
Share on other sites
rip-off    10976
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this