Writing your first Gant file
Writing a Gant file
Assuming that you have installed Gant go to the Gant download page if you haven't then the first thing to do is sanity check the install.
Gant files are Groovy files so our first line can just be a "Hello World" line.
Create a file called build.gant. In it put the following line:
println 'Hello world'
Now run gant at the command-line and if everything works out you should see Hello World and a message that no default target has been set.