PDA

View Full Version : Book: Programming games in Java...



Gimmpy224
11-23-2007, 12:04 AM
I cant for the life of me wrap my head around how I am supposed to get these games to execute...

http://www.brackeen.com/javagamebook/#errata

that site is where all the code in the book is. They are supposed to use Ant, so I downloaded NETBeans to try to not have to figure out how to set ANT up, but as of right now I dont understand whats going on...

How so I get these files to execute?

Does anyone know of a really good tutorial for using Ant or somewhere I should start before attempting to use Ant?

please help!

Heretic
11-23-2007, 05:20 PM
I don't use netbeans, so I'll just point you in the general direction of their FAQs and such. From what I can tell, Netbeans has Ant detection/building built-in, so you shouldn't need to do much.

Check here for building using the Ant script:
http://www.netbeans.org/kb/55/using-netbeans/building.html

More netbeans tutorials:
http://www.netbeans.org/kb/index.html

Some more general info about the build.xml file:
http://wiki.eclipse.org/FAQ_What_is_the_use_of_the_build.xml_file%3F

Gimmpy224
11-23-2007, 09:36 PM
excellent ill get to reading :D ty.

And ya I usualy use JCreator, but when I saw NetBeans used ANT I too figured I wouldnt need to do much, so I thought why not cut out the middle man lol.