[root]/proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/junit
Author | Changes | Lines of Code | Lines per Change |
---|---|---|---|
Totals | 59 (100.0%) | 171 (100.0%) | 2.8 |
donaldp | 45 (76.3%) | 93 (54.4%) | 2.0 |
adammurdoch | 14 (23.7%) | 78 (45.6%) | 5.5 |
zappity zap
0 lines of code changed in:
Moved a bunch of classes to framework.nativelib:
- Argument
- ArgumentList
- Commandline
- EnvironmentData
- EnvironmentVariable
- Execute
- LoggingExecOutputHandler
5 lines of code changed in:
* Extracted ArgumentList superclass out of Commandline. Changed most usages
of Commandline to use ArgumentList instead.
* Execute now extends Commandline.
- Removed Execute.getCommandline().
- Moved Commandline.getCommandline() down to Execute, and made private.
2 lines of code changed in:
Axed todo.types.FileSet.
2 lines of code changed in:
* Split up todo.types.PathUtil.
- Moved generic formatting to aut.nativelib.PathUtil.
- Moved FileList util methods to framework.file.FileListUtil.
- Moved addExtDirs() to DefaultCompilerAdaptor.
- myrmidon.components.* no longer depend on todo.*
* Removed all usages of Commandline.toString(), size() and getCommandline(),
excluding Execute.
2 lines of code changed in:
Use the non-deprecated form to store properties tmove warning.
PR:
Obtained from:
Submitted by:
Reviewed by:
1 lines of code changed in:
* Added ClassLoaderManager.createClassLoader( File[] ), to create a
ClassLoader from a class-path.
* Moved responsibility for creation of ClassLoaders out of the tasks, and into
the ClassLoaderManager, which caches them, and resolves extension dependencies.
* Added PathUtil.createClassLoader() convenience method to create a ClassLoader
from a Path.
* Changed the PathUtil methods to use the more general FileList, rather than Path.
* Added 'classpath' attribute to the <*-available> conditions.
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>.
2 lines of code changed in:
* Moved ExecuteJava -> framework.java package. Added a bunch of Javadocs,
and i18n-ed the error and log messages.
* Moved Java -> antlib.java.JavaTask.
* Moved Path and friends -> framework.file package.
2 lines of code changed in:
Changes to todo.types.Path, should be useable now:
* Removed Path.isEmpty().
* Changed Path.list() -> listFiles( TaskContext ).
* Extracted FileList interface from Path. This interface has a single
listFile( TaskContext ) method.
* Split PathElement into two FileList implementations, ParsedPathElement and
ArrayFileList. Removed the special handling of nested PathElement
and Path objects from Path.listFiles().
* Added FileList -> String converter.
* Temporarily disabled Argument.setPath() and EnvironmentVariable.setPath().
3 lines of code changed in:
More refactoring of java app execution:
* Added ExecuteJava.setIgnoreReturnCode() and executeForked() methods.
* Converted the remaining tasks from CommandlineJava to ExecuteJava.
* Removed CommandlineJava.
* Added convenience methods to Commandline and EnvironmentData.
* Made SysProperties into a static util class. It now longer extends
EnvironmentData, and can now handle Map (and Properties) as well as
EnvironmentData.
46 lines of code changed in:
More refactoring of framework.Execute:
* By default, execute() checks the return code of the process against 0.
This can be changed using setReturnCode() and setIgnoreReturnCode().
* Default working directory is now the project's base directory.
* Tidied up tasks to reflect the new defaults.
AbstractTask:
* Made getBaseDirectory() and getService() protected.
Logging:
* Extracted AbstractLogger out of BasicLogger, and changed RoutingLogger to
extend AbstractLogger, rather than BasicLogger.
* RoutingLogger now uses a wrapped Logger to determine which message types
are enabled, so that it respects the logging level set on the command-line.
Kinda hacky, but better than writing out all the debug messages.
* Changed LoggingExecOutputHandler to use warn log level, rather than info.
Again, a hacky fix to get logging of external command output happening when
not running in verbose mode.
9 lines of code changed in:
Some refactoring of framework.Execute:
* Moved the general-purpose logging and validation code from Exec task to
Execute.
* Removed Execute's constructor, replaced with a TaskContext passed to
Execute.execute().
* If no ExecOutputHandler is provided, Execute routes the process' stdout
and stderr via TaskContext's log methods.
* Removed a bunch of debug messages from tasks, as Execute now takes care of this.
* Replaced a bunch of return code == 0 checks, with calls to
Execute.setReturnCode( 0 ).
2 lines of code changed in:
Move most of 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
92 lines of code changed in: