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
Jacobus Martinus Kruithof
554adbd008
Minor style updates.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277274 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
e70b911fa5
Random spelling and javadoc changes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277186 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
46ff223e36
Last patch removed some significant logging in verbose mode.
re-added.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277182 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
a51c373c0f
PR: 32566
Real solution to allow big files in a replace action.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277181 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jacobus Martinus Kruithof
c8c751af8e
PR: 13690
Patch that reduces the memory need of the Replace task,
by not creating duplicates of a lot of strings.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277178 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
3f31dc8f7a
Make Jikes happy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277030 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
b3b1c6dcc6
Close property file.
PR: 30469
Submitted by: Juerg Wanner <juerg at pyx dot ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276873 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
Stefan Bodewig
6b62a56cce
More robust cleanup of temporary files, PR 17512
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275490 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9434671efa
removing enum variable
PR: 22345
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275074 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
640b7f41f0
Prevent \r\n from being changed to \r\r\n under Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274962 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d589263f67
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274945 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
24eb5693d6
Coding conventions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274859 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
b498a4535a
Use the new FileUtils#rename method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274714 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f1122490cd
More code reuse
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274510 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1aca5cf036
Avoid reusing StringBuffers to work around JDK 1.4.1 memory leak.
I'm sure that my changes in most cases are of the paranoid type,
ResourceUtils and FixCRLF look as if they really had a chance of
running into trouble.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274397 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
8d84ae5aef
fix misleading message in <replace>.
PR: 14315
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273505 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
Jon Skeet
c97bf5babb
Fixed up JavaDocs (where possible) to remove warnings (mostly about breakiterator).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273159 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
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
Conor MacNeill
80080d456c
Reduce a small number of long lines
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272443 13f79535-47bb-0310-9956-ffa450edef68
24 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
24 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
24 years ago
Conor MacNeill
3518a35d47
Bring all headers into line
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272404 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
12a8163d89
Document new replacefilterfile attribute of <replace>
PR: 7320
Make sure <replace> resets its state.
Cosmetics.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272398 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
1f3caa57f6
New attribute for <replace> that allows all properties of a given
property file to be used as replacefilter.
PR: 7320
Submitted by: Wolfgang.Jakel@lutzwolf.de
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272203 13f79535-47bb-0310-9956-ffa450edef68
24 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
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
961daf412a
Fix unecessary cast
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270899 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
Steve Loughran
5aae1b3e8d
Erik's big javadoc fixup, bugzilla ID #4992
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269989 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
150b0c8bba
Make <replace> more robust by:
(1) making sure that files will be closed
(2) deleting temporary files
even if something goes wrong.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269961 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
Conor MacNeill
e90841384e
Fix up cut and paste error - oops - Thanks Sam
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269722 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
304895ce62
Add encoding to <replace> task so that replace can work on double byte
characters
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269721 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
6ed54839c9
Produce a summary, on request, of the actions taken by the replace
task
PR: 956
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269409 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
54dc62a542
Remove unnecessary use of Project.resolveFile by converting arguments to
Files from Strings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269286 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Sam Ruby
cd70defe84
Fix an ArrayIndexOutOfBoundsException when building dom4j on Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269035 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
f8f5fb01a4
Make <replace> work for multibyte character sets.
PR: 1208
Submitted by: AKIMOTO, Hiroki <akky@bigfoot.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269005 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
9f05cd3fd9
And token attribute of <replacefilter> must not be empty either.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268482 13f79535-47bb-0310-9956-ffa450edef68
25 years ago