[root]/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/junit
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 200 (100.0%) | 1358 (100.0%) | 6.7 |
donaldp | 189 (94.5%) | 1329 (97.9%) | 7.0 |
adammurdoch | 3 (1.5%) | 19 (1.4%) | 6.3 |
sbailliez | 5 (2.5%) | 7 (0.5%) | 1.4 |
ehatcher | 3 (1.5%) | 3 (0.2%) | 1.0 |
zappity zap
0 lines of code changed in:
Move all but the optional tasks into the hierarchy o.a.t.todo rather than o.a.t.ant so as not to clash with ant1 compatability later
16 lines of code changed in:
* AbstractTask no longer extends AbstractLogEnabled.
* DefaultExecutor no longer log enables Tasks.
* Added TaskContext.log( LogLevel, ... ) methods.
* Moved LogLevel to myrmidon.api package.
17 lines of code changed in:
No need to be LogEnabled
0 lines of code changed in:
Replaced usage of Avalon Context with Myrmidon specific Context:
* Moved read-only property and resolve methods from TaskContext to new Context
interface. TaskContext now extends the new Context interface.
* Changed the Configurer methods to use the new Context. Both implementations
use the supplied Context to do property resolution.
* Renamed TaskContext.getPropertys() -> getProperties().
* Moved PropertyUtil from configurer to workspace package, as that is now
the only place it is used.
* Changed PropertyUtil to work with the new Context.
RoleManager:
* A default implementation for a role can now be specified. Currently
can only do this programatically.
DefaultMasterConverter:
* Removed MasterConverter interface. It is now identified by the Converter
role.
* Now caches the converter instances.
* Changed the converter search algorithm to traverse the *source* class
hierarchy, including all interfaces. Chooses the most specialised
conversion, and fails if there is more than one such choice.
DefaultConfigurer:
* Attempts to convert references, if the type does not match the expected type.
* Changed handling of nested elements, for named adders/setters:
* If the method type can be mapped to a role, and that role has a default
implementation, then use that default implementation.
* Otherwise, if the method type is an interface, fail.
* Otherwise, create an instance using no-args constructor.
* Changed handling of nested elements, for typed adders/setters:
* If the method type can be mapped to a role, and the element name is
a type of that role, then use that role to create the instance.
* Otherwise, use the type factory for the generic data-type role.
* Attempt to convert the instance if it is not of the expected type.
* Added a bunch of test cases for new functionality.
* Renamed all the ConfigTest classes to have descriptive names.
Misc:
* Renamed package framework.factorys -> framework.factories.
* Made tests work when fork = false.
2 lines of code changed in:
Make tasks extend AbstractTask directly not via Task
5 lines of code changed in:
getPropertys from new TaskContext method
11 lines of code changed in:
Inlined a large number of methods from AbstractTask
6 lines of code changed in:
Write to system.out by default because that gets redirectted to task anyhow
4 lines of code changed in:
Use the context rather than the project
7 lines of code changed in:
Removed throwsIOException from Execute.execute() as it was never thrown.
Made some tasks specify expected return code rather than checkin it themselves.
1 lines of code changed in:
Renamed Execute2 to Execute and moved it into the myrmidon.framework package.
Cleaned up its code a little. ALso reworked it so that the user can specify an expectedReturnCode and if the value is not the one expected a TaskException is thrown.
2 lines of code changed in:
No need to setup a Logger for Execute.
All logging will be routed via System.err or System.out as appropriate
0 lines of code changed in:
Style touchups
6 lines of code changed in:
Add a constructor to Execute2 that takes the ExecManager service
3 lines of code changed in:
Inline some method that were causing issues with some tasks
5 lines of code changed in:
Made Execute2 only take Commandlin objects rather than an arrya of strings
2 lines of code changed in:
Update tasks to reflect movement of logic from objects to service/utility objects
4 lines of code changed in:
- Fix order of modifiers
- Fix duplicate/unecessary imports
- Fix single if/else and loop without block
7 lines of code changed in:
Moved some path manipulation utilities into PathUtils
3 lines of code changed in:
(37 more)