Stefan Bodewig
ebac984530
add an attribute that allows symbolic links to be deleted without following them. PR 36658.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@713641 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
789ca1c02e
log correct directory when failing to delete it
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@711180 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
167630e641
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@703153 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
6b265b5612
use the same logic as <delete> if deletion of a recently closed file fails on Windows during rename. PR 45960.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@703151 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
9f30d05509
factor out symlink methods into a separate utils class
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@702350 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
5f31768335
whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@693075 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
f625d964c0
delete broken symbolic links. PR 41285
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@693071 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Matthew Jason Benson
eb12bd93a0
add Project to FileResourceIterator
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@671690 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
Jacobus Martinus Kruithof
051ba1279d
pr 42179: Delete cannot handle (NPE) fileset without file or directory specified.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531575 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
a0c024f4c2
Pr 40972 Directory Deletion Dont Work Properly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@479017 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
Jacobus Martinus Kruithof
13bdae7c19
Added logging of stacktraces of exceptions in logmessage when loglevel = debug.
Made first use of this logging in the Delete task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475788 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f0e86c70ce
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@471562 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
Antoine Levy-Lambert
26498d6bc5
<delete> doesnt delete when defaultexcludes="false" and no includes is set
fixed. Bugzilla 40313.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468724 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
Kevin Jackson
7ee236d89f
fix bug#32738, implement quiet check for every message logged
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@395510 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
c734277e04
Use task project when filesets don't have a project, for backwards compatibility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@394979 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
8c725b421b
Remove unused import + removed some commented out code, which has been commented out since its introduction.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@374463 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
456488aec5
fix failonerror="false" includeemptydirs="true"; reported by Alexey.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358653 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
dd6d777fec
fixed fileset deletion slowdown. Bugzilla 37297.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@358627 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
a360e39fa7
<delete failonerror="false" /> was still failing.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@328172 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
2f69b089b4
Don't try to delete nonexistent resources; switched to a single static
reverse filesystem ResourceComparator.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@292236 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
c65205e922
Remove DirectoryScanner import; restructure for taste
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@290772 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
ec53cbb02a
delete + resource collection support
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@280944 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
7e48ae3ffa
I'm so particular about capitalizing "Ant".
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278200 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Matthew Jason Benson
77a6d300bb
typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277147 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
Peter Reilly
ecb175b0a8
Make the deleteonexit warning stronger
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276550 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
9aa711ca63
Add deleteonexit attribute to <delete>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276546 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
Matthew Jason Benson
94565cfd88
Accommodate Windows bug encountered in both Sun and IBM JDKs.
Obtained from: Java Technology Forums at http://forums.java.sun.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276095 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
Jan Materne
3c1db41ac7
New <modified> container.
Bugzilla Report 20474
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275236 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
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
Peter Reilly
33b7e42992
fix for possible race condition on windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274818 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
Peter Reilly
abf3432912
PR: 19897
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
107f11cbf7
Add a new containsregexp selector.
Submitted by: Jay van der Meer <jvandermeer2 at comcast dot net>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274438 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
83a9fbc0bf
<delete> doesn't catch all cases where the implicit fileset gets used
(and may thus ignore some attributes or nested selectors).
On a side-note. I found it amusing to read
* <p>Currently Delete extends MatchingTask. This is intend <i>only</i>
* to provide backwards compatibility for a release. The future position
* is to use nested filesets exclusively.</p>
in Delete.java. This is sticking in there since almost exactly two
years ago. Revision 1.8 2000-10-04. Revision 1.9 went into Ant 1.2. 8-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273428 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