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
Magesh Umasankar
eed192aac1
Name of file attachments can be optionally included.
PR: 3024
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270111 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e1ac74c48c
repair the broken logic of my last patch (my fault not the original
submitter's).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270110 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
2ffd04693b
use the same timestamp for all files of nested filesets in <touch> if
no value has been specified.
PR: 2956
Submitted by: richardwan@servidium.com (Richard F Wan)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270109 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e119ca284e
We really want to look for a constructor taking a *Project* argument,
not a possible subclass.
PR: 2652
Submitted by: Robert Watkins <robert.watkins@qsipayments.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270108 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
d53e8a4c2e
Document a known modern compiler on windows bug.
PR: 3345
Submission By: jesse.glick@netbeans.com (Jesse Glick)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270107 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
057c5dad45
perform some sanity checks on mail servers response.
PR: 5273 (but probably doesn't fix it)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270106 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
05b5cb8f3d
Allow <ant> and <antcall> to pass references to the subbuilds.
Submitted by: Matthieu Bentot <mbentot@arantech.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270105 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
52bb31a081
Make Cygwin detection work with newer versions of it.
Submitted by: Bill Burton <billb@progress.com>
This is more or less untested (I can verify it doesn't break building
on Linux or FreeBSD 8-) as I don't run Windows or even Cygwin.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270104 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
ca333df86b
Forgot to apply the filtering stack trace patch...
Thanks to Erik Hatcher for keeping an eye open.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270103 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d5f835f2ac
Minor layout change.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270102 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
3489bebc3d
Documentation patch from Scott Stirling <scottstirling@rcn.com>
about stack filtering.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270101 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
03e7448524
constructor has changed for filtering
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270100 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
c58f8e6e7a
Patch from Scott Stirling <scottstirling@rcn.com> that allows
stack trace filtering for formatters. It will filter out
those unneeded frame from Ant and JUnit so the stack will
be much more readable.
nb: Looks like the JUnit task need serious refactoring since we have
been adding feature incrementally. It starts to be a real mess,
I can barely read my own code :-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270099 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
0752e7dc35
Commit a trimmed list of actions todo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270097 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
48aa9d115e
Added a test for time dependent copy -and the ability to override it.
This is long for a test (=harder to tell which assert failed), but if you are going to sleep between touches then you should make the most of the test.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270096 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
69d796cd1e
Added a test for time dependent copy -and the ability to override it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270095 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
3bad92b009
Removing a redundant check.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270094 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
0562565514
fractional doc clarification
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270093 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Steve Loughran
323d7b6161
little clarification in the code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270092 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
7fbbcdf665
Patch about targetfolder from Steve Cohen.
I also refactored the task a little bit to support directly primitive types such as
int or boolean and fixed a couple of mistakes about error handling in the original code.
It should be a good starting point for further refactoring.
pr: 5138, 5187
by: stevec@ignitesports.com (Steve Cohen)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270091 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
f7def885dd
Added a protected method "recreateSrc" to help task writers who extend
Javac.
PR: 3703
Based on Submission by: bmoriarty@polexis.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270090 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d9171245f6
register style task as error listener to the Trax transformer and
factory so messages will get back to Ant's logging system.
Submitted by: David Leuschner <leuschner-list@gmx.net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270089 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
04a1688d9c
fix testcase that requires /tmp to exist (at least I hope so).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270088 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3433f89463
Advice TaskContainer writers to use Task.perform.
Get rid of javadoc warning in Project.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270087 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d21e6ff3f5
improve documentation of the regexp mapper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270086 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
8e9003672b
Add the new logo proposals to the site.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270085 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
bd3509fb89
Don't punish people who want to modify the values of existing
properties in tasks of their own.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270084 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
aa497f965f
YALP (yet another logo proposal, as Stefan puts it)
Submitted by: nickk <nickk@remoteapps.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270083 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
e241dd137f
Changes to <move> noted.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270082 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
44bbe5b139
Speed up <move>: Try to rename the top directory if we are moving
complete directory trees.
PR:
Submitted by: Magesh Umasankar <umagesh@rediffmail.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270081 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
809dcaf287
enable modified version of the awk test to demonstrate there is no problem.
PR: 4911
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270080 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
d69a1829c1
Ensure maxWaitMIllis and checkEveryMillis results in proper values irrespective of the order in which the setter methods are called.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270079 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
b06aed6911
Update to remove warnings generated by antcall due to last immutability tightening. Did this by adding a protected constructor to property.
Made sure that operations internal to Project could not generate these warnings by adding a new setPropertyInternal method that didn't do any checks.
Also made the getUserProperties and getProperties methods return copies of maps rather than direct references.
Updated WHATSNEW to warn about these issues.
Added some unit tests to verify that property immutability is enforced - where we actually do enforce it ;)
Submitted by: "Erik Hatcher" <jakarta-ant@ehatchersolutions.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270078 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
c3abf0c4cb
Remove some deprecated language features.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270077 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
8ce69f050e
Display to the user another cause of task not found exception being thrown.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270076 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
66716b51ad
Valid values for waitforunit and checkeveryunit provided.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270075 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
dd5b247d5a
More setFoo(String) to setFoo(Bar) conversions.
Didn't worry too much about WaitFor's backward compatibility issues as it is hardly a week old.
WaitFor has ben modified this way so that it is consistent with Tstamp and takes in enumerated attributes for unit instead of allowing arbitrary letters/ words suffixed to the time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270074 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
76fa4670c5
add BCEL to the list of required libraries.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270073 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
3a28c02ef6
setAction(String) replaced with setAction(FTP.Action) for action attribute of the FTP task. setAction(String) has been deprecated.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270072 13f79535-47bb-0310-9956-ffa450edef68
24 years ago