Stefan Bodewig
c2717b6fb3
give credit to Jeff for his NetWare patches.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271791 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
bd0662b8fa
commit the rest of Jeff Tulley's patches for Novell NetWare.
Submitted by: Jeff Tulley <JTULLEY@novell.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271787 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f20a1d1c4d
please don't use <zip>'s file attribute
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271422 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
cfa604fd99
testcase wouldn't compile - slipping fingers?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271174 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
adammurdoch
f9ceac5949
Fix the date util tests for where the local timezone isn't GMT+1.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271166 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
b55b65d798
Helper class to deal with simple ISO8601 time formatting.
Moved elapsed time formatting (minutes/seconds) from DefaultLogger.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271162 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
536c872b8b
part two of the patch to make Jakarta-Regexp tests pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271020 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e3b9832459
Make tests pass on Linux as well (by not expecting them to pass).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271019 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
f5a525c370
filling my role as post-commit script ;-)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271018 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
e27d594005
Fixes should be in all related testcases now.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271017 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
e0c5a1f097
- Added some more tests. All tests that fail have
not been commented but rather modify to trigger
once they are fixed.
If Unix people could tests and make sure that they
pass on Unix that would be nice.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271015 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
d0fd746309
License police on testcases and stylesheets:
Make sure all years in which the file has been modified are listed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270654 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
215ff90fee
oops, forgot the license on first pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270423 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Erik Hatcher
93092c4c72
A new mapper to allow checking <uptodate> from test cases to their XML formatter results.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270418 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stephane Bailliez
f82ca6ff2d
Added additional methods to deal with strings.
This is mostly to avoid the use of regexp for
simple tasks.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270393 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
a623bba85d
Properly encode control characters. See XML 1.0 2.2
<http://www.w3.org/TR/1998/REC-xml-19980210#charsets >.
Submitted by: Jim White <jim@pagesmiths.com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270252 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
4db248f63f
add method that compares file contents to FileUtils, use it in FixCrLf.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269960 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
b31544238d
don't try to do too much with the regexp stuff.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269890 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
e90e60c110
assert -> assertTrue in two testcases I had missed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269863 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
307c136939
push createTempFile to FileUtils
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269859 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
be53ecfdc2
Add testcases for the substitution methods (and make them work 8-)
Add testcase for <replaceregexp>, this task now works with ORO,
Jakarta Regexp and JDK 1.4 if you use \1 to refer to parens in the
regular expression.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269822 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
dfc1957328
testcases for case insensitive matches as well as multiline versus
singleline mode.
Note 1: doStartTest1 fails with ORO 2.0 but works with 2.0.4, better
use the latest release 8-)
Note 2: doEndTest2 fails with Jakarta Regexp 1.2, I've disabled it for
the time being, but may look into it later (file a bug report,
and so on).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269821 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
321c9dc68e
assert -> assertTrue in all testcases.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269814 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Stefan Bodewig
361eba4355
Make FileUtils.resolveFile more robust - modelled after File(File, String).
This avoids the explicit checks for null directories in
SourceFileScanner as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269755 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Conor MacNeill
f66cab0ea7
Merge from ANT_145_BRANCH up to Beta 2
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269587 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
25484253db
Move resolveFile methods to FileUtils, add a normalize method there.
Make sure Ant normalizes whatever it takes as its basedir - since
we've dropped canonicalPath
ant -f foo.xml
and
ant -f ./foo.xml
would have given different results (the . needed to be stripped).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269522 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
cbbb182eae
testcase for FileUtils.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269514 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
ef2c9e1a3c
Make bootstrap process for JDK < 1.3 on Unix work again (bootstrap
uses the <chmod> task to make antRun executable which in turn needs an
executable antRun script ...)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269315 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c51d45fd2c
support java.util.regex package of JDK 1.4 in regexp mapper.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269311 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Conor MacNeill
6c287080d4
Make licence statements mention Ant in place of Tomcat
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268392 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
d886d50323
Moved the common code from XmlLogger and XMLJUnitResultLogger into a
new class.
Wrap nested text into <![CDATA[ ]]> and replace special characters in
attribute values correctly.
PR: 413
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268330 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
c8b92216b3
Implementation of the regexp interface for Jakarta-ORO.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268258 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
e4f0795f1f
New Mapper type for regular expression replacements. Currently only
jakarta-regexp is supported, at least an ORO implementation will follow.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268257 13f79535-47bb-0310-9956-ffa450edef68
25 years ago
Stefan Bodewig
8355b21de2
New FileNameMapper that does wildcard replacements like DOS's
ren *.foo *.bar. Use it in javac (more to come).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@268194 13f79535-47bb-0310-9956-ffa450edef68
25 years ago