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
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
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
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
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
aedaee6058
Added an extra ignore to block annoying ?'s
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270016 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
b51fbab47d
Okay lets go to the latest framework now ... this is so we get deprecation warnings during the build ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270012 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
084361c12e
Update the rest of the Avalon jars.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270011 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
49da6b158f
Update scratchpad version of jar. This is for the recently implemented Extensions PackageRepository.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270010 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
89822c2740
Remove out of date design doc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269958 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
Peter Donald
f9224257bd
i18n'ed most of framework.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269653 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b30c144309
i18n'ed CLI frontend.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269652 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f91f776468
Added newline
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269651 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
1125ea2c35
i18n'ed Converter APIs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269650 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
bdc61a3229
Made it work for those who are not me.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269649 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
fe127c56c8
Made sure i18n files are included in jar.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269648 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
7d4f0d15e6
Added an extra ignore.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269647 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
f09afe103c
i18n'ed TaskContext implementation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269646 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
5f35e5e952
Moved DefaultTaskContext class to workspace package as it is only used in that package.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269645 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
23b2b6949a
Removed unused import.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269644 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
83dcf695df
Added TaskContext.createSubContext( String name ) so that it is no longer necessary at all to know the underlying implementation - even when creating container tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269643 13f79535-47bb-0310-9956-ffa450edef68
24 years ago