[root]/groovy/groovy-core/src/main/groovy/ant
Minor refactor - moved the AntBuillder and GroovyMBean classes into the groovy.util package to make the groovy APIs simpler to use.
Also cleaned up the javadoc somewhat ensuring there's a package descriptor for each package
0 lines of code changed in:
Numerous changes.
* tidied up the closure methods - added many new helper methods such as for iterating over files by line
* added a Swing builder together with some MVC models to make creating Swing UIs in Groovy really simple
* various things tidied up and more unit test cases
* return statement is now optional
1 lines of code changed in:
* added SAX and Markup builders for easy creation of SAX events or XML / HTML markup
* added tree navigation methods to Node.
node.depthFirst().each { n | n.println() }
* added times() method to numbers for easy looping
* added join() method to collections for easy string concatenation
* fixed some bad exception stack traces when methods fail
* refactored the groovy packages into util
* nearly implemented while & do/while - just need a few bugs fixed
1 lines of code changed in:
Okay, borked something trying to get named-parameters+closure but borked
something along the way. Dunno what.
Trying to pass, now:
TupleExpression( MapExpression, Closure )
for your wacky closure sugar, but it ain't wanting to play friendly.
So, I think non-named work, named seem to maybe work, but the closure is
getting lost? AntBuilder is getting a request for a 'doCall' datatype
which is clearly wrong.
Anyhow, b0rked. Offline soon. Pass the hot potato.
1 lines of code changed in:
Added an AntBuilder which scripts Ant tasks from inside a Groovy script.
Pretty neat - though I'm sure there must be a simpler way of invoking Ant tasks
0 lines of code changed in: