I just got the book today and it looks like i’m going to have to change ide to use the apache ant plugin. I currently use JCreator, but there’s no mention of integrating Ant or getting a plugin for my IDE. Does anyone know how to integrate it, or would it be easier getting NetBeans or Eclipse to run it on?
why would you need to use the “ant”? the java code in the book will work on every ide.
I don’t truthfully know, but his site about the book says this:
Download source code
These packages include source code and any resources (graphics, sounds, scripts, etc) needed to run the examples.
Requires Apache Ant 1.5 to compile. Ant is either directly integrated or available as a plugin for several free/open source editors and IDEs, including jEdit, NetBeans, and Eclipse.
So i’m thinking you need to get it, though there’s no mention of integrating it for the ide i use.
you don’t need it but it will make use of some of the things he has done. but in reality they’re not necessary as it’s only to do with scripting some things for a game (i think, but i’ve managed to get pretty far and i don’t use ant)
Ok thats good enough for me then. I’ll see how far I get before I need it.
Thanks
You should learn to use Ant anyway, it’s a great tool that can save you loads of time on repetitive tasks.
Ant will make compiling his code extremely easy. I’d recommend installing ant. To compile any of the examples in his book just type -
ant
from the command line and voila! You’ll get everything compiled. Some ant projects allow you to do -
ant run
And it will launch the demo/game as well.
Remember to run ant from the directory where the build.xml file is located. You don’t need to know anything about ant to use it in this way.
Regards,
Dr. A>