Home » Community » Forums » For Beginners » Got a question about Ant
  Intel sponsors gamedev.net search:   
[Control Panel] [Register] [Bookmarks] [Who's Online] [Active Topics] [Stats] [FAQ] [Search]

Add Forum to Favorites |  Send Topic To a Friend | View Forum FAQ | Track this topic


 Last Thread Next Thread 
 Got a question about Ant
Post New Topic  Post Reply 
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?

 User Rating: 1000   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

You generally don't build ant, just install it. How did you install it?


blog

 User Rating: 1920   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

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

 User Rating: 1000   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

Do you have a build.xml file for your project? I believe this is what ant searches for by default.


blog

 User Rating: 1920   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

no i do not lol. thats probably why i cant. how do i get that?

 User Rating: 1000   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

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.


blog

 User Rating: 1920   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

so does that mean i dont even need ant?

 User Rating: 1000   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

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.


blog

 User Rating: 1920   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

ok, so to take off ant, just delete the enviornment variable?


 User Rating: 1000   |  Rate This User  Send Private MessageView Profile Report this Post to a Moderator | Link

All times are ET (US)

Post Reply
 Last Thread Next Thread 
Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
You may not use HTML in your posts
Jump To:
Administrative Options: