Directory proposal/myrmidon/src/java/org/apache/antlib/nativelib/

Directory Created:
2002-01-05 03:19
Directory Deleted:
2002-04-17 10:49
Total Files:
0
Deleted Files:
4
Lines of Code:
0

Browse with ViewVC

[root]/proposal/myrmidon/src/java/org/apache/antlib/nativelib

Lines of Code

proposal/myrmidon/src/java/org/apache/antlib/nativelib/ Lines of Code

Developers

Author Changes Lines of Code Lines per Change
Totals 38 (100.0%) 181 (100.0%) 4.7
donaldp 26 (68.4%) 146 (80.7%) 5.6
adammurdoch 10 (26.3%) 33 (18.2%) 3.3
sbailliez 2 (5.3%) 2 (1.1%) 1.0

Most Recent Commits

donaldp 2002-04-17 10:49

zappity zap

0 lines of code changed in:

adammurdoch 2002-04-08 00:29

Moved a bunch of classes to framework.nativelib:

- Argument

- ArgumentList

- Commandline

- EnvironmentData

- EnvironmentVariable

- Execute

- LoggingExecOutputHandler

4 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/antlib/nativelib: Exec.java (+4 -4)
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.

12 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/antlib/nativelib: Exec.java (+12 -26)
donaldp 2002-03-29 12:57

final static --> static final to follow JLS recomendations

1 lines of code changed in:

donaldp 2002-03-23 05:36

Move OsCondition to nativelib package

0 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/antlib/nativelib: OsCondition.java (new)
donaldp 2002-03-23 03:46

task:name --> task.name

2 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/java/org/apache/antlib/nativelib: Exec.java (-7)
adammurdoch 2002-03-18 09:15

Ran IDEA's optimise imports.

0 lines of code changed in:

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

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

4 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/antlib/nativelib: Exec.java (+4 -4)
adammurdoch 2002-03-11 08:41

* AbstractTask no longer extends AbstractLogEnabled.

* DefaultExecutor no longer log enables Tasks.

* Added TaskContext.log( LogLevel, ... ) methods.

* Moved LogLevel to myrmidon.api package.

7 lines of code changed in:

adammurdoch 2002-03-02 04:03

* Added OsFamily enumerated type, to represents OS groupings.

* Replaced all usages of Os.isFamily( String ) with Os.isFamily( OsFamily ).

* Replaced all usages of "os.name" system properties with calls to Os.isFamily().

1 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/antlib/nativelib: Exec.java (+1 -2)
adammurdoch 2002-02-14 01:57

Use getService() to find the ExecManager, rather than instantiating it.

1 lines of code changed in:

donaldp 2002-02-10 01:01

Removed throwsIOException from Execute.execute() as it was never thrown.



Made some tasks specify expected return code rather than checkin it themselves.

2 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/antlib/nativelib: Exec.java (+2 -16)
donaldp 2002-02-10 00:46

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.

5 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/antlib/nativelib: Exec.java (+5 -5)
donaldp 2002-02-10 00:25

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:

  • proposal/myrmidon/src/java/org/apache/antlib/nativelib: Exec.java (-1)
donaldp 2002-02-06 13:38

Style touchups

1 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/antlib/nativelib: Exec.java (+1 -1)
donaldp 2002-02-03 10:28

Add a constructor to Execute2 that takes the ExecManager service

3 lines of code changed in:

  • proposal/myrmidon/src/java/org/apache/antlib/nativelib: Exec.java (+3 -1)
donaldp 2002-02-02 15:43

Make sure the nativelib tasks declare their tasks so that xdoclet can pick up the meta-data

2 lines of code changed in:

donaldp 2002-02-02 06:38

Rework Environment implementation so that it is part of the ExecManager service. This makes it less coupled to bad practices and also merges all the native execution code into a central place.



Detected by JDepend

12 lines of code changed in:

(8 more)

Generated by StatSVN 0.3.2-SNAPSHOT