Peter Donald
f0e337fd52
Descriptions are not concerns of the task but of the container thus remove description dtaa from cab task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270201 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
98bf0067e9
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270198 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
202b107da4
Description is not a concern of the task but a container concern.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270197 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
961d431384
Remove if/unless checking from target. It was insanity to have it there in the first place and has been the cause of much confusion.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270196 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
47903f9666
TaskContainers occur in task space in Myrmidon not in container space.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270195 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bff8b8303f
Remove IntrospectionHelper for the time being.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270194 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
0cd0821159
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270193 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2bbab902a5
Commented out use of IntrospectionHelper as that violates Container-task relationship. WIll need to be reworked significantly in Ant2.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270192 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
89c618a4ba
Fixed some compile errors due to tasks relying on deprecated behaviour in Ant1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270191 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
cd60a6c95f
Make sure no tasks log via the project object.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270190 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c5736872dd
Remove the Location class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270189 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
956c3e0843
Lets say tata to the BuildException.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270188 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a57f963f8b
Container tasks will need to erwritten in the context of Myrmidons mechanisms.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270187 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2e78a0aa91
Make description a private attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270186 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a7ee54d9eb
Unused class goes the way of the dodo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270185 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
aa7165f303
A tasks type is equivelent to it's name - no need to distuinguish between the two.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270184 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ff55918264
No need for tasks to know which target they are in ... or even if they are in a target.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270183 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1827792aa5
Zap the uneeded methods for the moment.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270182 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d34078f20b
No need for the RuntimeConfigurable / UnknownElement / RuntimeConfigurable et al as they are already handled by the myrmidon container
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270181 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
884d56754b
No need for tasks to know about their wrappers - thats a concern of the container.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270180 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a9df829eed
Need to be rewritten for Myrmidon style projects.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270179 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9c62f617a3
Ant2 properties are dynamic so need need for 2 phase parsing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270178 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
2a3e3d1d4b
Already have a Launcher ion this version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270177 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
6bdc3432d5
Don't need main in new architecture.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270176 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1dc954f3a5
Fix a few more instances where TaskException was treated as a runtime exception.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270175 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
a61676acdd
getTaskName() -> getName() and this is inherited from AbstractTask
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270174 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
29b7a3e4ec
Remove location data from tasks as that is a concern of the container and not the tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270173 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
e741c1fe35
Tasks don't need to worry about location (thats a container concern) nor do they need to worry about their own model (thats also a container concern).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270172 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
2b18ecd15f
Deprecated setSrc(String) and setDest(String) and added new methods
setSrc(File) and setDest(File). Ant;s intrspection will pick up the methods
that take in File as argument as File gains higher priority over String based
set* methods.
This had missed my eyes during my earlier cleanup drive, but it didn't miss
Peter's ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270171 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b400039e78
BuildException -> TaskException
39 errors to go
39 errors to go
hey ho we're merry now for theres
39 errors to go
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270170 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7c0bc50a96
BuildException -> TaskException
Yay - down to 180 errors!!!!!!!!!!!!!!!!!!!!!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270169 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
afd11ba3a8
BuildException -> TaskException
Removed uneeded imports.
Processed code through style formatter.
Yay - down to 272 errors!!!!!!!!!!!!!!!!!!!!!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270168 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
30593c2ba3
Made resolveFile propogate the TaskException
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270167 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b8c50342ca
BuildException -> TaskException
Removed uneeded imports.
Processed code through style formatter.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270166 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f73917168f
Remove tasks that wont be relevent to new architecture.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270165 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
bfcb52f9a2
Fix HTML Parse error
Submitted by: jakarta-ant@ehatchersolutions.com "Erik Hatcher"
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270164 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
6ccebc2f7b
Fixed some external links.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270163 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d1b6046bae
Try to be crystal-clear about what to do with ANTLR.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270162 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
488529801c
Update ANTLR to revert to forked-mode only.
Comments in code should be self explanatory for the
next person who have to deal with it.
Testcase is updated (working dir is no more mandatory)
and I added a note in case someone wants to run
the tests... I should probably add a mention to
this in the ANTLR docs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270161 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
0d470a5730
OK..First thanks to Sam for fixing this w/o complaining.
It was probably not a very clever idea to remove the
lSep since it is probably used by user-written loggers.
To further shoot myself in the foot I noticed that
I was compiling a different Ant repository than the
in the one I was doing my changes...
NB:If I continue this way I promise to stay away
from code for a while and take some vacations.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270160 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b3cc9d80b2
Continued to modify to try to bring the number of compiler errors down due to BuildException not being a RuntimeException anymore.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270159 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7a3448dcea
Started refactoring.
Made BuildException extend TaskException. Now BuildException is no longer a RuntimException and needs to be declared everywhere it could be thrown
Removed the constructors that took location info for BuildException. Location is something known about byt the container and the tasks them selves should not be worrying about that sort of thing
Removed a bunch of deprecated methods and features. Also moved all file handling utilities outside iof the Project class. To aid the transition I added a resolveFile method to the base ProjectComponent class.
480 odd compile errors left to clean up.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270158 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
e854f481c9
Remove mention of fork attribute in ANTLR documentation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270157 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
9b06d977b8
Delete deprecated tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270156 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
58c82aebfd
Delete deprecated tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270155 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
3543dfbbae
Kill exit exception as no longer have the SecurityManager around to throw it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270154 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
d1064deab4
Add in a clone of the main ant source tree so that it can undergo some heavy refactoring.
Initial stages involves just making the Ant1.x tasks implement Ant2 interface and refactoring BuildException such that it can be easily be replaced by TaskException etc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270153 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ff4e823ee2
Revert setting of security manager.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270152 13f79535-47bb-0310-9956-ffa450edef68
24 years ago