Stefan Bodewig
6aa494cb3e
UniqFilter is not only simpler if implemented as a TokenFilter, it is even more useful as well
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@808304 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
11c355f54f
Taking advantage of Throwable.cause.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@808169 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
efd287b871
More cleanup of pre-1.4 code and docs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@808163 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
028ba47c82
Some miscellaneous updates given that JDK 1.4 can be assumed.
The biggest outstanding JDK 1.3 code is in Locator but I am scared to touch it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@808156 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
7107fa72d3
Now that we have sort, throw in uniq as well
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@808018 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
927fb18631
new filter sortfilter by David Leal. PR 40504
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@808009 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
541157c5de
Add mapper support to <image>. PR 23243. Submitted by Rob Oxspring
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@807633 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
8741512d8c
Make preserveLeadingSlashes in tar work again, was broken by revision 755231
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@807513 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
63c50270df
Test for Gump was not sufficient
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@807189 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
52f34ecb83
resourceexists condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806790 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
b6b81eb5d1
tests can't pass in Gump because Xerces is pushed into the bootstrap classloader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806593 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
82511dabe5
wrong bug number
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806553 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
bfb9681bcb
passing test for PRs 39122 and 44300
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806550 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
433387b88e
delete was scanning the same fileset three times, making modified selector useless. PR 43574
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806442 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
77024a43a2
allow Class-Path attributes to be merged and optionally be flattened. PR 39655
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806174 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jan Materne
72939923a1
<propertyfile> now support deletion of entries
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806154 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
b264711b7e
tests for manifest merging
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806149 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a7b64a73db
the update attribute of the modified selector was ignored. PR 32597
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@805463 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
f1e80a0d1c
passing test for PR 47666
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@805387 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
818ddcf183
add a destdir attribute to rmic so generated stubs or whatever can be put into a different place. PR 20699. Submitted by Mark A. Ziesemer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@805320 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
65c667d14c
new islastmodified condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@805265 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
78f88a7c4a
#43398 revisited: display full stack traces for non-BuildException's, even inside <ant>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@803739 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
b9e04be315
Handle case that test is run on Windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@803726 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
ba8cedaafa
Writing test for #43398 , which is not satisfactorily fixed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@803701 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c338d749d3
executable?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@801814 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
d12b483bb7
executable?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@801813 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
f00dea8ea7
fix NPE when logging an exception without message. PR 47623.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@800678 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jesse N. Glick
091710e028
Depending on exactly how you run 'ant test', its classpath could contain different things; legitimate for ${ant.core.lib} to be a classes dir.
(Would be better if the main build script actually ensured that it was testing the classes just compiled and controlled the test CP;
unless you do e.g. 'CLASSPATH=lib/optional/junit-3.8.2.jar ./bootstrap.sh test' it does not seem to work,
because '/usr/bin/ant test' actually runs tests against /usr/lib/ant.jar etc. Quite a mess.)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@799711 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
44b6fcc184
use the same logic as getResource in getResourceAsStream. PR 44103
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@799650 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a123ff4d3e
example for implementing PR 18656
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@799302 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
30331f07aa
passing test for PR 47602
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@799251 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
160c377d0c
simplify
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@798843 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
77a9566be8
Unused variable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@798841 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
28d7d5d8d3
Huh?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@798840 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
329f6d356a
report name of corrupt ZIP to System.err, PR 47593
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@798838 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
670a91ad2a
passing testcase for PR 47593
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@798782 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c8232ed82c
allow methods other than GET in http condition. Submitted by Robert Clark. PR 30244
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796762 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a1941d875f
META-INF is no longer special in grabFiles, thanks Gump
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796730 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c8e91147e3
properly set CodeSource when loading classes. PR 20174
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796702 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
22d3473e8e
passing test for PR 43994
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796667 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
8ebe808f72
override getResources in a new AntClassLoader subclass that will be used consistently when Ant is running on Java5+. PR 46752
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796647 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
39ff544a60
pretty persistent typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796192 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
c5a945fe3c
Allow users to specify a classpath when using a custom adapter in javac, rmic, javah or native2ascii. PR 11143
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@796188 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
30ebea71bb
fix xmlproperty examples. PR 43583
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794666 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
8df1ef0ecf
make update="true" and filesetmanifest="merge" work together. PR 30751
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794630 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
88bdf1337e
add a delay so new zip is certain to get a more recent timestamp
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794527 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a4c9863544
don't compare timestamps on directories but add missing dirs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794255 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
e24b8aa6a0
new zip logic bypassed overridden method in jar and broke manifest/index logic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794212 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a6e42833f6
preserve timestamps for directories added to a zip archive (and potentially zip extra fields as well)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@794198 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a9aa3e7efe
tests for PR 43946
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793794 13f79535-47bb-0310-9956-ffa450edef68
16 years ago