Stefan Bodewig
cc9f4f71f5
Be a little more defensive in a protected method of a non-final public class, PR 26737
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276074 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
655ad8f525
improved OpenVMS support, submitted by Knut Wannheden <knut dot wannheden at paranor dot ch>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275346 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
9a7f8d24f5
Optimize scanning in FTP.FTPDirectoryScanner, using similar algorithms
to the ones introduced in DirectoryScanner.
There is a gain when
- the include patterns look like some/very/long/path
- the remote file system is case sensitive
- the casesensitive and followsymlinks options of the fileset are set
to true (the default)
PR: 20103
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275120 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
e9d8b2247f
Make the FTP.FTPDirectoryScanner behave like the DirectoryScanner
in terms of following symbolic links which are directories.
This will make a change of behavior in comparison with ant 1.5.3
where the behavior of the ftp task was to never follow symbolic links.
Also select symbolic links which are files
PR: 14063
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275028 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
8b8cea1e30
the method isMorePowerfulThanExcludes was returning false on org/apache/tools/ant/taskdefs
in the run-tests target of our buildfile because of the exclude pattern :
<exclude name="${ant.package}/taskdefs/TaskdefTest*Task.java"/>
:-(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274984 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
6ff7df9601
do not scan needlessly excluded directories
PR: 21941
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274979 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
69d9682d5d
Some tasks rely on the DFS ordering getIncludedXYZ used to provide
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274976 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
5a2fc04fee
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274954 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
3c596d4f5f
Whitespace changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274901 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
add4e21158
One more tweak
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274900 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
7f01b5d121
Now that we avoid double scanning in scanDir, we don't need to perform parent-tests on the patterns anymore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274899 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9e89cec932
Avoid double scanning of directories
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274898 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1ac116d815
whitespace changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274896 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
4000ee7ee6
fix new DirectoryScanner tests, still needs to be improved to avoid double-scanning
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274895 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
1eafac93d3
fix behavior on case insensitive file systems
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274892 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
5ac6359a7a
Add a method in DirectoryScanner to reset the default exclude patterns
Add corresponding functionality in <defaultexcludes>
Update tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274877 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
8585763d20
Fix a problem introduced in the recent optimization of DirectoryScanner :
under Windows, the case of the includedFiles and of the includedDirectories
was influenced by the case used in the include patterns of the fileset.
This change fixes it.
I am using File.getCanonicalFile() because it is the only way I know to get
the real case of a file under Windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274865 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
1f71acf427
Coding conventions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274856 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
729aa048f3
Fix symlink check
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274833 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
dec8af009a
Fix case-insensitive DirectiryScanner - I hope
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274831 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
57f5357a1c
Fix the following (remark of Stefan Bodewig on July 15th 2003 on the dev list)
* You go a long way to avoid redundantly adding patterns in
DirectoryScanner#checkIncludePatterns (the parent check). If the
patterns come in reversed, you'll still have duplicate roots, no? Say
a/b/c is added before a/b is. You may avoid this by sorting the
include patterns first.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274826 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
9e66320fa0
Only whitespace changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274823 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Antoine Levy-Lambert
787728897a
Optimize DirectoryScanner to take advantage of include patterns which are
not beginning with wildcards
PR: 20103
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274819 13f79535-47bb-0310-9956-ffa450edef68
23 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
7f40e9c5ce
retain old array for backwards compatibility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274555 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
f1bc629e34
A new task that allows users to modify the list of default excludes.
PR: 12700
Submitted by: Gus Heck <gus dot heck at olin dot edu>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274554 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Conor MacNeill
710b0e612e
More cleanup
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274444 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
91a07a1f68
Remove the (at least for now) superfluous ResourceScanner interface.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274060 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
07b710cc96
Refactor <zip> and friends.
PR: 10755
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273986 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
b15a6630f0
Give proper credit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273851 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
a9353331a9
Initial fix for the <jar> doesn't update bug, will need some
refinement (see extra mail to list).
PR: 10755
Submitted by: Antoine Levy-Lambert <levylambert at tiscali-dsl dot de>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273848 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Stefan Bodewig
50c532e1a1
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273830 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Erik Hatcher
9b9894a107
added .DS_Store to default excludes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273829 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Magesh Umasankar
3c2bbbcda3
Real tired of seeing email address being abused.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273610 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Peter Donald
63623dae17
Remove unused method
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273471 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Bruce Atherton
01d744455a
Correct javadoc strings on methods that list deselected files and
directories to indicate that they do in fact list files that have
NOT been selected.
Submitted by: JimWright@quick.cz (Jim Wright)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273238 13f79535-47bb-0310-9956-ffa450edef68
24 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
24 years ago
Magesh Umasankar
da5a13f8e4
Merge differences between the ANT_15_FINAL branch and the trunk into the trunk.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273081 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
Magesh Umasankar
f61c1bcd3a
Selectors feature to specify sophisticated selection criteria to create filesets.
Got it in in the 11(and a half)th hour ;-)
Submitted by: Bruce Atherton <bruce@callenish.com>
Docs and testcases to follow in the next few days.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272630 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
0c253dc762
Coding standard conformance
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272320 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Jon Skeet
f458059b9c
Fixed up JavaDoc comments again.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@272049 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
ef3cba5a03
Applied documentation patches sent by Jon Skeet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271414 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Magesh Umasankar
26bfd9b1ec
The pattern definition **/._* has been added to the default excludes list.
PR: 5886
Requested by: gerti-apache@bitart.com (Gerd Knops)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271097 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
3fddc0bcfd
License police on documentation files:
(1) Make sure all years in which a file has been modified are
listed.
(2) Make sure the format is consistent, i.e. separate consecutive
years with a dash, not a comma.
Also: the initial checkin into this CVS module was in 2000, not 1999.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270657 13f79535-47bb-0310-9956-ffa450edef68
24 years ago