Jesse N. Glick
ea33301047
#52829 : ResourceCollection now Iterable<Resource>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1326760 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
a28f64f5cf
fix a bunch of warnings you get when building on Harmony which uses Eclipse's compiler. There are still lots (more than 100) of deprecation warnings and warnings about missing serialversionids that I have ignored.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1037691 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
ca1c170b4e
Most probably fix Issue 48972, will close it once I can enable the test and verify the fix (works with a different server)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@932445 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Steve Loughran
f8e0dcd65a
Bug 48833 - NPE in <get>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@917574 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
3935277bce
improve logging
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@818143 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
b1a62de50c
oops
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@818135 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
a920aa9f30
Make <get> support resource collections and mappers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@818129 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
10e250f3b8
Add httpusecaches attribute to <get>. PR 41891
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@807953 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
5c6ae59fcc
configurable number of retries in get, option to skip existing files. Submitted by David M. Lloyd. PR 40058
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@797509 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
0a679803f0
Add a maxtime option to <get> to allow it to escape hanging downloads. PR 45181.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@699324 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Peter Reilly
c4a771c03a
magicnumbers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@577263 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
f3e4a4790e
magic numbers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@576370 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
e24825b3b8
checkstyle: make the execute method a litte smaller
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@490599 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0a5cf98f65
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476580 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f58d3967f0
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470130 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
52831c9ad4
Bugzilla 35619: remove dependency on sun internal base64 encoder
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@440476 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
2e897819a8
copy2license.pl
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@439418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
9103590149
bug 35607 ; Ant Get task downloads unmodified files when useTimestamp=true
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419104 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
653aa05d13
removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278418 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
4ddc8483e0
Base64 conversion of userid:password was (always) broken. The length of
the result was calculated correctly, but was translating two bytes to four instead of three. This would obviously cause buffer overruns.
PR: 34734
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278231 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
0c8407b311
Attempt to fix broken encoding due to miscalculated output buffer.
PR: 34734
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278228 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
81197f555a
Get with usetimestamp did not work when local timestamp roughly >= now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277761 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
43cb5f9b25
get with usetimestamp did not work on Java 1.2 .
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277740 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
257dadeaf0
Make use of FileUtils in a uniform way via the getFileUtils method and a static final reference in the using files.
Also removed unused/* imports along the way.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277295 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
db48fbb829
Various checkstyle violations
Submitted by: Larry Shatzer
And some
(untabify (point-min) (point-max))
on some files.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277063 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
f630ef56ed
Updated <getlibraries> code, plus new classes. After this
checkin I'm about to move and rename some of the existing stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277053 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
7651d02856
1. Updated repository work; now has the following from Russel Gold's contrib
-uses <get> to get
-sets a classpath after
2. some changes to Get to make this work. They also lay the way to adding progress indicators to guis, if that is felt useful in IDEs (it may be, once downloads become more common)
3. starting on security. This will need to work with <checksum> to get done. Currently the md5 can be fetched if asked for, and if so it must exist.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276989 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
fb77359665
Purge of many (but not all) the if-java-1.1 tests in the ant code. I left those in the tests in, and I left the javac and javadoc tests in, as they are more complex. This is the simple set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276382 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
c885f56836
remove authors from files
PR: 27177
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276208 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
278781dcd6
Copyright owner is The Apache Software Foundation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276065 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
66555ca10d
Remove trailing spaces in all java files
in order to make checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276017 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ca1513552f
Switch to Apache Software License 2.0
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
08084b4e5c
Next round of typo fixes by Larry Shatzer
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275242 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
a5ae6a2bfe
Make some private things static
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274929 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3a35c7d914
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274858 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
410129735b
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274851 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
e580392c2d
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274776 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
2e6fb28f46
Provide more feedback while <get>ing in verbose mode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274577 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1dc8a07905
Remove Jakarta Project from license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274040 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
feb447ccc1
Enable <get> compilation without Sun classes.
PR: 16006
Submitted by: Dalibor Topic <robilad at yahoo dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273785 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
8f413c1208
Remove unused imports, remove glob imports, sort imports.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273169 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
f9121ee81e
Encapsulate some fields in Task and add some deprecation warnings to coresponding fields.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273157 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
da5a13f8e4
Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
6bd8d6e938
Merge changes made to 1.5 Beta2.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272967 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
ca91f8cb7e
Merge changes made to 1.5 Beta1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272826 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
ee9c04c4a7
Removed unused import.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272621 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
44f87d3ac9
Diane has volunteered me, errm, I mean, remove dest if <get> fails.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272590 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
df6e16ab5f
Make sure dest file is only created if URL can be opened
PR: 8575
and make sure the output file gets closed in case of an error, while
we are at it.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272588 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
9cf3138baf
reverted the logic in two tasks by accident.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272553 13f79535-47bb-0310-9956-ffa450edef68
24 years ago