Jan Materne
94232b62a9
Better documentation of getSubProjectExecutor()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@761528 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Matthew Jason Benson
d7c3883e53
document SecureInputHandler and add to known input handler types
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@759322 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
9922008d65
Improve bzip2 performance, submitted by Rodrigo Schmidt, PR 24798
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@759138 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a29bda0274
properly set the size of directories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@755473 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
54166cfaf0
deal with file system roots being added - was leading to IndexOutOfBoundsExceptions in File-arg constructor
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@755231 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Steve Loughran
c75a494bd8
Bug 46812 - <tarfileset> no longer takes a fileset ref (regression)
-changed the overrode the Datattype.getCheckedRef() logic in ArchiveFileSet, delegating to the overridden getRef in all such cases; the subclasses all do their fileset imports there. Added a test. Not changed WHATSNEW unless there's evidence that this test fails in Ant1.7.1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@751695 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
272ec48fce
ensure the same encoding is used for name and comment in all places. Submitted by Wolfgang Glas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@750311 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
f21a51dfd3
even more encoding options for zips
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@750072 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
6cd0de1022
Parse central directory part of ZIP extra fields. PR 46637
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@749610 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
6c0ab4d9ac
typos and unused imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@749527 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
752d64fa43
improved zip-encoding support for JDK < 1.5, submitted by Wolfgang Glas, merge from commons-compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@749368 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
a8c2ab1868
provide options for enhanced encoding support in ZIP, document it. Many thanks to Wolfgang Glas who provided most of the test input as well as patches the new support is based on.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@748593 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
3b7986524b
fix self-assignment
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@748416 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
8a183a492d
optionally read/write InfoZIP unicode fields, merge from commons-compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@748147 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
1113e19f88
sync can cause NPE whith broken symlinks. PR 46747. Submitted by skoppehel at intersoft dot de
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@747004 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
545ff63ab7
use the desired encoding to decode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@747002 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
8264511a27
use nio for decoding of names - merge from commons-compress rev 746933
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@746934 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
fa57759633
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@745932 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
3cb22aa1c6
Support more modern encoding flag where archives signal filenames as UTF-8. Based on submissions by Wolfgang Glas to commons-compress and TAMURA Kent to Ant. PR 45548.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@745930 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
9416f208d9
allow extra fields to be added at the front
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@745537 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
25f451bd36
Add support for InfoZIP invented extra fields for Unicode file names and comments. Submitted by Wolfgang Glas. Merge from commons-compress revision 745528
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@745531 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Steve Loughran
8d0bd81aae
starting the tests for this, fixing the code as the problems show up. Task is not yet ready for use.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@745433 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
ae70a9608b
JDK 1.4 - unfortunately
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@744132 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jesse N. Glick
bba4624fac
#43114 : ensuring that package-info.class is created/touched when package-info.java is compiled.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@743910 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
1fa24dc235
fix linefeeds
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@743227 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jacobus Martinus Kruithof
479a97c386
Bugzilla Report 46659, space missing between define and value in RPM task (verified against help page of rpm).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@742061 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
a40f84b2b9
jdk1.4
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@741630 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
7d2c3a1c0f
provide a finish method separate from close - merge from commons-compress, this time merging the correct revision
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@741618 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
ca6ea64af9
provide a finish method separate from close - merge from commons-compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@741608 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
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
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
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