|
||||||||||||||||||
Add Forum to Favorites | Send Topic To a Friend | View Forum FAQ | Track this topic |
Last Thread Next Thread ![]() |
| Got a question about Ant |
|
![]() metallicsoul92 Member since: 11/7/2009 From: Toms River, NJ, United States |
||||
|
|
||||
| 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? |
||||
|
||||
![]() rip-off GDNet+ Member since: 3/16/2005 From: Ireland |
||||
|
|
||||
| You generally don't build ant, just install it. How did you install it? blog |
||||
|
||||
![]() metallicsoul92 Member since: 11/7/2009 From: Toms River, NJ, United States |
||||
|
|
||||
| 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 |
||||
|
||||
![]() rip-off GDNet+ Member since: 3/16/2005 From: Ireland |
||||
|
|
||||
| Do you have a build.xml file for your project? I believe this is what ant searches for by default. blog |
||||
|
||||
![]() metallicsoul92 Member since: 11/7/2009 From: Toms River, NJ, United States |
||||
|
|
||||
| no i do not lol. thats probably why i cant. how do i get that? |
||||
|
||||
![]() rip-off GDNet+ Member since: 3/16/2005 From: Ireland |
||||
|
|
||||
| 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 |
||||
|
||||
![]() metallicsoul92 Member since: 11/7/2009 From: Toms River, NJ, United States |
||||
|
|
||||
| so does that mean i dont even need ant? |
||||
|
||||
![]() rip-off GDNet+ Member since: 3/16/2005 From: Ireland |
||||
|
|
||||
| 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 |
||||
|
||||
![]() metallicsoul92 Member since: 11/7/2009 From: Toms River, NJ, United States |
||||
|
|
||||
| ok, so to take off ant, just delete the enviornment variable? |
||||
|
||||
All times are ET (US)![]() |
Last Thread Next Thread ![]() |
|