[root]/proposal/myrmidon/src/java/org/apache/myrmidon/framework/conditions
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 35 (100.0%) | 51 (100.0%) | 1.4 |
adammurdoch | 18 (51.4%) | 40 (78.4%) | 2.2 |
donaldp | 17 (48.6%) | 11 (21.6%) | 0.6 |
zappity zap
0 lines of code changed in:
final static --> static final to follow JLS recomendations
3 lines of code changed in:
Condition changes:
* Split <is-set> into <is-set> and <is-true> conditions. <is-true> uses the
converter to determine whether something is 'true', so is a little fussy.
* Moved <uptodate> and <equals> into antlib, and made <uptodate> a condition.
* Added <type-available> condition, which checks whether a particular
type is defined.
* Fixed <not> to actually work.
* Added test cases for some of the conditions.
21 lines of code changed in:
Converted remaining xdoclet tags from
ant:* --> ant.*
4 lines of code changed in:
Renamed testcases hierarchy to test
2 lines of code changed in:
Ran IDEA's optimise imports.
5 lines of code changed in:
Ran IDEAs new audit features across codebase to pick up a few anomalies
2 lines of code changed in:
Fixed circular package dependency:
* Moved antlib.vfs.FileSelector to antlib.vfs.selectors
* Moved framework.Condition to framework.conditions
0 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.
14 lines of code changed in: