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
Peter Reilly
47fa568d32
fixes for presetdef's handling of attributes
PR: 24411
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275617 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
3838c6ba28
<nice> as a task; unit tests tested on windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275614 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
23bebfbdc2
make error message for bad imports a little better
When an buildexception is reported in the imported xml, add the importer
xml file to the build exception
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275610 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
1e7d5dd17b
fix timeout attribute of jdepend
add unit tests
add includeruntime to allow unittests to run
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275605 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
fc760b24e7
Simplify assertion in testcase (remark of Martin Kruithof)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275570 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
fc275eb2e5
Make org.apache.tools.ant.taskdefs.optional.sitraka.ClassFileTest pass under
JDK 1.2
PR: 23919
Submitted by: Martijn Kruithof (ant at kruithof dot xs4all dot nl)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275568 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
86a183cc1f
Allow typedef resource to pick up all the resources
of the name in the classloader, not just the first
PR: 24024
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275567 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
9734889750
Replace non ASCII characters by UNICODE escapes
PR: 23919
Submitted by: Martijn Kruithof (ant at kruithof dot xs4all dot nl)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275557 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Steve Loughran
c0eecc68bb
fix for bug#19630; no handling large files. Needs testing on mono!
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275555 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
33df219930
Test for PR 23862
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275545 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
b3d2f33791
Fix and test for unresolved references due inability
to create the reference object to give to scripts.
PR: 23915
Reported by: Jose Alberto Fernandez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275537 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
d3f03ad754
Merge from ANT_16_BRANCH
Fix problem with non absolute remote dirs
PR: 23833
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275510 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
0a562a9fab
Make CommandlineJavaTest independent of lib/optional/junit.jar, PR 17402
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275496 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
9ab8595b28
Fix bug for typedefed add() support with namespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275472 13f79535-47bb-0310-9956-ffa450edef68
22 years ago