At first I thought you were making a joke, but I now see that these are
serious people.  More info on this language can be found at
http://wiki.codehaus.org/groovy/FrontPage

-----Original Message-----
From: Peter Reilly [mailto:[EMAIL PROTECTED] 
Sent: Friday, December 12, 2003 9:54 AM
To: Ant Developers List
Subject: groovy and ant


Goovy is a new language. It looks like they have a nice
ant builder class:

        ant = *new* AntBuilder()

        /// lets just call one task
/        ant.echo(*"hello"*)
        
        /// here"s an example of a block of Ant inside GroovyMarkup
/        ant.sequential {
            echo(*"inside sequential"*)
            
            myDir = *"target/AntTest/"*
            
            mkdir(dir:myDir) 
            copy(todir:myDir) {
                fileset(dir:*"src/test"*) {
                    include(name:*"**/*.groovy"*)
                }
            }
            
            echo(*"done"*)
        }

from:
http://cvs.groovy.codehaus.org/viewcvs.cgi/groovy/groovy-core/src/test/g
roovy/util/AntTest.groovy?rev=HEAD&view=auto

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to