Stefan Bodewig
379895a022
synchronize access to default excludes. PR 52188.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1234276 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
cc47289e1e
#48633 : pass correct parent to loader.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1233420 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
fe829a9d0f
#52382 : <xslt> with redirect broken on JDK 7 when a SecurityManager is set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1222724 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
4dab12fb9c
Use official namespace for Xalan redirect, to work even if using JRE's bundled Xalan (see junit-frames.xsl).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1222716 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
4495b959d9
Should not throw an error if the temp dir does not yet exist.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1222711 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
5b256dff1e
provide control over signature and digest algorithms in <signjar>. Submitted by Wang Weijun. PR 52344
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1221901 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
291e7b0217
Allow retry task to sleep between retry attempts. Submitted by Arjan Veenstra. PR 52076
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1211004 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
0e150acfd4
ZipFile doesn't work properly for archives using unicode extra fields. Port of fix for COMPRESS-164 by Volker Leidl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1210522 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
6000b81daa
LineOrientedOutputStream breaks encoding, this is the reason why the fix for PR 50507 broke outputencoding in <exec>. PR 52283
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1210088 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
8786be5f23
trying to narrow down transcoding error of exec test on Ubuntu. Looks like ReaderInputStream was working just fine
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1210066 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
393f2a2c80
It seems as if jvc didn't like quotes around source file namesin @argfile . PR 31667
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1209446 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
7d1ecbc1bb
don't expand properties twice in attributes of macrodef'ed tasks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1204961 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
589af888eb
-f/-file/-buildfile accepts a directory containing build.xml.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1204655 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
3d53a476cd
this test actually fails but Bug 41400 hides it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1203226 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
e995f38a73
make packagemapper take handledirsep into account. Submitted by Anthony Wat. PR 51086
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1203181 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
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