Jan Materne
83624c3b00
JDK 1.2 compatibility
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@499323 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
bddca28a0f
fix binary append; BZ 41399
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@497528 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
Kevin Jackson
c653fb3069
- fix broken build - change to ConcatResourceInputStream wasn't completed here in Concat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450679 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
7f1c9c1617
remove unnecessary parens
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450606 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
Antoine Levy-Lambert
e02b442a00
use FileUtils in a static way - submitted by Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@328709 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
aa64100b48
Fix (add!) outofdate check as indicated by Martijn. D'oh!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278424 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
c5a01d909c
Removed unused local variables.
I think there is an error in ConCat, see added comment.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278420 13f79535-47bb-0310-9956-ffa450edef68
20 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
fbb9886634
ResourceCollections
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278337 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jacobus Martinus Kruithof
fa038427c2
Removing constructs to close streams that catch Throwable -> FileUtils.close.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278328 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Stefan Bodewig
2a291dca92
Various javadoc and code-style fixes by Kev Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277868 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
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
Jacobus Martinus Kruithof
6653c42a77
If we can use File.getParentFile, there is presumably no reason to use FileUtils.getParentFile, right?
(Comment re-used from jglick)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277179 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
5cdf6b2b0c
Invoke static methods as static methods.
Submitted by: Kevin Jackson
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277022 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
a340fef0f6
Concat task instance could not be run twice
PR: 31814
Reported by: elara at smartops dot com (Eduardo)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276953 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
9ce9807430
Add a binary flag to the concat task
PR: 26312
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276496 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0852629ad9
Concat throws ArrayIndexOutOfBounds with fixlastline
PR: 28820
Reported by: Andre Vanha
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276440 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
e2a62c3179
Fix off-by-one error in concat with fixlastline="yes"
PR: 25464
Obtained from: wang liang
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275773 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
04e509253f
call replace properties for header or footer elements of concat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275709 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
8268a3c4e4
Spelling
Submitted by: Larry Shatzer (Larry dot Shatzer At Spirent Dot Com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275235 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
3396e7c321
Remove direct call to deprecated project, location, tasktype Task field,
replaced by an accessor way into tasks.
Remove too some unused variable declaration and some unused imports.
PR: 22515
Submitted by: Emmanuel Feller ( Emmanuel dot Feller at free dot fr)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275133 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
Peter Reilly
777590134d
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274953 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
bf8f58b721
Ensure text is added
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274867 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d5cd6b10bc
Checkstyle changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274786 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
06880eabdd
outputencoding and fixlastline attributes for <concat>
PR: 12511
Submitted by: Peter Reilly <peter dot reilly at corvil dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274557 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
1d1f2da180
Import cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274483 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 years ago
Stefan Bodewig
88dcebf815
Various <concat> enhancements.
PR: 18166
Submitted by: Peter Reilly <peter dot reilly at corvil dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274341 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
e9413cdd92
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274118 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
dd4954b1b6
Turn warning about input = output into an exception. Filling up your disk
is not a good behaviour.
PR: 17154
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274117 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
Costin Manolache
fb0294a200
Call direcltly project ( all other tasks do this )
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273714 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
de06c1b597
Don't add newlines in <concat> that haven't been in the files
originally - no matter what encoding.
PR: 12511
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273553 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
ec3031196a
Print a warning and don't create an output file if there is no input
to <concat>.
PR: 14310
Submitted by: Gus Heck <gus.heck at olin.edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273539 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
abd749ac59
Fix NPE in <concat>.
PR: 14310
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273518 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
28b68ab7d0
Encapsulate usage of project object rather than allowing objects 7 subclasses acessing a protected variable of their super super super .... class.
Deprecated the variable so that that anyone directly referencing variable will get warning and suggestion to use the accessor.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273155 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
Conor MacNeill
73b98db5da
Remove unused import statements
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272434 13f79535-47bb-0310-9956-ffa450edef68
23 years ago