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
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
76b7056721
Update descriptor for new locations of tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270232 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
e3a897b7f5
Make sure it compiles without xalan present.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270230 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6b9d6efe31
Add in a build.xml that builds everything in a single sweep.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270229 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
321e9b5e87
Remove deprecated class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270225 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9af589f0f7
Add a few items to the action list. Some of which are based on a submission by "Adam Murdoch" <adammurdoch_ml@yahoo.com>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270224 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
58904a094b
Remove some unused cruft.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270223 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
34c9448479
delegate Logging to myrmidons system.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270222 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e8ef1de461
inherit log from ProjectComponent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270221 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
354d01ab77
Remove unused code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270220 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
62d9c97720
project.setNewProperty() --> setProperty
which inherited from AbstractTask and delegates to TaskContext.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270217 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1126a3f4ac
Stop tasks using project.log() and instead they can use just log()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270216 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c76e3274d1
Started removing methods that are no longer used.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270215 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
46e4b41dc0
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270214 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2a84ac3dfd
Remove resolveFile method as it is already implemented in AbstractTask.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270213 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d47f6c9b67
project.setProperty() -> setProperty()
setProperty() is inherited from AbstractTask and actually delegates to TaskContext to do the work.
project.getBaseDir() -> getBaseDirectory()
getBaseDirectory() is also inherited from AbstractTask and also delegates to TaskContext.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270212 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
45b92614db
Description is a container concern - not a tasks concern.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270211 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
8bf664b1c5
No need for there to be a initialize method.
Now that tasks are initialized and executed in one sweep initialize functions could just be done at the start of an execute call.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270210 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9e1cd9e4c1
init() -> initialize()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270209 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
46a5edcc59
log() --> getLogger().info()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270208 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
990c5b2a36
Remove some code that wont be used in Myrmidon.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270207 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a5ddd208a9
It is not the task that should be worried about generating build events but the container.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270206 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3e4e127ba0
Maybe configure means nothing now that container is handling the task model/proxy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270205 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f2347a9c7e
Loggers already implemented in myrmidon and thus no need for them to be here
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270204 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