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
20 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
20 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
20 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
21 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
22 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
22 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
23 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
23 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
23 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
23 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
23 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
23 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
23 years ago
Stefan Bodewig
34528dbf65
spread the usage of JavaEnvUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272552 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
c4266e9250
Coding Standard
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272441 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
c6c232893c
Various coding standard fixes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272418 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
7820c64af8
Use FileUtils instead of yet another touch method in <get>.
cosmetics.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272376 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
7fec7616d1
Changing "ant:task" to "ant.task" to avoid JDK 1.4 javadoc warnings (XDoclet has been modified to handle this separator too).
Updating the majority of the rest of the tasks with the XDoclet tags. The generated defaults.properties is *almost* the same as the current hand maintained one!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271678 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
0b949aa8cd
disable test case that could have never passed (but strangely did for
several months).
Oh, yes, in case I haven't said so yet: Happy new year everybody.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271600 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
10aeeab05b
XDoclet fun!
These are harmless Javadoc comment additions for use with the proposal/xdocs runs.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271582 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
9ddc3dc542
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270891 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f3577cdb5c
License police on task definitions:
(1) Make sure there is a Copyright notice on all files.
(2) Make sure all years in which a file has been modified are
listed.
(3) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
(4) Change some references from Tomcat to Ant.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270658 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
130315b576
Fix bad coding style.
then/else parts of if statement and loop body must always been enclosed
in a block statement.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270631 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
17e5ca8721
Convert tabs to spaces...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270031 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
d12e6411cc
Code clean up:
- removed useless/duplicate imports
- added explicit imports rather than *
- changed specifiers order to be conform to JLS.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269827 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Peter Donald
da882e14dc
Updated Get task so that it supports authenticated URLS.
Submitted by: Gautam Guliani <gautamg@grassroots-tech.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269674 13f79535-47bb-0310-9956-ffa450edef68
24 years ago