Stefan Bodewig
50f9f4ee6f
Add missing import
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275042 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
bd69a79182
2003 and missing license
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275041 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
6e219fff93
Fix extraction of long file names in Tar
PR: 15230
Submitted by: J. David Beutel
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275040 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
24f9da26b5
Issue a warning message indicating that selectors within filesets
are not supported in the ftp task when the fileset is remote
(all actions except put)
PR: 18280
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275037 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
63382d9cbf
Fix the ftp task, its documentation and testcases to maintain backward
compatibility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275035 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
79433b5ab7
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275031 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1c3832c2f3
Added a testcase showing resolution of PR 14063
Ant ftp did not download file it is a symlink
PR: 14063
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275030 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
225b9fd6f9
fix a problem of protected access to FTP.resolveFile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275027 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5d847c583e
Add if/unless attributes to <param/> element of <style/> task
PR: 22044
Obtained from: Jens
Submitted by: Peter Reilly & Jan Mat��rne
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275023 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
bd644923de
test case to show bug report 11418
PR: 11418
Obtained from: John-Mason P. Shackelford
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275019 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
1517fabb41
new test for the ftp task
requires ftp.properties in ant's root directory (with your password in it) and a local ftp server.
The test is disabled by default in build.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275016 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d13027731c
Only calculate the CRC of STORED entries in <zip> if absolutely necessary.
PR: 21899
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275010 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
e7ac20bf98
increase time allocated for shell script to complete,
following failure of the test on August 1st 2003 on cvs.apache.org
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275008 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
45cfe2ada1
add the ability to set the executable used in .net tasks. Why do this
(a) so you can refer to versions off the path (useful for multiple versions)
(b) so you can use other implementations than the windows one.
Specifically, Mono Csharp compiler, msc, apparently uses the same syntax as csc if desired. We will have to test this... I suppose we could test Rotor too, but I cant be bothered
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275000 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
d74422c5bd
Fix invalid URL for property test with url.
PR: 21948
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274994 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
00e6624c19
TestCase fixed, works now also on nagoya (Solaris).
The problem was that I did not allow enough time for java to start.
1 second is OK, 400 millis were not enough.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274993 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
3b3a4cd29f
Add spawn attribute to java task as well
PR: 5907
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274992 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
57823da95d
suppress unnecessary output from the test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274988 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
7fb63d79c6
new testcase
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274983 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
edecdeb15f
adding 3 tests showing how include and exclude patterns together interact
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274978 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
0f80c4436c
JDK 1.2 compatibility
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274973 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
69e7d88d2e
changed the implementation of testChildrenOfExcludedDirectory
to use the new test bed system
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274970 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
3efe482d70
this time, this test really behaves well !!!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274968 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
7aff2d5b92
test really works now, thats better.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274966 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
213a09bb50
Add a testcase demonstrating the use of spawn
PR: 5907
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274964 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
92ff35184e
new testcase to show a problem on Windows with \r\n being replaced to \r\r\n
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274961 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
f3e3462d86
Add antlib xml functionality
This is patch 7204 the fourth patch of the antlib + ns enhancement. The
issues reported by Stephan will need be
addressed, so the implementation may change
before ant 1.6 is released.
PR: 19897
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274930 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
b846bf0a04
Things are even more complicated
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274917 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
5eaf0e1c2a
Show bug I've introduced yesterday
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274915 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
6d1e0a2956
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274909 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6940d37dfe
add tests for addConfigured()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274908 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
Stefan Bodewig
b78dd40387
Some additional tests to increase confidence
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274897 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d58bf0b8ea
better be consistent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274894 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
3203dee26c
More problems with case sensitivity
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274893 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
cc3c93cc08
there was a small bone here too (name of a target was wrong).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274889 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
21b09b4cdd
Typo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274886 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
0a69ae53ef
2003
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274880 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
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
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
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