Kevin Jackson
d7911684f1
-remove extra whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539841 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
a7bbb2a52d
bugzilla request: 42301 add default for text element in macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539547 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
3c85c61320
-extra test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539331 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
0ba310d315
-retry task container
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539310 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
1f0bd8f401
bug 42275...handle failure of File.toURI() by printing the message (too noisy?) and falling back to our own code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539002 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
d6ec4ccf3c
bugzilla bug 42263: ${ant.version} not set in <subant>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@538995 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
bc0012c1a3
make resourcecontains handle refids
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537899 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
a2f47371e7
add test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537886 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
d46731bc2c
add test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537881 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
f8e682b391
add test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537878 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
a6bd85b4da
add failing test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537875 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
fb392e87b9
add a test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537874 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
751fe711d2
remove assertion of something we're not actually testing here
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537873 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
d6bcb1600b
ws; [delete, touch] => truncate
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537871 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
a2acf8dfb9
-new antunit test for echoxml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537347 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
32d22c0e23
-test for new ResourceContains condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537345 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
b38e6068cb
-remove whitespace, use antunit-base.xml
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537333 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
0c9ce8cd21
exclusivity
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537023 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
79901525e8
striplinecomments comment nested text value
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537021 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
98b17accfd
add another test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536878 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
c9ae2fb990
-use antunit-base
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536740 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
67f7de212f
-use antunit-base
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536739 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
d618e1f811
concat fixlastline/nested text regression; PR 42369
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536592 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
b941f2ef44
massive refactorings to Concat: fix failing testcases in HEAD, and implement ResourceCollection
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536579 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
3ce64dd501
okay, REALLY finish antunitizing the length test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536575 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
6c7290dcbe
finish antunitizing length test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536570 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
37d079946a
antunitize length test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536552 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
dffefa0a03
add importable file to give any antunit file a base for running itself
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536549 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
9154805783
add assertion message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536221 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
6d0fd1ee4c
fix the header. Sometimes the IDE get's over enthusiatic, and unless I add some location-awareness plugin, it assumes my laptop is always doing work code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533567 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
b6f25e8e14
Bug #41597 ; scriptdef should be resource-enabled.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533121 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
bcf84f5f14
Bug 42275: ant doesnt run from a network share, because of an error when trying to work out where we loaded from.
1. this exception is still raised, but caught and causes ant to skip setting ant.lib.
2. we now have a test class for Locator
3. I've split out the java1.3 support and made it public, so we can test it separately.
One of the tests is failing, showing the problem is still there. We need to decide what to do about it (ignore, switch to java1.3 code...)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533082 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
db412627e1
Bug 41940 : works for JUnit's own runners, but not for Ant's. Ideas?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@532247 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
db4fbb723e
Fix the version logic to work without having hard coded ant versions in there.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531485 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
0bb00fe4f6
Test didnt work on Unix. Assume that ${user.home} is in a partition with some (but finite) space. If anyone runs these tests on a disk array with >1 petabyte, they will still fail.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531472 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
0a51af299e
Beautify error message.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530818 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
c7f7d99c3d
Add tests. Document the regexp for attribute name.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530664 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
4462d80608
Validate the name of manifest attributes. ATM only whitespaces are catched, need some help with the regexp version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530374 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
fae1165196
add test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@528046 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
f9bc9d18bf
Test should also pass on other platforms.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@524882 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
23de1130b0
test for Bugzilla 41948
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523867 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
1e4c39fb60
adding a method to find wrong cased files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523681 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
bbd75a7c27
Add IgnoreDependenciesExecutor for weird cases when the user wants to run only the targets explicitly specified.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@521278 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
945b899793
-remove extra space
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@518872 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
fd0bdb2676
add truncate task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@513901 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
1a0a6dc389
add <last> resource collection
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@513829 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
71220c5b2f
<antversion>-TASK evaluates now atLeast and exactly attributes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@513710 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
7a8457b8fa
make the tests use another http server as long as the apache infra does not provide the usual headers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@510794 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
3d6f42364c
Test did not chatch the error I made, so updated the test that it does catch the error I made.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@500782 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
9b685be5bf
Not making this a failing test on gump, because its not clear the behaviour is anomalous w.r.t the Xml specifications.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@498630 13f79535-47bb-0310-9956-ffa450edef68
19 years ago