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
Stefan Bodewig
393113dc69
record task doesn't work properly with subbuilds. PR 41368. Submitted by Greg Schueler
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793792 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
0768b9b643
filesetmanifest=mergewithoutmain didn't work for nested manifests. PR 29731.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793787 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
e8e131fdfc
testcases for PR 43114
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793562 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
3499194926
try to unwrap ScriptException - unfortunately it doesn't seem to work - PR 47509
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@793540 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
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
2fa45322bf
add a passing testcase for PR 47470
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@792943 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
b1315e5e62
additional tests for new prefix/suffic attributes of command line args. PR 47365. Submitted by Martin von Gagern
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@791400 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
50f09a9b54
don't put test files into the source tree
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@789284 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
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
65434f5a37
test fails in 'svn export'ed directories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@784128 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
3b47767f67
show that .svn is excluded by default, independent of platform
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@782943 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
467da82305
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@782935 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
120dcf4e55
clean up test files/dirs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@782934 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
89468d6315
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@775912 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
f7477d1b20
testcase for PR 47196
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@775911 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
347bbc40b5
tests for PR 47168
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@773568 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
8ef3166add
make test pass for me - it could be that ASF's infrastructure is using Geo-IP information in DNS, though
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@772636 13f79535-47bb-0310-9956-ffa450edef68
16 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
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
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
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