Dear Friends can some one educate me on ANT. Orion application server tutorial on EJB deployment says "For this purpose, I have written an Ant build file that will compile all the .java files and create the .jar, .war and .ear files for us." I am not able to fathom out what it means...any pointers??? Thanx in anticipation Sanjeev
If you have a large project with code for web server and app server and lots of properties files etc, which you want to treat as a single entity for deployment, then Ant can be used to do that. I havent learned how to use it yet, though.
It is definately worth the time to learn. I have moved all my projects over to Ant now, and no longer use the built-in build facilities of any IDEs, batch/script files or whatever. There are two tools which have greatly improved my productivity using Java, and they are JUnit and Ant. Both are free and Open Source, and I would recommend anyone who wants to write good, reliable java code, fast, to spend a few days learning how to use them.
I would agree, Ant is an excellent tool to use instead of built-in IDE make/build options. By configuring its XML based configuration file you can seamlessly integrate these procedures into your projects. IDE'S like JBuilder - which is a very good tool in itself - have Ant integration capabilities, so you can run it from within the IDE. JUnit too is an excellent tool that must be used if you want to write bug-free efficient code. It is a unittesting utility that is so easy to use and so effective. Download and learn them today.
Joined: Jun 12, 2000
Ant can be used to build release on different platform . Ant is completeley written in java which is another solotion for cross platform Learning ant is easy you can master the ant within minutes.