Results 1 to 5 of 5

Thread: GANT examples and resources

  1. #1
    Join Date
    Jul 2010
    Posts
    23

    Default GANT examples and resources

    Hi
    Are there any good references for how to write Gant scripts for grails ? The Codehaus groovy reference is scant at best and there is really not anywhere else... any good links would be appreciated.
    thanks

  2. #2
    Join Date
    Jun 2010
    Location
    London
    Posts
    304

    Default

    Unfortunately not. Here's a useful starting point:

    Code:
    includeTargets << grailsScript("_GrailsEvents")
    
    target(default: "Prints a Hello world message") {
        ant.echo message: "Hello world"
        println "Hello world 2"
    }
    Put that into a scripts/HelloWorld.groovy file and a new 'hello-world' command will be added:

    grails hello-world

    I can answer more specific questions that you have.

  3. #3
    Join Date
    Nov 2009
    Location
    Boston,MA
    Posts
    8

    Default

    http://gant.codehaus.org has some information, albeit not great.

    Best bet is to download the Gant source and crack it open. It's actually a pretty simple wrapper around the AntBuilder.

  4. #4
    Join Date
    Jul 2010
    Posts
    23

    Default Thanks Guys

    Thanks guys. I will probably try and look at the source for more information

  5. #5
    Join Date
    Aug 2010
    Posts
    4

    Default

    hi there,well thanks mgivney for sharing this it was really helps me....

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •