Peter Donald
c5b4c4e5e8
Move WatchDog class to myrmidon framework section.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270337 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
219460a65a
Task never used watchdog so why fake it ?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270336 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4a9c6d79bc
Convert from using TaskException to ExecException
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270335 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4c36f7cb5a
Add an exception that indicates an error running a native process.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270334 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
be62084bd5
Move unix type tasks into new package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270333 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4ed0da61dd
Made classes use the appropriate execute constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270332 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
53c1034a53
Made class public access while in migration phase.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270331 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5e1a060756
Add in an interface via which requests to execute a command can be made.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270330 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9665fcfad3
Made EnvironmentData.Variable into a top-level class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270329 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
916b5fcac1
Removed some unused variables and moved private methods to the bottom of the file
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270328 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0ededf8ae2
Continued refactoring
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270327 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
88a9e0bdb3
Setup environment using a properties object
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270326 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
28dca40128
Started to clean up the tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270325 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
16bd34a356
Remove Execute.setEnvironment(String[]) as it is not needed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270324 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c758ec76a2
Remove Execute.getExitValue() as it is not needed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270323 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2bb0b8b340
Moved Commandline.Argument/Marker to top level classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270322 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
11adb2a02c
Moved ENvironment.Variable to a top level class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270321 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9c6b288123
Made EnvironmentData.getVariables return a Properties object with all the environment variables contained within it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270320 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1d677212cc
Removed some unused crufty code and moved native ENvironment manipulation code into new class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270319 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d5ed2401cf
Extract then native Environment manipulation code from Execute class and place it into new class. Refactor it to be simpler to extend and use
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270318 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a109d318d4
Remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270317 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1812fea497
Reorder imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270316 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1ef7d3b0cb
Cleaned up file a bit and made it package access.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270315 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8fb5ee4f11
restyled
Removed setAntRun() calls from Execute class
Renamed Environment to EnvironmentData
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270314 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b8a71bf846
load environment data from new Environment class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270313 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4058f2a97f
restyled
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270312 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5595675827
Rename Environment to EnvironmentData to avoid name conflicts with other classes named Environment
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270311 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
372d4cdf17
Removed unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270310 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ea65444fd3
Environment -> EnvironmentData
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270309 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
728071cfac
access project instance via accessor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270308 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5657805883
Remove uneeded import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270307 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cff2df199d
Vector -> ArrayList
access project instance via accessor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270306 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
92248f472b
Restyled.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270305 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f1d9b9f2e7
Due to enhancement of ScriptCommandLauncher PerlCommandLauncher is no longer needed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270304 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c94f064263
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
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270303 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
067939388b
Removed uneccesary imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270302 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
39db94a5e8
Move getAntHomeDirectory to the Execute class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270301 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6248105498
Removed unecessary import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270300 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3d04769940
Restyled.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270299 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5f6832bd82
Move to using Java2 collections API
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270291 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1ea766b31d
Remove execute as inherited from parent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270290 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
44ab322883
Encapsulated access to project member variable via getters
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270289 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1b5824a6f6
Cleaning
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270288 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
dff89c5ee2
Make FileUtils static access.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270287 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
35fcf0d678
Kill stringUtils.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270286 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d0ef8f372a
Remove dependency on StringUtils.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270285 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
928698c467
Updated to use the new native command launching infrastructure.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270284 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9a1925ff44
Removed old CommandLauncher infrastructure.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270283 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8085ebe912
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)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270282 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
694b6a391c
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)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270281 13f79535-47bb-0310-9956-ffa450edef68
24 years ago