Peter Reilly
cd466ddf6c
exec task outputted two redundant trailing newlines
PR: 27546
Reported by: marcel at schutte dot com
Obtained from: Martijn Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276221 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cfc35789fc
Wrong condition in flush, submitted by Martijn Kruithof, PR: 27549
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276217 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8a5186ec79
fix if build file name has ../ or ./
PR: 26765
Reported by: Ian E. Gorman
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276213 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
8a0dc2deaf
Make <depend> less verbose if it doesn't do anything.
PR: 27540
Submitted by: Rob Oxspring <roxspring at imapmail dot org>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276202 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
98c3a0ea10
[PATCH] Misspelling: s/occured/occurred/g
PR: 27282
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276200 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6afe11b4bd
tagdiff.xsl got whacked when the apache license got updated
PR: 27057
Obtained from: Ted McElwee
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276191 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
90a2a192dc
This test has been randomly failing on Unix systems ever since their
file system is considered to have a granularity of a second. Give it
the same treatment as Windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276189 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
fbb67ce4ec
Make test pass in Gumpy - at least I hope it does
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276188 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
51b5b08a09
Fix typo.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276185 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
19fe5b25a6
Merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276175 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
7cb8da420e
Testcases for <pathconvert>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276174 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
6483e38771
Add nested <mapper>s to <pathconvert>.
PR: 26364
Submitted by: Peter Reilly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276173 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
2a225a1ba2
More tweaks to the RPM specific section, submitted by Randy Watler
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276170 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
be91e2871f
<apply> with nested <filelist> didn't check out-of-dateness.
PR: 26985
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276168 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
7617c7398a
A new roundup attribute on <zip> and related task can be used to
control whether the file modification times inside the archive will
be rounded up or down (since zips only store modification times with
a granularity of two seconds). The default remains to round up.
PR: 17934
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276167 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
3e7907c855
Fix for duplicate targets in the build file.
In ant 1.5 these were not allowed.
In ant 1.6, with import file's targets being allowed to
be overridden, duplicate targets where incorrectly allowed
in normal build files.
The fix just checks if the duplicate target is defined
in an imported file or in a "main" file.
Reported by: Dominique Devienne
See: http://marc.theaimsgroup.com/?t=107705039100004&r=1&w=2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276165 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
4e15328000
Javadoc all public methods.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276163 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
8cbb49d6a0
nothing wrong with setFailOnError(false) and spawn.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276162 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
feb03ce2d8
added cloning support; bug #27218
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276160 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
e0a983e358
adding hints about presetdef/macrodef to the errors. Now that I am using them, they are the main source of this error :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276159 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
e5fc964411
Throw build exception if name attribute is missing in a patternset
PR: 25982
Obtained from: Jose Alberto Fernandez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276149 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
f3a2a405f5
style check on PatternSet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276147 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a0c2e2864e
MacroDef did not allow attributes named 'description'.
PR: 27175
Reported by: Jayson Raymond
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276144 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
2a1a857ad0
Fix for SQLExec when used with Informix.
PR: 27162
Obtained from: Bohuslav Roztocil
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276140 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
48d010f545
Remove Author for SQLExec:
authors are:
* @author <a href="mailto:jeff at custommonkey dor org">Jeff Martin</a>
* @author <A href="mailto:gholam at xtra dot co dot nz">Michael McCallum</A>
* @author <A href="mailto:tim.stephenson at sybase dot com">Tim Stephenson</A>
conform to stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276139 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
dd0d33bb30
Add nested file element to file list to allow filenames to
contain white space and commas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276138 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
62fcbf852b
stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276136 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6fb42d703d
ConditionBase: stylecheck, also remove author as per apache guidelines (should
be added to style check?)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276135 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5bc8418527
Remove check for author in javadoc class header
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276134 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
036aacdf4d
Autoload of antlib.xml from default namespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276132 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
e435980752
Cause AntLikeTasksAtTopLevelTest to pass on cygwin.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276131 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
6d7fe80488
Fix occasionally thrown IOException when the stream has already been closed
with alwaysCreate.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276130 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b4c31671f5
Allow subclasses of <junit> to plug in command lines of their own.
Submitted by: Mariano Benitez <mariano at fuegolabs dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276129 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
caf0645f58
Another testcase for double target-definition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276126 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
f6c034b007
TokenFilter.ReplaceString only replaced the first occurrence.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276118 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
bbd6a3bd9e
fix for macrodef broken @@ escape handling
PR: 27069
Reported by: Daniel Spilker
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276111 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
7e562b5843
If initialization determines that the corresponding target could not run,
bail out of the test (pass).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276110 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
c97b81b64e
Testcase for duplicate targets. Reported by Dominique Devienne.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276107 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
76a6e36fe5
subant: catch throwables from ant.execute() with failonerror is false
PR: 27007
Reported by: Mariano Benitez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276102 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
91092b4963
Code cleanup.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276098 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
499d174f02
Add several I/O related test cases to <exec> and <apply>.
PR: 26663
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276097 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
1f6115c62f
Redirector exhibited inconsistent behavior with regard to split
output. When sent to file only, files would be created in all
cases; when split file-property, files were only created if
writes were performed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276096 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
94565cfd88
Accommodate Windows bug encountered in both Sun and IBM JDKs.
Obtained from: Java Technology Forums at http://forums.java.sun.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276095 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d3f02f3fad
support the groovy language for the script and scriptdef tasks
Add groovy to the BSF supported tasks
Change the script names to remove <> to allow current Groovy implementation
to work
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276076 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cc9f4f71f5
Be a little more defensive in a protected method of a non-final public class, PR 26737
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276074 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
9a63708727
changes following tests under cygwin
adding a second backslash to variables terminated with a backslash to ensure
also prevent problem with evaluation of test expressions where -f is compared to something else
this error message was happening
+ [ -f = --h -o -f = --help ]
[: --h: unknown operand
+ [ -f = -h -o -f = -help ]
[: -h: unknown operand
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276072 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5811602974
XmlLogger:
Remove tasks and targets from the hashtables when the task/target finished
event arrives.
PR: 25086 (a patch provided in one of the comments)
Obtained from: Artur Lorincz
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276063 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
487f084e0c
Make touchtest pass on Win2
PR:
Obtained from:
Submitted by:
Reviewed by:
Make touchtest pass on Win2K / FAT
Dates earlier than 1990 seem not to work for me
as last modified dates of files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276060 13f79535-47bb-0310-9956-ffa450edef68
22 years ago