[root]/proposal/myrmidon/src/java/org/apache/antlib/file
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 53 (100.0%) | 154 (100.0%) | 2.9 |
donaldp | 35 (66.0%) | 110 (71.4%) | 3.1 |
adammurdoch | 18 (34.0%) | 44 (28.6%) | 2.4 |
zappity zap
0 lines of code changed in:
Axed todo.types.FileSet.
3 lines of code changed in:
final static --> static final to follow JLS recomendations
4 lines of code changed in:
task:name --> task.name
7 lines of code changed in:
Added TaskContext.verbose(), and fixed up the usages of info() and warn().
3 lines of code changed in:
* Changed Path.addPath( Path ) -> Path.add( FileList ), so that <path>
can accept any nested FileList implementation, including <path>.
* Added <list-path> diagnostic task.
* Added test cases for <path>.
1 lines of code changed in:
Ran IDEA's optimise imports.
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
11 lines of code changed in:
Filtering refactor:
* Added LineFilter role, which represents a filter that handles lines of text.
* Added TokenSet role, which represents a set of token -> value mappings.
* Renamed FilterSetCollection -> LineFilterSet. This is now a compound
LineFilter that takes a set of nested LineFilters. This is pretty much
just a placeholder until the new filter streams are ported across from ant 1.
* Renamed Filter -> SingletonTokenSet. This is a TokenSet that contains a
single mapping. Moved to antlib.core.
* Added PropertyTokenSet, a TokenSet that uses the project properties as
its mappings. Added to antlib.core.
* Split FilterSet into TokenLineFilter, which is a LineFilter that replaces
tokens with their value, and FileTokenSet, which is a TokenSet loaded from
a properties file.
7 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.
22 lines of code changed in:
* Added PropertyResolver service interface, together with 2 implementations.
(One implementation mimics Ant1 behaviour). These are added in the
"workspace" packages, since that's where PropertyUtil was. Not sure if this
is the right place.
* DefaultTaskContext now implements Context interface, used by
PropertyResolver. This avoids having the PropertyResolver dependent on
TaskContext, avoiding a potential circularity problem. (since TaskContext has
a "resolve" method of it's own).
* Removed PropertyUtil.
* Tests for PropertyResolver implementations.
Submitted by Darrell DeBoer [darrell@apache.org]
1 lines of code changed in:
* Moved FileNameMapper to framework. Got rid of setTo() and setFrom()
from the interface, as these are no longer needed.
* Changed tasks to accept a FileNameMapper directly, rather than using Mapper.
* Removed the 'flatten' attribute from the <copy> task.
* Removed the 'ext' attribute from the <native2ascii> task.
* Removed Mapper and MapperType.
* Moved <flatten> mapper to antlib.
* Made ExtMapper available as <map-extension> and moved to antlib.
* Added <prefix> mapper, to apply a fixed prefix to names.
* Added <chain> mapper, to apply a chain of mappers to names.
* Added <mapped-fileset>, a fileset that transforms nested filesets using a mapper.
7 lines of code changed in:
Ran style-formatter over codebase
2 lines of code changed in:
Move FilterSetCOllection into framework classes
1 lines of code changed in:
Add in a task that does filtered coping. It does it in the same was as Ant1.x excep that it also acepts a character encoding and defaults to ascii. This is to workaround platform specific deviations and also to make it easier to have more reliable builds.
27 lines of code changed in:
Migrate across the move task
7 lines of code changed in:
Copy across the copy task and strip out filtering
38 lines of code changed in:
zap whitespace
1 lines of code changed in:
Move the delete, touch and mkdir tasks into antlib. CLean and refactor each task to make sure is closer to code-normalized. Also make sure all the messages are capable of being i18n'ed
12 lines of code changed in: