Jesse N. Glick
c28ec7da7a
#52740 : safer stream closing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1294345 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
5f0f831119
#52738 : safer stream closing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1294340 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
84abb27b2f
#52621 : restore default behavior from #42046 for compatibility, but make it configurable.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1292985 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jesse N. Glick
9140aaae28
#52754 : correcting basedir for external resolver.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1292945 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
e743ff572d
Remove reference to WebLogic and Starteam tasks that have been removed more than four years ago
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1240680 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
6aa0a70ff7
make sure Project#createTask has read defaults.properties. PR 50788
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1240669 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
cd98668053
support for pseudo-terminals in sshexec. PR 52554
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1239121 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
6d9e7cb56e
another readablilty tweak
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1237442 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
0ceef36b90
extract handling of -source 1.1 and 1.2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1237438 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
4a2da130a8
Make the logic that implicitly sets -source more readable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1237434 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
ec4f345742
also set -source implicitly if -target uses 5 rather than 1.5 etc.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1237421 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
7a0427656d
either Java 1.5 accepts -source 1.2 or it doesn't, be consistent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1237420 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
df7e0ca089
five identical assumeJavaXY methods are enough
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1236985 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
132fb32522
OpenJDK8 snaphot works, I have found a new class in java.lang.reflect and OpenJDK's javac defaults to -source 8. No, I don't like the code in DefaultCompilerAdapter either.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1236803 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
40a73d22b7
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1234277 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
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
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
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
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
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
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
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
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