Matthew Jason Benson
996e16066a
Add "negate" attribute to <propertyset>s.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276224 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
ce89090b46
Nested file mappers; container mapper.
PR: 26364
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276223 13f79535-47bb-0310-9956-ffa450edef68
22 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
Stefan Bodewig
90a2a192dc
This test has been randomly failing on Unix systems ever since their
file system is considered to have a granularity of a second. Give it
the same treatment as Windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276189 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
fbb67ce4ec
Make test pass in Gumpy - at least I hope it does
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276188 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
7cb8da420e
Testcases for <pathconvert>.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276174 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
3e7907c855
Fix for duplicate targets in the build file.
In ant 1.5 these were not allowed.
In ant 1.6, with import file's targets being allowed to
be overridden, duplicate targets where incorrectly allowed
in normal build files.
The fix just checks if the duplicate target is defined
in an imported file or in a "main" file.
Reported by: Dominique Devienne
See: http://marc.theaimsgroup.com/?t=107705039100004&r=1&w=2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276165 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a0c2e2864e
MacroDef did not allow attributes named 'description'.
PR: 27175
Reported by: Jayson Raymond
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276144 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
dd0d33bb30
Add nested file element to file list to allow filenames to
contain white space and commas
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276138 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
caf0645f58
Another testcase for double target-definition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276126 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
f6c034b007
TokenFilter.ReplaceString only replaced the first occurrence.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276118 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
bbd6a3bd9e
fix for macrodef broken @@ escape handling
PR: 27069
Reported by: Daniel Spilker
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276111 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
7e562b5843
If initialization determines that the corresponding target could not run,
bail out of the test (pass).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276110 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
c97b81b64e
Testcase for duplicate targets. Reported by Dominique Devienne.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276107 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
91092b4963
Code cleanup.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276098 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Matthew Jason Benson
499d174f02
Add several I/O related test cases to <exec> and <apply>.
PR: 26663
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276097 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
487f084e0c
Make touchtest pass on Win2
PR:
Obtained from:
Submitted by:
Reviewed by:
Make touchtest pass on Win2K / FAT
Dates earlier than 1990 seem not to work for me
as last modified dates of files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276060 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
29815cef7e
Give 2 seconds to these tests to succeed instead of 1
Avoiding gump failures
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276056 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8afdb58dd6
Allow unit tests to pass for java 1.5
Compiler name for 1.5 is javac1.5
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276040 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
Peter Reilly
bf736586fa
Change textname attribute in macrodef to a text element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275962 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
6ed7b543c6
followed up peter reilly's suggestion; full testing for unimplemented as well as undefined
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275958 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
a20d0ddab1
new condition: typefound
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275950 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7b5e67f539
add textname attribute to macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275948 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
eb5088c226
Fix date
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275930 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
af0809b04d
macrodef element names are case insensentive due to use of DynamicConfigurator
PR: 26225
Reported by: John Sichi
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275929 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
4db617fc7d
Add two new attributes in p4submit :
needsresolveproperty and changeproperty
PR: 25711
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275924 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
4a56f455f2
Allow presetdef'ed types to be used with the ant-type attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275903 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
73d92708f6
A leading slash in a resource name is only required for
Class.getResource*, not the corresponding ClassLoader methods. Adding
the slash makes the task completely useless.
Reported by: <koji underscore sekiguchi at excite dot co dot jp>,
Jack J. Woehr <jax at purematrix dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275895 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
07e9f9859f
Failing unit tests for whichresource
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275894 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
616ae7c4cb
opps
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275889 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
f5921264e5
fix for CRLF adds extraneous character at the end of File
if a file does not end in an eol, fixcrlf will add an eol
this patch adds an attribute to fixcrlf to stop this behaviour
PR: 23262
Obtained from: gudnabrsam at yahoo dot com
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275886 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
Stefan Bodewig
1a3ed5bfc3
some more variables named enum
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275866 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7b0865572e
Previous fix for filterset broke the infinite filter testing
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275863 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
e2688b6318
Fix for error in inifinite loop checking in filtersets
PR: 23154
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275861 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
060b4735dc
Fix unit tests.
- addtypetest used an unused invalid classpathref
- PathTest used an invalid reference in testing attributes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275847 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6aba7c5074
Macrodef can only see lower case attribute names due to its
use of DynamicConfigurator.
Fix the doc and the code to at least make this consistent.
PR: 25687
Obtained from: Geoffrey Wiseman
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275830 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
b19b9b4113
Make checksum work with nested filesets and no total property
Make checksum less loud, downgrading message calculating checksum to verbose
PR: 25606
PR: 25607
Submitted by: Ariel Backenroth ( abackenr at interwoven dot com )
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275806 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
c675e52979
Remove line with $Id
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275764 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
299a7d5929
Fix URIs for DTDs entered with a full path location under Windows
PR: 23913
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275759 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
e467e2f430
change string looked for so test works on windows
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275737 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
566ea426c3
1) make JarTest pass on Windows, these testcases were failing :
testRecreateWithUpdateNewerFile
testRecreateZipfilesetWithUpdateNewerFile,
the problem is the granularity of time stamps on the FAT
see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/filetime_str.asp
for more information
2) prevent XalanLiaisonTest and XslpLiaisonTest from running in batch
when Xerces1 is not available,
3) fix one of the 3 failing testcases (testSimple) from JDependTest
it was failing due to an overdose of \r in the output coming from
BuildFileTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275733 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8dd4e0ba76
Change ${x} to @{x} for attribute notation of macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275731 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
6bb92d330a
Add a helper class for tasks that want literal XML as input
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275702 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
929d67e0c9
Ignore attributes for different uris.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275644 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
a0359662be
Do now allow multiple attribute and elements of the same
name for macrodef.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275641 13f79535-47bb-0310-9956-ffa450edef68
22 years ago