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

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

Browse with ViewVC


                                             compilers (0 files, 0 lines)

Lines of Code

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


Author Changes Lines of Code Lines per Change
Totals 17 (100.0%) 52 (100.0%) 3.0
adammurdoch 13 (76.5%) 28 (53.8%) 2.1
donaldp 4 (23.5%) 24 (46.2%) 6.0

Most Recent Commits

donaldp 2002-04-17 10:49

zappity zap

0 lines of code changed in:

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/jsp: (del), (del)
adammurdoch 2002-04-07 09:51

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

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/jsp: (+2 -2)
adammurdoch 2002-03-22 07:18

Added TaskContext.verbose(), and fixed up the usages of info() and warn().

2 lines of code changed in:

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/jsp: (+2 -2)
adammurdoch 2002-03-22 04:12

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

5 lines of code changed in:

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/jsp: (+3 -3), (+2 -2)
adammurdoch 2002-03-21 08:03

* Moved ExecuteJava -> package. Added a bunch of Javadocs,

and i18n-ed the error and log messages.

* Moved Java ->

* Moved Path and friends -> framework.file package.

3 lines of code changed in:

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/jsp: (+1 -1), (+2 -2)
adammurdoch 2002-03-21 06:38

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

2 lines of code changed in:

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/jsp: (+1 -3), (+1 -2)
adammurdoch 2002-03-20 08:19

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


1 lines of code changed in:

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/jsp: (+1 -2)
adammurdoch 2002-03-19 11:32

First pass of making ExecuteJava responsible for all java application

execution (after which it can be split into AUT):

* ExecuteJava now handles both in-jvm and forked java app execution. Logging

and error reporting are pretty rough.

* Moved most of the guts of <java> into ExecuteJava.

* Copied most of CommandlineJava into ExecuteJava. Haven't changed

CommandlineJava (much) yet.

* Removed the ability to use system properties when executing in-jvm.

* Another attempt at fixing the ant1 descriptor to enable <java> and <path>.

7 lines of code changed in:

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/jsp: (+7 -17)
adammurdoch 2002-03-19 02:44

Some refactoring of Path. The plan is to make the 'evaluate' API of Path a

little narrower, to make it easier to extract an interface, and get multiple

path implementations happening.

* Replaced usages of Path.append() with Path.addPath(), and removed append().

* Replaced usages of Path.addExisting() with Path.addPath(), and removed


* Replaced Path.size() with Path.isEmpty().

* Added the setX() methods back.

* Replaced usages of Path.toString() with new PathUtil.formatPath() method, and

removed Path.toString(). Probably missed a few usages.

* Replaced FileUtil.translatePath( Path ) with PathUtil.formatPath(), and

removed translatePath().

* Enabled the String -> Path converter again.

5 lines of code changed in:

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/jsp: (+2 -2), (+3 -2)
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.


* Made getBaseDirectory() and getService() protected.


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

1 lines of code changed in:

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/jsp: (+1 -4)
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

24 lines of code changed in:

  • proposal/myrmidon/src/todo/org/apache/tools/todo/taskdefs/jsp: (new 5), (new 19)
Generated by StatSVN 0.3.2-SNAPSHOT