I am trying to get a simple "Hello, Gant!" Gant build up and running. I just downloaded & extracted the 1.9.10-Groovy-2.0.0 version and am trying to create a build that defines a single greet task. When greet executes, it prints a "Hello, Gant!" message to STDOUT.
Specific questions:
- How do I "install" Gant? Do I need to define any env vars, like
GANT_HOME, and then put%GANT_HOME%\binon the systemPath, etc.? - What do I name my Gant buildscript? Anything I like, such as
HelloGant.groovy? - How do I run a
greettask, defined inHelloGant.groovy, from the command-line?
re: install. Yes, the install is typical. Define
GANT_HOMEand placeGANT_HOME/bininPATHThe typical Gant build file is
build.gant. Here is an example that is not the default:Here is an example execution: