Jacobus Martinus Kruithof
3ade0b6e76
Pr 44544: Deadlock between in, out and err in the redirector.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@741554 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jacobus Martinus Kruithof
e1dba00d6f
deprecated since
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@741513 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jacobus Martinus Kruithof
61f6e3225c
Marked the DeweyDecimal in extension package deprecated.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@741512 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jacobus Martinus Kruithof
4f5c703579
Deprecated the public DateFormat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@741506 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jacobus Martinus Kruithof
2e2292e576
Removed the own implementation for creating a temporary file, in case deletion of temp file fails, added it as candidate for deletion on exit.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@741505 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
817fd31998
fix a bunch of findbugs reported problems in the zip, tar and bzip2 classes. PR 46661
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@741089 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
b27fa7d06f
indentation changes only
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@740597 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
2d1ac70e3b
fix XMLCatalogTest on Java6
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@740595 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
6cc73a7365
Use a real transformation error instead of an XML parsing error in testTransformationError
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@740025 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jacobus Martinus Kruithof
8c3c62ba7c
Do not filter out AssertionError bugzilla 45631.
Also some corrections and still avoid inclusion of the AssertionError "Caused by" line as originally present when converting to AssertionFailedError.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@739873 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jacobus Martinus Kruithof
485c20f2f6
Another thread-unsafe date formatter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@739865 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jacobus Martinus Kruithof
9c88ea5b4b
Original toString would always throw a NPE.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@739577 13f79535-47bb-0310-9956-ffa450edef68
17 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
Jacobus Martinus Kruithof
2ca342fb2a
Fixed some obvious errors. (Formatter class is not thread safe, equals from string to another object).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@739572 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jacobus Martinus Kruithof
24fe82e433
Adding task to provide host info, requests in bug reports 31164 and 45861.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@739567 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
e73a7f649f
Ignore ZIP extra fields that don't contain the recommended header+length structure - this is what unzip does as well. PR 42940
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@739300 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
499deaa377
Include information about the XSLT processor found (if any) in -diagnostics. PR 46612.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@738872 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
601cdf67ba
Make sure ZIP archive is closed even when a RuntimeExpection occurs. PR 46559
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@738853 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
8d48bc6799
Move the zip package into a Java 1.4 world
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@738844 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
130b9317ef
support source/target on gcj. PR 46617. Based on patch by Paweł Zuzelski
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@738761 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
ca4b6cc233
turn Jesse's testcase in PR 45902 into an AntUnit test (failed before applying revision 738330 and passes after it)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@738412 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jesse N. Glick
970247d771
#45902 : <zip> (without dofilesonly="true") sometimes recreated archives unnecessarily.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@738330 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
8efbd0e19b
need to add a path separator after the first path element, not before it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@735676 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
2126e623b1
restore stuff accidentally blown away
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@735080 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
2c7748a3fc
PR 46527; sort losing equal entries
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@734866 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
b7858a9322
pathconvert preserveduplicates
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@734864 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
23b6d1df60
failing test for PR 46257
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@734819 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
19b0436737
REALLY antunit-ize the test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@734788 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
8031d7c31b
move resource comparators tests to antunit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@734784 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
705993f911
don't automatically assume a to pattern contains a * in globmapper. PR 46506.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@733729 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
7d23a63fb6
test for PR 46506
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@733707 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
e84c70cd16
rename test, remove unneeded tasks, add some assertions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@733706 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
8557fcb144
tiny refactoring. Allow JUnit task to be less concerned about formatters (right now formatters could close System.out/err unless they guard against it).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@732010 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
2f46b6af93
most likely fix PR 46480
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@731951 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
77cc5846cb
sleep a little longer during tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@731937 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
6c29cfdd70
make checksum's totalproperty platform independent. PR 36748.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@731889 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
aee67d5f1e
testcase for PR 36748
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@731843 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
e6d58bd9dc
Passing test for PR 35634
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@728058 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
6cc29239b3
make diagnostics check the file it has just written in order to detect full filesystems. PR 32676.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@728019 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
948e2c6f0d
passing unit test for PR 29460
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@728016 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
10f8a113ac
now that slowScan is fixed, I realized that Sync cannot use it. Full implementation of PR 43159.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@728003 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
66b7fa5b87
slow-scan was broken for recursive exclude patterns since contentsExcluded was added about four years ago
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@727993 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
c807cf91c6
properly handle non-recursive excludes (breaks one other test because of the same slowscan bug that I'm going to fix later)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@727978 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
dd72ac08ff
Avoid slow scan unless it really is required
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@727977 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
cd22c5c17b
another sync preserveintarget edge case
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@727751 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
7b84ae34e5
partial implementation of a new preserveemptydirs attribute for sync's preservintarget. PR 43159. Unfortunately DirectorScanner.slowScan doesn't work as expected and I'm running out of time before a meeting, so I'm commiting it unfinished.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@727750 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
b1cc0a4edb
slowscan has been broken, no idea since when.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@727739 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
4f0c76df89
refactor sync tests in preparation for more changes WRT PR 43159
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@727727 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
12d18fd53e
test for 42702
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@724611 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
f4bdfee52e
allow tokens in replacetokens filter to be read from a resource. PR 42702
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@724610 13f79535-47bb-0310-9956-ffa450edef68
17 years ago