Stefan Bodewig
|
d064f5f7d3
|
ensure isLeadingPath cannot be subverted by too many double-dots
https://bz.apache.org/bugzilla/show_bug.cgi?id=62502
|
7 years ago |
Stefan Bodewig
|
8cfee71c77
|
document what FileUtils#normalize does in a certain edge case
|
7 years ago |
Stefan Bodewig
|
29d13b436a
|
clarify handling of symbolic links
|
7 years ago |
Gintas Grigelionis
|
67f29ce0c2
|
Let’s use doclint
|
8 years ago |
Stefan Bodewig
|
18877234f2
|
accept generic exceptions because of backwards compatibility
|
9 years ago |
Stefan Bodewig
|
ac1b7652dd
|
Sonar false positives for resource leaks
|
9 years ago |
Ville Skyttä
|
8a597546b8
|
PR 56749 Javadoc 1.8 fixes, submitted by Ville Skyttä
|
11 years ago |
Stefan Bodewig
|
326b38f701
|
assorted micro-optimizations by Adrian Nistor - 13 different Bugzilla issues
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1554813 13f79535-47bb-0310-9956-ffa450edef68
|
12 years ago |
Stefan Bodewig
|
234c1d9ff4
|
weed out race-condition in mkdirs calls inspired by PR 55290 and Matthias Bhend's suggestion
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1554403 13f79535-47bb-0310-9956-ffa450edef68
|
12 years ago |
Nicolas Lalevee
|
b031b8766d
|
getAbsoluteFile is useless since as the javadoc of File.toURI clearly explain, produced URIs are absolute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376167 13f79535-47bb-0310-9956-ffa450edef68
|
13 years ago |
Nicolas Lalevee
|
62ebdd1f76
|
organize imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1376012 13f79535-47bb-0310-9956-ffa450edef68
|
13 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 |
Stefan Bodewig
|
5f20b99140
|
microoptimizations. PR 50716
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1066963 13f79535-47bb-0310-9956-ffa450edef68
|
15 years ago |
Stefan Bodewig
|
a28f64f5cf
|
fix a bunch of warnings you get when building on Harmony which uses Eclipse's compiler. There are still lots (more than 100) of deprecation warnings and warnings about missing serialversionids that I have ignored.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1037691 13f79535-47bb-0310-9956-ffa450edef68
|
15 years ago |
Stefan Bodewig
|
38cd07c803
|
don't rely on IntorspectionHelper normalizing file names in signjar. PR 50081.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1026982 13f79535-47bb-0310-9956-ffa450edef68
|
15 years ago |
Stefan Bodewig
|
0c08ce1f0e
|
Avoid NPE in createTempFile if no prfix has been specified. PR 49755
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@986226 13f79535-47bb-0310-9956-ffa450edef68
|
15 years ago |
Stefan Bodewig
|
3209b4182f
|
allow file names to be 'fixed in case' on Windows. PR 41948
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@954785 13f79535-47bb-0310-9956-ffa450edef68
|
15 years ago |
Stefan Bodewig
|
35e9c976ac
|
be consistent when it comes to overwriting read-only files, add an option to do just that to <copy>. PR 49261
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@942752 13f79535-47bb-0310-9956-ffa450edef68
|
15 years ago |
Stefan Bodewig
|
38446ae431
|
looks as if bug 41948 was reappearing on Win7, needs further inverstigation - add some diagnostics
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@936720 13f79535-47bb-0310-9956-ffa450edef68
|
15 years ago |
Stefan Bodewig
|
6cb11c4a23
|
try a bit harder to close the archive when reading a build file. Since that still doesn't work, add a task to brutally close jars and use it in import-url-test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@890827 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Jesse N. Glick
|
028ba47c82
|
Some miscellaneous updates given that JDK 1.4 can be assumed.
The biggest outstanding JDK 1.3 code is in Locator but I am scared to touch it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@808156 13f79535-47bb-0310-9956-ffa450edef68
|
16 years ago |
Jacobus Martinus Kruithof
|
d534f1e1a1
|
Math.abs(rand.nextInt()) may yield negative value. rand.nextInt(Integer.MAX_VALUE) seems to be what was meant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@739575 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Matthew Jason Benson
|
3ae69e82c3
|
add Appendable interface with echo as first supporting task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@713173 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
d754a20c3f
|
Take advantage of Java 1.4
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@711835 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
167630e641
|
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@703153 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
6b265b5612
|
use the same logic as <delete> if deletion of a recently closed file fails on Windows during rename. PR 45960.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@703151 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
9f30d05509
|
factor out symlink methods into a separate utils class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@702350 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Stefan Bodewig
|
f625d964c0
|
delete broken symbolic links. PR 41285
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@693071 13f79535-47bb-0310-9956-ffa450edef68
|
17 years ago |
Peter Reilly
|
6352c4ac1c
|
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@615452 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Jacobus Martinus Kruithof
|
46bf9d8c85
|
improved lay-out + add since ant 1.7.1 instead of 1.8
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@608999 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Jacobus Martinus Kruithof
|
94dd480d07
|
request from cactus team, backward incompatible change in FileUtils made backward compatible
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@608939 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Steve Loughran
|
ad82fe67bd
|
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@589762 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Peter Reilly
|
ac16a45be3
|
magicnumbers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@579953 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Peter Reilly
|
95a74e9637
|
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@574889 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Jacobus Martinus Kruithof
|
7e05b3d981
|
pr33969: tempfile task / FileUtils.createTempFile now actually creates the file.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@574339 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Peter Reilly
|
529a3f8250
|
revert readfully change, add in safeReadFully
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@572363 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Peter Reilly
|
a9592b869e
|
Bugzilla 43292: filtermapper could throw an NPE. - change FileUtils to return an empty string rather than null for zero-length files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@572302 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Peter Reilly
|
17137c34f7
|
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@564912 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Peter Reilly
|
424bee292b
|
checkstyle: remove trailing ws
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@564891 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Matthew Jason Benson
|
c0649769e0
|
fix the filename case junk again without relying on OS-level tests; reverting earlier changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@552350 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Matthew Jason Benson
|
adb161cdc4
|
fmting; tiny refactorings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@552042 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Matthew Jason Benson
|
c717727548
|
detect cs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@549684 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Antoine Levy-Lambert
|
e52412cab9
|
restore detailed import lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523683 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Antoine Levy-Lambert
|
25b1695de8
|
adding since tag for new method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523682 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Antoine Levy-Lambert
|
1e4c39fb60
|
adding a method to find wrong cased files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523681 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Steve Loughran
|
b73a3b386a
|
no need to mark static methods as final
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@520384 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Kevin Jackson
|
aa90e61cd6
|
-revert to non-reflective close
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@519857 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Kevin Jackson
|
8a9e8a9034
|
-sorry prevent NullPointerException
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@518897 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Kevin Jackson
|
08ece01ed6
|
-use reflection to avoid duplicated code for close (various things that can be closed)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@518896 13f79535-47bb-0310-9956-ffa450edef68
|
18 years ago |
Peter Reilly
|
9dfd03133b
|
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475983 13f79535-47bb-0310-9956-ffa450edef68
|
19 years ago |