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
Conor MacNeill
3aef6ddcfc
Documentation of inline manifests (at last)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270130 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1318b84a90
remove exit ability from <input>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270129 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
c78d3f894e
Replace ProjectHelper.replaceProperties calls with a new one-arg
method in project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270128 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b251a9a8f5
Make <waitfor> set a property instead of throwing an exception if the
maximum time to wait has been exceeded.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270127 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b546691d3a
Add if/unless attributes to <fail>.
PR: 1380
This is the first step to remove the fail functionality from input and
waitfor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270126 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
a87eaeff37
Things you never knew about this task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270125 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
3b37eee831
has anyone used this task recently? It generates an exec usage complaint.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270124 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
968b951f03
More refactoring, javadoc fixes and spellchecking.
The task is now failing for a failed checkout.
Submitted by: Steve Cohen <SteveC@ignitesports.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270123 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e8f24b5abb
JDK 1.1 doesn't grok UTF16 8-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270122 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
33a75c75d5
simplify DefaultLogger
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270121 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1e65e7f37f
Don't require webxml in <war> or appxml in <ear> if updating an
existing archive.
Submitted by: Stefano Mancarella <mancarella@opoipi.bancaintesa.it>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270120 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
5971a069cf
Properly exclude ejbjar unless BCEL is around
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270119 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
8303dd1fd6
Remove the old mechanism of adding super classes and super interfaces to EJB jars
and replace with a general class dependnecy check. This should allow ejb jars
to be much more complete as per the spec.
ejbjar now depends on BCEL.
Add support for Websphere.
Submitted by: Holger Engels <hengels@mercatis.de>
Maneesh Sahu <msahu@interkeel.com> (Original Websphere support)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270118 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
03d2b1c05f
If running on JDK 1.3 register an exit handler that kills spawned
processes when the JVM exits.
PR: 5125
Submitted by: mnewcomb@tacintel.com (Michael Newcomb)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270117 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2b673beb3f
Don't keep old testcases around when doing a bootstrap build.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270116 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2fedf3b92f
JDK 1.1 issues.
I'm sure the depend classes can be converted to not use JDK 1.2
collection classes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270115 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9a9e3a3581
Use the proper encoding for the default manifest.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270114 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d472edbcb0
Make DefaultLogger a bit more subclass friendly.
PR: 4152
Submitted by: jakarta@ehatchersolutions.com (Erik Hatcher)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270113 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
d7c1a1daa5
task lacked a failonerror flag. sigh. now you can handle a missing server without the build keeling over.
Also now we can start writing some unit tests on this item, no?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270112 13f79535-47bb-0310-9956-ffa450edef68
24 years ago