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
Stefan Bodewig
0a69ae53ef
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274880 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
Stefan Bodewig
f2503b8a60
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274871 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
89a45c4620
Update stylesheets to use Xalan2 redirect.
PR: 21627
Submitted by: Paul Krause
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274870 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
930f2f2030
make the new tests involving case sensitivity or not pass on Windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274864 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
Conor MacNeill
ae3bd3ae51
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274850 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
f3399d5643
More style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274849 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
60f4887526
Style and remove one stray debug
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274848 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
d91a1b5a98
Implement array writes for output processing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274847 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
f81a27d545
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274843 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d15bd65fa5
Fix for serial import relative files bug
The import task now uses getLocation().getFileName() to
get the file that the <import/> task is located and not
the importstack.
Also the canonical form of the imported file is stored
in the importstack.
Changed message if imported file is imported more than
once.
Include unit test for above.
PR: 21662
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274842 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
9c00060b74
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274841 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
4ac04f30c2
Ensure all generated output gets through the output system to the
generating task
PR: 21636
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274840 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
25e76768e8
Expose filename and linecount of location
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274839 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8f8ef9118d
checkstyle
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274838 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
740ed5fbfb
Allow Result Sets and Errors to be processed properly in SQL task with multiple statements
PR: 21594
Submitted by: Jeff Bohanek (jeff dot bohanek at msi dot com)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274837 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7b6a46d131
get the tasks imported using <import> to be placed
in-line and not at the end of the current tasks
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274836 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
b7c2f5f643
Add make's keep-going feature into ANT.
PR: 21144
Obtained from: Alexey Solofnenko
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274834 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 years ago
Stefan Bodewig
b36b5456d7
Demonstrate symlink problem.
With includes="alpha/beta/gamma", gamma must not be scanned if beta is
a symlink.
Fix is in the works.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274832 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 years ago
Stefan Bodewig
3eea43f1a5
Add tests for case insensitive matching.
Both tests with CaseInsensitive in their name fail on Linux, I expect
test2ButCaseInsesitive to pass on case insensitive file systems.
Will be either fixed or disabled shortly.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274830 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d1bb5df72d
PathTokenizer didn't deal correctly with ../ style relative paths
following a colon in Unix style PATH structures on Netware.
Submitted by: Jeff Tulley <JTULLEY at novell dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274829 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
c0e5ece04f
some whitespace changes plus assertTrue -> assertEquals in a couple of cases
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274828 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
02f7f5bc1e
Make toURI and fromURI work correctly on Netware.
Submitted by: Jeff Tulley <JTULLEY at novell dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274827 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 years ago
Peter Reilly
2e6482b287
stylecheck
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274825 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
66b5bf27b7
style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274824 13f79535-47bb-0310-9956-ffa450edef68
22 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
22 years ago
Peter Reilly
baf4809c2c
use for loop instead of iterator when walking the list
of tasks, this allows tasks to be added to the current
list while the list is being walked.
Revert the script test that failed when it was adding
to the current task to test the change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274822 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
743a75153a
Ensure terminated processes are allowed to complete before finishing the
Ant shutdown
PR: 8510
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274821 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
a12cf63191
checkstyle
remainders : mostly instance variables which should be private but are protected or public
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274820 13f79535-47bb-0310-9956-ffa450edef68
22 years ago