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
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
Peter Donald
6b669be21d
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)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270280 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d0225d0b52
Added a utility class to hold util functions for implementing Launchers.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270279 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5fe0c90529
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.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270278 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6575f65c84
Add an interface for all CommandLaunchers to implement
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270277 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
eff8770f40
Start to implement the native execution framework.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270265 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
adc80fb83f
Correct to conform more closely to NoBannerLogger output.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270261 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2ddb4ff944
Fix bug where aspect'ized tasks would get null content.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270260 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6008290de6
Removed reserved attributes as there is no such thing as setLogger anymore.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270259 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
55d17bd16e
Ran style formatter over file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270258 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4182a29465
FailOnError no longer needed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270257 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
405e0bd8e1
Made the shifts into a static variable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270256 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
826442f71d
Fail should not need a condition and will just unconditionally fail if not provided.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270255 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ad2a69d6a7
Added a zero arg constructor that contains an empty message.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270249 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cbeb4704a0
Start reducing the dependence on FileUtils.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270248 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bb1068db86
Update classes to reflect package change of exec related classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270247 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6485113b53
Add a fail task similar to ant1.xs except that it also has a condition.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270246 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
26e2c18d97
Made it possible to set message in content of element.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270245 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
66c618c30a
Move selftesting task library into new package structure.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270240 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3dabe909b6
Remote support for the Ant1 wrapper for the timebeing. Will re-add it in later if needed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270238 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c1f679cc78
Rename Echo task to Log as that is what it is actually doing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270237 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
4bd81a19f2
protected->private
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270236 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1a19815b52
Start to convert into a myrmidon task.
Remove notion of failonerror/output/input etc. Will handle ina different way in ant2.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270235 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7e3a3c6b31
Convert into a myrmidon task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270234 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7cffd478a0
Move runtime tasks from myrmidon.libs package
to abtlib package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270233 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
46e8d5e583
Start testign integration of the framework across.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270231 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
02d790fd36
Start to move the cvs tasks into new package
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270228 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c859e9eed3
Start to move the non-deprecated XML files into new antlib - making sure they are compatible with myrmidon
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270227 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7f5a9ddff2
Move core ant library into new package hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270226 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cb2acb30f3
Remove some cruft to keep it compiling. The ant1 compatability layer (if it is ever implemented) will need to be rewritten anyway.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270219 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
eba489ee1e
UGLY HACK.
Make getBaseDirectory() public during migration of ant1.x codebase.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270218 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
497fb70fe8
Update Listeners so that the default listener is like the NoBannerLogger from Ant1.x while the classic is like ants current default.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270203 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
37e9144202
Add utility methods that directly delegate to the context to do work.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270202 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
208b4310f7
Make sure it doesn't use zapped BuildException
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270200 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
002901b2d9
Start to refactor and clean myrmidons listeners.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270199 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1b414dd2d4
Revert to original API for ConfigurationHandler.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270098 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3b5944bc9c
Update to use LogEnabled interface rather than Loggable interface.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270018 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
77be1b356a
Removed some unecessary imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270017 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
339e3993e5
Added code to allow type libraries to depend upon "Optional Packages" aka "Extensions".
Also add code to seltest type library so that it verifies that classes loaded from extension are available in the same ClassLoader as the tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270015 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d91ef0968d
First cut at the ExtensionManagers component. This is something that will manage the set of "Optional Packages" that task libraries can choose to depend upon.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270013 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e444e91c26
donaldp@apache.org --> peter@apache.org
yea - now no one will call me Donald!!!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269959 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cc0bf7e707
Separated myrmidon out into several jars.
myrmidon-container.jar (all the container classes)
myrmidon-api.jar (the API used to write tasks and other types)
myrmidon-framework.jar (the framework that makes writing tasks easier)
myrmidon-launcher.jar (executable jar used to setup classloaders and run myrmidon)
The ClassLoader hierarchy is now
System CL <--- api/framework CL <--- container
<--- type library 1
<--- type library 2
<--- type library 3
<--- type library 1
<--- type library 1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269874 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cb412d5547
Moved DefaultTyeFactory into interfaces hierarchy.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269873 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e655a9fbe6
Move DefaultTypeFactory into interfaces hierarchy as it is used in many tasks.
In the future a better abstraction should be found.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269872 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d3f69a6b85
Moved interfaces outside of main trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269862 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e982760c84
i18n'ed the tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269654 13f79535-47bb-0310-9956-ffa450edef68
24 years ago