Directory proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/ccm/

Directory Created:
2002-03-17 09:56
Directory Deleted:
2002-04-17 10:49
Total Files:
0
Deleted Files:
7
Lines of Code:
0

Browse with ViewVC

[root]/proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/ccm

Lines of Code

proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/ccm/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 22 (100.0%) 50 (100.0%) 2.2
donaldp 14 (63.6%) 33 (66.0%) 2.3
adammurdoch 8 (36.4%) 17 (34.0%) 2.1

Most Recent Commits

donaldp 2002-04-17 10:49

zappity zap

0 lines of code changed in:

adammurdoch 2002-04-07 23:10

* 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.

9 lines of code changed in:

adammurdoch 2002-03-18 11:49

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.

0 lines of code changed in:

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/ccm: Continuus.java (-2)
adammurdoch 2002-03-18 08:53

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 ).

8 lines of code changed in:

donaldp 2002-03-17 09:56

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

33 lines of code changed in:

Generated by StatSVN 0.3.2-SNAPSHOT