Stefan Bodewig
ddf5cd73c9
check error on remaining PrintWriter instances
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793528 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
d24621d411
potential NPEs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793516 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
104de0d7d2
double buffering
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793510 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
38bbf18dc4
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793509 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
f62d563414
PrintWriter hides exceptions, avoid it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793462 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jacobus Martinus Kruithof
d4071f9eb6
Also allow redirect from http to https a subset of what was requested in pr 47433. Tests from https to http v.v. have also been executed I couldn't find a https space for public testcases though.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793048 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a9c576b742
make the executable attribute of apt inherited from javac work as expected. PR 46230
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@792967 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
5a534d1146
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@792961 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
7f24568899
add a new indexMetaInf attribute to <jar>. PR 47457.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@792960 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
7cb6f4d999
clear out buffer so the last block is always filled with EOF records. PR 47421
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@789556 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
82ae2eb245
Issue a warning in case neither includeantruntime nor build.sysclasspath were set,
since the default gives scripts an implicit environmental dependency which is often unwanted.
See also: http://www.netbeans.org/nonav/issues/show_bug.cgi?id=158958
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@789479 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
0ce2545f6c
add prefix and suffix attributes to apply's srcfile and targetfile elements. PR 45625
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@789271 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c62e477a0b
prefix and suffix attributes for command line arguments, PR 47365, submitted by Martin von Gagern
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@788677 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
183de933a1
explicitly set encoding to iso-8859-1 since this is what Properties.load expects
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@786515 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
ab8c8e14e9
loadproperties' encoding attribute is broken. PR 47382
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@786506 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
38db83d1c8
Don't ignore missing resources in copy when failOnError is true. PR 47362
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@786504 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
18141ca0aa
really add setbeans attribute to scriptmapper/filter/condition. PR 47336
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@783050 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
aaf629b7ab
pass on IOException from Runtime.exec as the old code did - and as promised by the javadocs. This fixes ant-contrib's tests in Gump.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@782990 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
76aa472311
replacetokens failed if stream ends in begintoken. PR 47306.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@781357 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
bbea1d834d
javadoc creation of Ant's own sources failed on JDK 1.4. PR 46731. Patch submitted by Martin von Gagern
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@775914 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
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
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