Matthew Jason Benson
4f1e68bd2b
remove what appear to be the last of my formerly habitual uppercase HTML CODE tags ;)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911105 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
0f8c5ae4bf
VectorSet#remove doesn't work if the vector is at its capacity
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910989 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
8a8995b999
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910988 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
58f0bb04db
if user input is compared to fixed strings in a case insensitive manner we should use the default locale. Use Locale.ENGLISH consistently
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910955 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
d58f4d380b
Change more List#contains() cases, most of the changes are unlikely to have a real performance impact since the lists usually are too small
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910889 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
01ca57a317
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910875 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
e310776b9d
embrace Java 1.4 and use LinkedHashMap instead of a Hashtable and a separate index to keep insert order
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910874 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
70c93da9ae
a few more O(n) lookups where O(1) would be possible - optional tasks not checked, yet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910832 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
ba12ac85f4
better use the full potential of a Hashtable. PR 48755. Submitted by Marc Bevand.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910825 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
f665a4d335
accept a wider range of existing zip archives by being more lenient when parsing extra fields
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910537 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
77cba689ce
fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@909962 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
49a001d9c9
make comparision locale insensitive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@909469 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
923ce185dd
fix regression in <ear> that would allow multiple application.xml files. PR 6836
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@908464 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
6d13fceec8
filesmatch throws NPE when comparing texts and the second one has fewer lines. PR 48715
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@908356 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
11b928d06e
Avoid ConcurrentModificationException when iteratong over life-maps. PR 48310
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@908035 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
27e28f4503
fix markup in examples
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@906953 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
ef80c38292
document sortfilter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@906952 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
692c1fe191
flush will be called in any case, make this more explicit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905217 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
74f04b527f
extract method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905216 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
f21a1750ce
More FileUtils.close and a moved flush operation in XMLJUnitresultFormatter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905214 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
14c45a0623
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905180 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
766f151392
a few more places where FileUtils.close can be used + a few places where a BufferedWriter might be unflushed when the underlying stream gets closed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905179 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Antoine Levy-Lambert
59487f22d5
JUnit stack traces were missing when filtertrace="on", the default. Reported by N C, see http://marc.info/?l=ant-user&m=126488326902069&w=1 and http://marc.info/?l=ant-dev&m=126491578731948&w=2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@905136 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
b30e40b92a
sound doesn't work on Java6. Submitted by Ed Brannin. PR 48637
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@904546 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Matthew Jason Benson
9e21237655
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@904217 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Matthew Jason Benson
2e7eacb2b4
javadoc/formatting/protected constructors for abstract classes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@904214 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Matthew Jason Benson
9fd3da80a6
Mapper-aware selectors (depends, different, present) now accept typedef'd FileNameMappers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@904213 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
127dbbc943
Don't add new Date comments each time the file is written. PR 48558
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@902004 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a9f17b8762
don't add the same comment over and over again. Related to PR 48558
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@902000 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c2875d3bd8
only add a newline before the first new property rather than every new one
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@901537 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Steve Loughran
f3502267e5
<scp> task didn't report build file location when a remote operation failed
Bugzilla Report 48578.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@901218 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
098280bc27
make new zipFile signature final
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@901063 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
dd92def3ae
try to make ZipExtraField change in zip backwards compatible for subclasses that override zipFile. PR 48541
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@900082 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
73456f461b
really preserve extra fields
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@900064 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
0591bc2592
try to delete temporary files in fixcrlf. PR 48506.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@898183 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
73a3dfbc27
appendtolines -> suffixlines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@897758 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
510f6b08f6
target-group -> extension-point
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@895567 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
009c4a440c
copy-paste error + @since
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@894464 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
24fbc8626d
complement prefixlines with appendtolines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@894462 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
94cf2091bf
document resourcelist and make it available
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@894459 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
1d9f0594cf
reference handling tests for ResourceList
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@894449 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a87dab03d9
a resource collection that reads its members from a list file/resource. Untested and undocumented, likely to be pushed to 1.8.1 unless I'll finish it in time for the RC1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@893843 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Kevin Jackson
2fa25afa49
-remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@893422 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Kevin Jackson
009a578153
-fix typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@893417 13f79535-47bb-0310-9956-ffa450edef68
16 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
Stefan Bodewig
792092f443
add a debug log statement to increase pressure on GC and hope to avoid PR 42696
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@888888 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
87142931bd
take advantage of FileUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@887990 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
d1e9fb4608
Make sure hashvalue algorithm of modified selector reads the files completely. Submitted by Nathan Beyer. PR 48313.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@887838 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Kevin Jackson
37b4989c05
allow scp verbose flag to actually log info - also makes ssh more chatty
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@885684 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
42b64be716
Trying to improve on r881624 robustness fix:
1. Use FileUtils.tryHardToDelete to delete possibly corrupt properties file.
2. Do not try to delete until after closing output stream.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@883514 13f79535-47bb-0310-9956-ffa450edef68
16 years ago