[root]/proposal/myrmidon/src/java/org/apache/myrmidon/framework/exec/launchers
zappity zap
0 lines of code changed in:
Mad all the command launchers use getEnvironmentSpec and thus made ExecUtil.toNativeEnvironment private as it is not used outside class.
5 lines of code changed in:
Moved getEnvironmentSpec to ExecUtil
33 lines of code changed in:
Reorded addition of proeprties to environment when exec call has an additive environment so specified values overide values in the native environment.
Also added basic javadocs.
7 lines of code changed in:
Made sure that setting of environment variables for the native exec calls occurs accoridng to epectations.
If no properties are specified then null is passed to underlying exec call.
if some properties are set and environment is additive then the native environment is added to environment object
34 lines of code changed in:
Move implementation of toNativeEnvironment into this class rather than delegating
15 lines of code changed in:
Fix up license banner.
6 lines of code changed in:
Made ExecMetaData take a Properties object for environment data rather than native format.
22 lines of code changed in:
Convert from using TaskException to ExecException
14 lines of code changed in:
Made it possible for the script to consist of multiple parts so that you could possible do something like
perl bin/antRun.pl
python bin/antRun.py
etc
This resulted in removal of file resolving and pushing that back into the Execute task
32 lines of code changed in:
Removed uneccesary imports
0 lines of code changed in:
Move getAntHomeDirectory to the Execute class.
0 lines of code changed in:
Converted the old remaining useful script based CommandLaunchers to new setup. There is no need to extend ProxyCommandLauncher as it did not offer any benefit (because the 2 arg version of Runtime.exec was always called)
10 lines of code changed in:
Converted the old WinNTCommandLauncher to new setup. There is no need to extend ProxyCommandLauncher as it did not offer any benefit (because the 2 arg version of Runtime.exec was always called)
2 lines of code changed in:
Converted the old MacCommandLauncher to new setup. There is no need to extend ProxyCommandLauncher as it did not offer any benefit (because the 2 arg version of Runtime.exec was always called)
4 lines of code changed in:
Added a utility class to hold util functions for implementing Launchers.
17 lines of code changed in:
Add a basic implement of CommandLauncher.
This merges the Ant1.x VM launchers into one class. If working on older JVMs (pre jdk1.3) and try to execute outside the current directory then an exception will be thrown.
10 lines of code changed in: