Stefan Bodewig
7984fd2400
special handling of IllegalArgumentExceptions in attribute setters for better error messages. PR 47129
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@772606 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
cba01025c0
honor failonerror on connection problems. PR 46829.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@772543 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jacobus Martinus Kruithof
de5ed88e5e
Remove pre java 1.3 construct.
Remove spawn from Execute (spawn from ExecTask is actually used, the one here was never used)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@768513 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
0cda41d5b7
add a force option to signjar. Based on submission by Pavel Jisl. PR 46891
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@763661 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
9aac905f3e
support MSYS/MingW. Submitted by Clement OUDOT. PR 46936
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@763652 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
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
cbd20a77eb
eol-style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@748780 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
2f0ab79127
Adapt to ASF infrastructure change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@745884 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
53691bd662
TestCase for new Unicode extra fields, based on submission by Wolfgang Glas. Merge from commons-compress
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@745859 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
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