[root]/groovy/groovy-core/src/main/org/codehaus/groovy/ant
| Author | Changes | Lines of Code | Lines per Change |
|---|---|---|---|
| Totals | 45 (100.0%) | 2338 (100.0%) | 51.9 |
| jstrachan | 14 (31.1%) | 785 (33.6%) | 56.0 |
| jez | 4 (8.9%) | 708 (30.3%) | 177.0 |
| blackdrag | 6 (13.3%) | 347 (14.8%) | 57.8 |
| glaforge | 8 (17.8%) | 303 (13.0%) | 37.8 |
| mguillem | 1 (2.2%) | 83 (3.6%) | 83.0 |
| hmeling | 1 (2.2%) | 50 (2.1%) | 50.0 |
| cstein | 2 (4.4%) | 21 (0.9%) | 10.5 |
| russel | 1 (2.2%) | 16 (0.7%) | 16.0 |
| cpoirier | 1 (2.2%) | 12 (0.5%) | 12.0 |
| dierk | 1 (2.2%) | 7 (0.3%) | 7.0 |
| bob | 2 (4.4%) | 3 (0.1%) | 1.5 |
| paulk | 3 (6.7%) | 2 (0.1%) | 0.6 |
| galleon | 1 (2.2%) | 1 (0.0%) | 1.0 |
GroovyDoc tweaks
1 lines of code changed in:
Added initial implementation of Groovydoc
Java and Groovy files are read into a tree of value objects from GroovyDoclet API ( org.codehaus.groovy.groovydoc.* )
This tree is then used to generate root, package and class level template renderings
using the GStringTemplateEngine.
The default templates are included within the base groovy jar, so groovydoc can be used 'fresh out of the box'
use from ant:
<taskdef name="groovydoc" classname="org.codehaus.groovy.ant.Groovydoc">
<groovydoc sourcepath="${src.dir}"
destdir="${groovydoc.dir}"
packagenames="${groovydoc.packages}"
use="true"
windowtitle="groovydoc"
private="true"/>
I hope people will enjoy these classes, and I invite you to come and put some flesh onto this skeleton implementation.
Limitations:
- class html files only lists method summaries so far
- comments are not treated properly yet
- groovydoc ant task has only very basic parameters so far
Cheers
Jez.
289 lines of code changed in:
JAVADOC: remove some warnings
0 lines of code changed in:
typo in comment
1 lines of code changed in:
Ant builder changes from GROOVY-1506
1 lines of code changed in:
GROOVY-1486: allow to specify a classpath for the <groovy> ant task
83 lines of code changed in:
corrected newlines and copyright
1 lines of code changed in:
removes the xerces parser from the given classpath. This is needed as the parser used by ant to call this task and a parser inside the executed task may conflict due to a class duplication. The result is a class cast exception, for the Xerces class.
3 lines of code changed in:
GROOVY-1335 and GROOVY-824: AntBuilder doesn't instantiate Tasks the Ant way
7 lines of code changed in:
correct Ant task too chatty (JIRA-1266)
1 lines of code changed in:
this commit contains the reimplementation of the scoping. The complete scoping is removed from the ACG. Additionally some code from the ACG is transfered in a Helper that manges labels, scopes and variable creation in a stack. All checks from JSRVariableScopeCodeVisitor are transfered into the ClassCompletion verifier or the new VariableScopeVisitor. Additionally some checks for labels were added with the LabelVerifier. ACG was changed so a DeclarationExpression will no longer create a local variable and if a variable is a filed or protperty accessed from inside a closure ACG will no longer try to access that field directly. Instead the closure has to resolve these cases at runtime.
Note: this commit should pass the tests but is imcomplete due to missing tests.
4 lines of code changed in:
GROOVY-1094: applying patch from Kenji Nakamura to use the "root.maven" classloader for GroovyShell in the Groovy Ant task when it's used within Maven.
25 lines of code changed in:
this committ removes the class org.codehaus.groovy.ast.Type completely and transferes its functuanality to ClassNode and ClassHelper. A ClassNode can now be a primitive type or any other type created with an class file available. ClassNodes can now be primary, which means they are the a result of a class definiton in a file - unlike a ClassNode created from a Class. All phases till actual class creation should work on ClassNode instead of Class. So all Class handling code in ACG is transformed to ahndle ClassNode instead. A ClassNode can contain a redirect now. This is used when multiple names point to the same ClassNode. This mechanism was used instead of a replacing like with the Type class. This was needed because all class resolving code is transfered into a single phase right after creation of the groovy ast and to avoid creation of huge amounts of code to replace a ClassNode in statements and expressions.
The Compiler is now able to enqueue source files. This means when ever a compiler phase found out it is necessary to compile another source file it can put this file into the compiler using the addSource method of CompilationUnit and leave the rest to the compiler. The compiler will then go back to the initialization phase and proceed to the goal phase ignoring all already handled files but the new added file.
0 lines of code changed in:
Removed non-ascii char
2 lines of code changed in:
enables you to set a RootLoader as reference for usage by taskdefs
155 lines of code changed in:
GROOVY-1020: Improve error reporting in the "groovy" Ant task
57 lines of code changed in:
Added support for 'stacktrace' option to the groovyc ant task.
Fixed classloader issue when compiling with groovyc ant task; the AntClassLoader
seems to exclude 'directory' entries in the classpath provided to the task. This
could be a bug in Ant, but this fix provides a workaround for the problem.
50 lines of code changed in:
Fix for GROOVY-964: project properties delegate to access dynamically defined Ant properties
170 lines of code changed in:
Organized imports, e.g. removed not used ones, expanded all "x.z.*" to the long form reading "x.z.A" and "x.z.B" (as needed).
Removed trailing semicolons.
Made some static method calls use the static class name.
21 lines of code changed in:
Upgrading from ASM 1.5.2 to ASM 2.0
16 lines of code changed in:
(22 more)