Gintas Grigelionis
67f29ce0c2
Let’s use doclint
8 years ago
Stefan Bodewig
82b2e47ba8
remove unused throws clauses
https://bz.apache.org/bugzilla/attachment.cgi?id=33898
Patch-by: Dave Brosius <dbrosius@apache.org>
9 years ago
Jan Matèrne
bf6026a147
organize imports
11 years ago
Jan Materne
bed22b00f7
JavaDoc fixes (for Java8 doclint) - first bunch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1586262 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
5fc48a4bf9
assorted spelling fixes by Lajos Veres - closes #4
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1572981 13f79535-47bb-0310-9956-ffa450edef68
11 years ago
Stefan Bodewig
ecac58c5a2
fixlastline didn't work when the no-arg read() method of MultiReader was used. PR 54672
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1554629 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Matthew Jason Benson
da5f3bfd25
java 5, continued
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1375571 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
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
13 years ago
Matthew Jason Benson
48c55de75f
allow to specify name when using concat as a resource
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1090317 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Stefan Bodewig
6b0cc9488e
wrong assignment after I renamed the parameter. Unfortunately there doesn't seem to be a testcase that catches the error
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@943070 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
c83bf3257f
deal with read-only dest files in echo and concat.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@943068 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Matthew Jason Benson
91df263ee0
Bug 48816 - If <concat>'s first resourcecollection child is a <resources>, any subsequently added child resourcecollection joins the first
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@916372 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
7fdc6df7cb
take advantage of caching in Resources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@806579 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Matthew Jason Benson
1e962d0d6d
make concat support dest resources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@713176 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
ae202f6ff1
allow control over whether <concat> creates a file when there are no resources. Submitted by Mark Salter. PR 46010.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@705626 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
00829ad00c
[43348] Use FileProvider interface
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@668724 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Peter Reilly
529a3f8250
revert readfully change, add in safeReadFully
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@572363 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
e3e9f1e819
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@565102 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
380870c2b2
-remove unused import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@542471 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
d618e1f811
concat fixlastline/nested text regression; PR 42369
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536592 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
b941f2ef44
massive refactorings to Concat: fix failing testcases in HEAD, and implement ResourceCollection
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536579 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
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
20 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