Peter Donald
f7d4b3cd19
Remove failOnError attribute from Exec and thus always fail
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270344 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5b93763d51
Cleaned up Exec code and removed failOnError attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270343 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e9c239163f
Add in a rebuild target to make things easier from IDEA
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270342 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cdd8484f39
Made ExecMetaData take a Properties object for environment data rather than native format.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270341 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ace547bc97
Made timeout time a long not an int.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270340 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e6820b7065
Readded ant1 jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270339 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
72c0f5a385
Remove tools dir from proposal.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270338 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
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
cd665638ab
Add a document describing some of the features required by a Virtual Filesystem
Submitted by: "Adam Murdoch" <adammurdoch_ml@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270298 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
bf8e21b63d
Don't assume everybody will use the login and pwd to my db.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270297 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
539077152a
This testcase might be used to test for various problems
that may arise when calling the <sql> task multiple
times. I tried to make it easy to customize the test
to run it on different databases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270296 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f73de6a58c
Make the getLoaderMap static since the cache is static.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270295 13f79535-47bb-0310-9956-ffa450edef68
24 years ago