Stefan Bodewig
c04d3e26a9
if specified stylesheet doesn't exist, log the file resolved relative to project rather than the task's basedir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1203162 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
394f665213
no reason to log at ERR if a URL doesn't exist and all we do is checking whether it does. Addresses PR 51802
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1203160 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
61ade34e43
#51049 : <junitreport> mishandled ${line.separator}.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1199931 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
b31adfe835
JUnitReportTest.testStackTraceLineBreaks was failing for me.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1199924 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
6516a3d24d
JUnitReportTest.testEmptyFile was failing for me.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1199922 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
6923618f30
whitespace only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1190244 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
5ecf92bf58
add an option to suppress the artifical package-info.class files created by <javac>. PR 52096
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1190243 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
ea4b41e1d9
make loadfile/resource less noisy for empty resources when asked to be quiet. PR 52107.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1190219 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
28c651a95a
Empty package-info.class is created in wrong directory if no destdir is specified. PR 51947
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1178820 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
cba6d868a8
Make <move> use tryHardToDelete under the covers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1177307 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
ececc5c3e3
Add an option to <delete> to run the GC before retrying a failed build on non-Windows OSes as well. Might fix the NFS problem described in PR 45786
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1177305 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
d0d1325e54
provide read access to Mkdir.dir. PR 51684
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1159661 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
735f3fca3e
#51668 : JAXP regression preventing <junitreport> from working in JDK 7 w/ SecurityManager.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1158470 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
ed37e77d9e
Fails to reproduce https://netbeans.org/bugzilla/show_bug.cgi?id=201022 but might as well leave it here.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1158454 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
021d52822a
make AntClassLoader$ResourceEnumeration adhere to the Enumeration contract. PR 51579
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1155197 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
d121ce11a1
never filter out the first line of the exception stack trace in junit so the failure message is preserved
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1154551 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
087f028977
JUnit's filtertrace swallows the assert failure message if it contains the word 'more' as reported on the user list - http://mail-archives.apache.org/mod_mbox/ant-user/201107.mbox/%3CCAPsH_EDFnhkW4Y4r87U2jmN2gKPAyK6ZJX5F-4ohC6tJ9rXi6Q@mail.gmail.com%3E
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1154190 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
7d02a9f6cf
there is an off-by-one error in the loop that searches for the 'end of central directory record'
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1154107 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
d25f4c4021
finalize deflater instance in ZipOutputStream.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1153485 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
e2dcc15e5e
complete task cleanup, likely not necessary but looks better
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1151714 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
045ec77262
restore RCW id once augment has performed its job so it can be reused by other targets. PR 50894
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1151473 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
1a514800ae
no reason to keep a reference to the enclosing Restrict instance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1151388 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
82642e35eb
when working on resources <sync> forgot about the source resources that are not out-of date. PR 51462
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1151386 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
6f56a47261
support multiple resource collections in sync. PR 51462
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1151369 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Nicolas Lalevee
38700692d4
BR 51161:
- don't close System.in otherwise it won't be readable anymore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1151269 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Nicolas Lalevee
309943afdb
BR 41986
- add a quiet attribute to the copy task to not print warning messages
Thanks to Timoteo Ohara
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1150331 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
ec8453fec5
FindBugs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1148910 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
c4c9d2552b
clean up Inflater instance as some JDKs won't do it for us. PR 42696. Submitted by Mounir
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1146020 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
a4c396da18
Using apparently official URL base, at least according to the HTTP redirect.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1140351 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Nicolas Lalevee
49c8751e25
Fix for BR #48789 .
Handle an IOE with "Pipe broken" just like a one with "Write end dead". They are raised for the same reason but not at the same time.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1097584 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Nicolas Lalevee
f60db19864
Revert commit #1095768 on java.xml and fix the redirector to not funnel streams if there is an errorProperty set
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1097261 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Nicolas Lalevee
7396577cf8
Improve javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1097260 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Antoine Levy-Lambert
4491aae66b
Missing space between finished and timestamp in task/target finish message from ProfileLogger, bugrep 51109
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1096209 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Antoine Levy-Lambert
a260fdb09e
accept sh.exe from env.Path as well as from env.PATH to be able to run the tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1095784 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Antoine Levy-Lambert
ab38cf7504
tweaking tests affecting by having made flush a no-op in fixing bug 50507
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1095768 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Antoine Levy-Lambert
fd52ae619b
Exec task may mix the stderr and stdout output while logging it. Bugzilla 50507
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1095736 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
171a1f35e3
raise a more useful error when a class cannot be loaded because of a SecurityException in the hasmethod condition. PR 51035.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1095270 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Antoine Levy-Lambert
f1091d6ac4
I had hardcoded the test.can.run property, also I had emptied the cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1095224 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Antoine Levy-Lambert
1369b7ee39
creating test for bugrep 50507 Exec task may mix the stderr and stdout output while logging it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1095222 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
d2693fcfed
commons-net trunk has removed all static final ints from FTPReply
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1092610 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
4b3719fe42
readFully(), then index into a char[], rather than calling substring(1) after each read() call
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090450 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
314d4d7ba7
Bug 51044 - Allow a <propertyset> in an <expandproperties> filter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090431 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
4b329724cc
sp
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090430 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
17520fdfdd
add basic functionality test for expandproperties filter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090366 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
65df42db53
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090356 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
14ea08b49e
Resource collection implementation of mapped PropertySet returned unusable resources.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090354 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
5909b77dc4
add a basic resources test, plus a failing test demonstrating that propertysets with mappers don't function properly wrt returning resource iterators
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090350 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
778d54d381
move propertyset test to antunit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090340 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
9af2cd23bf
fix fileResource specified using basedir/name attributes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090325 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Matthew Jason Benson
5ba5cd0725
add (failing) testcase that exposes a current weakness of fileResource
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090323 13f79535-47bb-0310-9956-ffa450edef68
14 years ago