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
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
Stefan Bodewig
768bfa2bc6
If addConfiguredXyz and addXyz (or createXyz) have been present in the
same class, under some conditions, both would be called.
This patch ensures that only the last method returned by the
introspection methods for a given nested element will be used, no
matter which comes last.
Submitted by: Adam Murdoch <adammurdoch_ml@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270276 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
184328a605
Ugly to hack to get it compiling clean
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270275 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
2599037075
Remove some newlines to make <pre> content more readable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270274 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
9864025751
Fixed typo about classnames.
PR: 5448
Submitted by: stevec@ignitesports.com (Steve Cohen)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270273 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
cc0e324731
Instantiate the document in the constructor so that
an event other than build started does not initiate a NPE.
PR: 5538
Reported by: sh@blsun.com (Scott Halstead)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270272 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
ad5e0dc61c
Do not forget to exclude new starteams tasks from the build
Submitted by: Peter Janes <peterj@liberate.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270271 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8597e4b047
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270270 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
eff18a7fed
Move inner classes to top level classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270269 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
007e5e2034
spruced.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270268 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bc26bb7cdc
no message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270267 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bce6c8db00
Move command launchers to top level classes. Inner classes are evil.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270266 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
a6d997380d
Made the attributes private and started to break down the methods in tasks to bite size chunks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270264 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3bdfc1df4a
update task list to reflect new package hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270263 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ac928606f5
Add some tests for fail and update the taskdef test for new package hierarchy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270262 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
Stephane Bailliez
63b2c1c40a
Major refactoring of Starteam tasks.
This is based on the original submission from the CruiseControl project.
Original <starteam> task has been deprecated
Starteam tasks now resides in the starteam package rather than scm.
Submitted by: stevec@ignitesports.com (Steve Cohen)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270254 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
65cff2412c
Fixed jpcovmerge example. It was incorrectly using jpcovreport instead of jpcovmerge
Reported by: scottstirling@rcn.com (Scott Stirling)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270253 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a623bba85d
Properly encode control characters. See XML 1.0 2.2
<http://www.w3.org/TR/1998/REC-xml-19980210#charsets >.
Submitted by: Jim White <jim@pagesmiths.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270252 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a29e1aaf13
* addConfigured methods for custom tasks were being called twice. This
problem was caused by RuntimeConfigurable.maybeConfigure() being called
twice on the task's RuntimeConfigurable - once in
UnknownElement.maybeConfigure(), and once in the custom task's perform()
method.
* Whitespace in text content was sometimes being thrown away, depending on
how the SAX parser decided to divide it across calls to
ContentHandler.characters().
Submitted by: Adam Murdoch <adammurdoch_ml@yahoo.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270251 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1fb0f64b96
MOved file tasks into separate package.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270250 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
b88df41411
File.getParentFile is availablae in JDK1.2+ !
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270244 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b0daac8634
setLastModified is availablae in JDK1.2+ !
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270243 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
86d0e3d476
Update classes to reflect package change of exec related classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270242 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
45989d1efe
Move the execute related classes into a new package.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270241 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
daac11606c
Update to latest package rearangements.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270239 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