[root]/proposal/myrmidon/src/java/org/apache/myrmidon/components/builder
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 109 (100.0%) | 1572 (100.0%) | 14.4 |
donaldp | 82 (75.2%) | 929 (59.1%) | 11.3 |
darrell | 11 (10.1%) | 325 (20.7%) | 29.5 |
adammurdoch | 14 (12.8%) | 307 (19.5%) | 21.9 |
sbailliez | 2 (1.8%) | 11 (0.7%) | 5.5 |
zappity zap
0 lines of code changed in:
* Added --type command-line option, which specifies which ProjectBuilder to use.
* Use ConvertingProjectBuilder for .ant files as well as .xml files.
36 lines of code changed in:
* Fixed a bunch of checkstyle violations (mostly
javadoc)
* Added basic javadoc target to build.
43 lines of code changed in:
* New ProjectBuilder which programmatically converts from Ant1 to Myrmidon
project, rather than using a stylesheet. (This is now the default builder for
".xml" files.)
* Removed xml-apis.jar and xalan.jar, and added jaxp.jar back in. Hopefully, this
will keep us out of avoid jar version hell.
* Added more stuff to the ${java.class.path} property available to ant1 tasks.
* Can now fully build Myrmidon using Ant1 compatibility layer. All test bar one
(Ant1CompatTestCase) pass when run using Myrmidon.
26 lines of code changed in:
* Added nested <condition> element to IfTask, to allow any arbitrary condition
to be used in <if>. Tests updated for new functionality.
* Ant1 conversion stylesheet uses nested <is-set> condition on <if>,
to replicate Ant1 behaviour of 'if=' and 'unless=' on targets.
* ant1compat antlib generated as part of standard build.
* Minor build cleanup: ${custom-tasks-dir} -> ${build.custom-tasks} for
consistency.
* Ant1CompatProject now uses ProjectHelper for property resolution, rather than
trying to duplicate Ant1 behaviour.
* Added tests for Ant1 Compatibility layer. These have been exclude from regular
build, as they fail when run under Ant1.4.1, because the JUnit task *always*
places ant.jar *first* in the JUnit classpath. Tests work under Ant1.5alpha,
since it adds ant.jar *last* by default. (Tests also function correctly by
invoking JUnit directly - or with Intellij JUnit integration).
143 lines of code changed in:
final static --> static final to follow JLS recomendations
10 lines of code changed in:
Converted remaining xdoclet tags from
ant:* --> ant.*
3 lines of code changed in:
First cut of Ant1 compatibility layer.
* TransformingProjectBuilder
- Performs an XSL transform on all ".xml" build files.
- Identity transform is used for projects with "version" attribute.
- Added xalan.jar to lib - replaced jaxp.jar with xml-apis.jar
* Compatibility Layer
- Described more fully in src/ant1compat/README.txt
- Uses pre-compiled Ant1 jar files for Ant1 code-base.
Insulates from changes in the main tree, and simplifies build.
- "ant." prefix used for all ant1 tasks
113 lines of code changed in:
Project Model:
* Removed "if" and "unless" conditions from targets.
* Moved parsing of "project->target" dependencies out of DefaultWorkspace,
into DefaultProjectBuilder.
* DefaultWorkspace now detects cycles in the target dependency graph.
* DefaultWorkspace now executes the implicit target for referenced projects.
* Changes to DefaultProjectBuilder error reporting.
* Added a few more test cases for DefaultProjectBuilder.
Unit Tests:
* Moved AbstractComponentTest.getLogger() up to AbstractMyrmidonTest.
* Removed AbstractComponentTest.setup(). Components are now created on demand.
* Use BasicLogger in unit tests.
82 lines of code changed in:
* Added NameValidator, to provide a reasonably flexible mechanism for
specifying/testing name validity.
* NameValidator is used by DefaultProjectBuilder for project and target
names, and by DefaultTaskContext for Property names.
* Added ProjectException, thrown by ProjectBuilder.build().
* Tidy-up error messages for project building errors.
* Added a bunch of tests
Submitted by Darrell DeBoer [darrell@apache.org]
137 lines of code changed in:
Fixed circular package dependency:
* Moved antlib.vfs.FileSelector to antlib.vfs.selectors
* Moved framework.Condition to framework.conditions
1 lines of code changed in:
Restructured the conditional tasks:
* Made framework.Condition an interface.
* Converted old framework.Condition into <is-set> condition.
* Ported all Ant 1 conditions to the new Condition interface, and removed
the old Condition and ConditionBase classes.
* Moved <and>, <or>, <not> conditions to framework.conditions.
* Moved <condition> task and <os> condition to antlib.
* Moved <available> to antlib. This is no longer a task, just a condition.
Removed all file checking, which will be done by other condition
implementations.
* Removed conditions from <fail>, as it can be wrapped in an <if> instead.
* A target can now take both an "if" and an "unless" condition.
15 lines of code changed in:
Decouple exceptions from CascadingException
5 lines of code changed in:
* Reorganised build to use new <antlib-descriptor> task.
* The "builtin" and "selftest" descriptors are now generated.
* Fixed ant-descriptor.template to handle @ant:type tag properly.
Submitted by Darrell DeBoer [darrell@apache.org]
3 lines of code changed in:
Start simplifying so that metrics task does not complain as much
52 lines of code changed in:
Ran style-formatter over codebase
2 lines of code changed in:
A project may now have a name attribute.
26 lines of code changed in:
Resolve path to referenced projects.
Fixed some Javadoc.
7 lines of code changed in:
Add version tags
5 lines of code changed in:
Style touchups
7 lines of code changed in:
(33 more)