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
Sam Ruby
203b985a41
Fix compilation errors
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270151 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
67e2ff36a9
Take advantage of StringUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270150 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
c375195b52
Now catching the ExitException that can arise from
running ANTLR in non-forked mode. It implies that
the System Manager is overriden and trap System.exit()
calls to throw an ExitException instead.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270149 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
e1e8891b13
Class the should provide a small set of helper
methods related to string manipulation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270148 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
41893fdb30
Add a security manager that trap System.exit() calls.
Note that this is added in Main only for JDK1.2+
since it looks like the SM is not that friendly
for previous versions.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270147 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3742a036cb
Add pointer to javamake.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270146 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c1522ce56e
remove redundant logging.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270145 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f51a88bc67
Update FAQ about MailLogger
Submitted by: Erik Hatcher <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270144 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ccb4460206
Add documentation on Loggers and Listeners.
Submitted by: Erik Hatcher <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270143 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d2405f4003
fix NPE.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270142 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4f98ab89b6
Fix taskdef testcase in a rather hacky way. This one doesn't address
child elements of user defined tasks that override built-in tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270141 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ce90a68baa
Add a testcase that demonstrates why FOP's build fails right now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270140 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Diane Holt
32b5622cab
Add TOCs for Installing, Using, Running, Developing; add some name tags;
clean-up tweaks here&there.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270139 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
674ef2ee73
Add a BuildLogger that can send emails.
Submitted by: Erik Hatcher <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270138 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
feb7e14e12
If you follow the FAQ, it won't work.
Submitted by: Erik Hatcher <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270137 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3745d5dc70
Add a new inheritRefs attribute to <ant> with a default value of false
that controls implicit copying of references - i.e. we don't copy
anything by default.
Try to copy a clone before copying the real object.
inheritRefs="true" doesn't make any sense for <antcall> as all
references of the calling project will be defined in the new project
and wouldn't be overwritten. That's why <antcall> didn't even get
this attribute.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270136 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
6ef4875d06
Make those types that have internal state cloneable in a sensible way,
take advantage of ProjectComponent, simplify a few things.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270135 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
36f2fcd9b9
Update info on NetBeans, fix some typos.
PR: 5378
Submitted by: jesse.glick@netbeans.com (Jesse Glick)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270134 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ddc395dffa
Add some tests for manifest task - realized that empty manifest aren't
that empty.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270133 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1eb5ef27e1
improve documentation of manifest task, using Conor's patch that
caught me mid-flight as a basis.
We really should coordinate from time to time 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270132 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
ceb720e799
Make Manifest.java a full flegded task that allows you to write a
manifest file.
PR: 5190
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270131 13f79535-47bb-0310-9956-ffa450edef68
24 years ago