George Bateman
62963673f6
Reverse dependancy of DateUtils on Touch
Also add test
8 years ago
Matt Benson
b7d1e9bde4
java 5-8
8 years ago
Stefan Bodewig
77fbe3782f
fix the patterns used by touch and date selectors
https://bz.apache.org/bugzilla/show_bug.cgi?id=59909
9 years ago
Jan Matèrne
bf6026a147
organize imports
11 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
Stefan Bodewig
5f20b99140
microoptimizations. PR 50716
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1066963 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
c767541c7d
As Jesse points out, equalsIgnoreCase is not locale-sensitive
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@911324 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
58f0bb04db
if user input is compared to fixed strings in a case insensitive manner we should use the default locale. Use Locale.ENGLISH consistently
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910955 13f79535-47bb-0310-9956-ffa450edef68
15 years ago
Stefan Bodewig
65c667d14c
new islastmodified condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@805265 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Stefan Bodewig
edb0dd9582
use adapter instead of instanceof checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@718387 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Stefan Bodewig
31e1bc0694
use adapter for Touchable instead of instanceof checks
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@718210 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
Matthew Jason Benson
14b1d18621
oops; introduced NPE
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592514 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
771dd67720
BZ 43799 / touch sees e.g. empty fs as unspecified args
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592499 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
d5d9904316
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@572616 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
f14a2ef8c3
Improvement of handling mappers in the touch task. datetime and millis now take precedence over the timestamp on the original file. Bugzilla report 43235.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@571970 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
f958e23640
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470587 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
fe678d1937
roll back deprecation of Project.resolveFile, revert prior changes to code
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@417126 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
4f2ff64361
use fileutils.resolveFile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@414442 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
7eb22e8cdc
indicated when methods/classes became deprecated, as to give us the possibility to remove deprecated methods in the future.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@396012 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
3af551b1bb
support for Touchable resource collections in <touch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@349637 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Peter Reilly
399e3252e2
javadoc
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277936 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
Stefan Bodewig
c4e4dd9bb1
Shadowing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277234 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
fd1350c42a
use Touch#addConfigured(Mapper) rather than add(Mapper) as the mapper is
used in the method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277213 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
1ddaea8055
touch gets nested mapper plus verbose, mkdirs, and pattern attributes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277197 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
4f1313504a
2004
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275874 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
5086d93694
<touch> to handle filelists. Forced me to add more tests for new and existing touch code, and in the process note that the granularity for unix filesystems is not 0 but 1000 milliseconds. oops.
PR: 23526
Submitted by: gudnabrsam@yahoo.com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275869 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
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
ab8b8ef566
Allow <touch>'s datetime attribute to accept seconds as well.
PR: 21014
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274700 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
24436a1c92
Remove email address from sources
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274203 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
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
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
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
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
b7443f2b77
Make sure <touch> and <waitfor> reset their state.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272408 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
85ec35335d
Clean up imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272326 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f7c0a7741d
Add method to FileUtils that emulates File.createNewFile (well, sort
of) and use it in Touch as well as BuildNumber.
Various JDK 1.1 issues.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272157 13f79535-47bb-0310-9956-ffa450edef68
23 years ago