Stefan Bodewig
fafd373901
notifyAll instead of notify
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274928 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
cc8099c252
Fix inconsistent synchronization
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274927 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
42e30982ad
Fix incorrect finalize override
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274925 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
153a8fa06c
Fix incorrect equals() override
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274924 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
99067d0607
Add multimapping to the copy and move task
Some slight changes from the orignal patch - rename
of ignoremultiplemapping to enablemultiplemapping and
some checkstyle changes
PR: 21320
Obtained from: Evan Easton
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274923 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
2a713cc02a
Replace == with equals()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274922 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
c961790179
Fix potential stream leak
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274921 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
dc8100463d
Fix potential NPEs
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274920 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
b66c87eff7
Remove reflection which is no longer required
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274919 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d6ae851614
Resolve properties recursively to get a more robust handle on circular definitions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274918 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
10d7667356
resolveAllProperties would be caught in an endless loop when trying to
expand b -> ${a} -> ${a}. It would keep replacing ${a} for ${a} as it
only detected a circular reference if the expansion pointed back to b.
PR: 21825
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274914 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
2366612c9c
New task <jjdoc>.
New attribute outputfile for <jjtree>.
PR: 21526
Submitted by: Jene Jasper <jjasper at abz dot nl>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274913 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7f2763ba2f
remove unused field
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274910 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3b9cd024be
Handle relative DTDs in XMLProperty
PR: 14685
Submitted by: Kimbo Mundy
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274907 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5460755b44
This commit implements:
- addConfigured(Type) to introspection rules
- ant-type magic polymorhic attribute
- allow types that have Project as a constructor to
be used in addName(Type) and addConfiguredName(Type) methods
- allow addName and addConfiguredName methods to have higher
presedence that createName() methods.
PR: 19897
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274906 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
149ce34431
Refactor: move LineTokenizer out of TokenFilter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274905 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
b668edbb68
stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274904 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
ba22cfc85c
typeo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274903 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
cbedf46059
stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274902 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 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
22 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
22 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
22 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
22 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
22 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
22 years ago
Antoine Levy-Lambert
e65fb2c1cc
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274891 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
fc0f15ccca
add space in error message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274890 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
d7b9ddf84d
there was still a little bone :)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274888 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
e955e3d961
removeLeadingPath doesn't work if leading is a filesystem root - found by Antoine
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274887 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
9f66d99a5d
Add comments as suggested by Jan
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274885 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
12383504ac
References not passed by antcall
PR: 21724
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274884 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
4653e638dd
Don't use a data descriptor for deflated entries in ZipOutputStream if
we can seek the output. Use this feature in <zip>.
PR: 19195
Submitted by: Richard Evans <richard.evans@retek.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274883 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
b6caf517ff
Prevent adding sysproperties with a null key or a null value
PR: 21684
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274881 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
0a1f397f17
Correct case of Class-Path attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274878 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 years ago
Peter Reilly
facb8658b2
Fix for NPE reported by Nick Chalko.
When overriding a definition the code did not
check if the old (or new) definitions classes existed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274876 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
96e154c41d
OpenVMS is not Unix
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274874 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
6e4e93280e
Some javadoc'ing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274869 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
Conor MacNeill
02e1648724
Refactor script related tasks into single ScriptRunner utility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274866 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 years ago
Antoine Levy-Lambert
9b3933e4e2
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274863 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
ff164b0006
Add a line ending at the end of the file used for unit test
Fix the code of Translate.java to preserve line endings
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274861 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
edb91a00f3
allow 2 classes to compile (missing import)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274860 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
00ec1c435a
Last for a while ... :-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274857 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 years ago
Conor MacNeill
410129735b
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274851 13f79535-47bb-0310-9956-ffa450edef68
22 years ago