Antoine Levy-Lambert
694f1df0de
make unit tests pass
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470868 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steven M. Cohen
ad41ab3930
remove line inadvertently introduced during previous fix.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470776 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steven M. Cohen
658b738914
Fix bug 40882.
Note that the new test added to EchoTest.java would fail as indicated in the
defect without the change to DefaultLogger.java.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470639 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
98d1226139
If someone tries to append a path to itself, choke gracefully, not with a StackOverflowError.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470125 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
766c5b2bbc
#40019 revision: ${user.variant} need not be set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@470108 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
2201b1634b
fix for Bugzilla 40722. Was identified as a directory scanning problem.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468781 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
26498d6bc5
<delete> doesnt delete when defaultexcludes="false" and no includes is set
fixed. Bugzilla 40313.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468724 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
14f760492c
Made web.xml non optional again, as it was hiding too many bugs (e.g war files for tomcat 5), but added an attribute to make it optional.
More tests, especially for updates. One test is disabled because it fails. The task fails if you are pulling in a web.xml on an existing web.xml file via a fileset if update=false, because the fileset version checking is hiding the inclusion of the web.xml file from the war task -its being dropped before we notice. This is not a BC problem. Maybe I should always make web.xml mandatory to stop this behavior arising.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468568 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
c91cce227b
web.xml is now optional in Java EE. I've tweaked <war> to warn but continue if it is omitted, and not to say anything if there is a duplicate reference to the same web.xml, but to complain a lot if there are two conflicting ones (with diagnostics).
We may want to have an attribute to indicate that a web.xml file is needed, or that we dont want to see the warning message. Say nowebxml="fail", "warn" or "skip", with the default being fail for backwards compatibility. Thoughts? Now is the time to add it...
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@468180 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
74f550099b
add regex attribute to echoproperties task.
Bugzilla 40019.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@467828 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ddddd31432
pset svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466884 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
03f01f4a56
test for uuencode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@466883 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f5c95e9ca4
add fall-back for undefined references that are parsed
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@465065 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
875d44b517
"Move" test object to inner class.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463712 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
cd38ba42ac
Forgot the license header.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463605 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
94f6a31817
Factory method for easier instantiation.
Bug 14831
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463601 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
394d5011e3
svn style native
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463031 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
005061b495
added by accident
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463029 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
d08ed829ba
tests for outputtoformatters
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@463028 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
66838f3c29
Added <compare> resource selector to select resources based on the
results of their comparison to other resources. Inspired by userlist thread
http://marc.theaimsgroup.com/?t=115998761500004&r=1&w=2 .
Still lacks an example other than testcases. :(
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454842 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
44d4be1405
allow test case to work if /build/testcases is in the classpath
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454486 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
1fe4d2a9de
fix svn property
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454277 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3dcb9a556e
some printfs to help track down gump fail
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454220 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3b6aedbd21
For JUnitTestRunnerTest: testInvalidTestCase and testNoTestCase
JUnit4 adaption returns an ERROR wheres JUnit3 returns a FAILURE.
Modify testcase to reflect this.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454207 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
a5360da98a
PathConvert on Windows should process forward and back slashes equivalently.
Bugzilla report 32884.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454032 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
70ba0e066d
svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454030 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b0b45b10d3
test for dir-char in pathconvert
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@454029 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
e2aab516e4
defer reference tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453767 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
c570eae7a1
generify expected message to pass before and after recent change
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453761 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
af6417aeed
change expected error message from attribute to element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453397 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
23db4b2dbc
eol-style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453034 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
8d023d971f
testcase for setting attributes with refid for zipfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453033 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b10bf232ba
another go at bugzilla 38747, isolate resources
get the baseloader for resources in isolate mode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@453032 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
01c9d3485c
native
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451477 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ad5cdd3fc3
test for unknownelement.maybecondifure
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451476 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
a045d5480c
revert making ConditionBase a Task after discussion on dev@apache.org
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451444 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
7500bf94b8
Make conditionbase a Task.
?was there any reason that this was not done for ant 1.6?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@451000 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
da045acc91
revert 38747: resource isolation, should fix one of gumps issues - look at other later
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450614 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
274f5d877f
add the <tokens> resource collection; tokenizers graduate to free-standing types
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450611 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
858507a6a5
add more abc tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450601 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
251b87f290
fix antunit test for matches
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450591 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
ac221b3329
move apply tests to antunit, fixing bug 40331 in the process.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450239 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
b473d2ab95
eol-style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450207 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f35b23cd42
New files for service element for <jar>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@450204 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
900a03ed70
remove incorrect default=all
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449825 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
0079eca38e
eol-style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449822 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
15363926d9
tests for matches
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449821 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
6d4a02a44c
stop unit tests depending on non-executed references
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449409 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
f7c5b51e7c
propset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449307 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3749792289
xmlproperty: test for empty element
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449306 13f79535-47bb-0310-9956-ffa450edef68
19 years ago