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
Matthew Jason Benson
6c9e00f717
containsregexp does double-duty as FileSelector + ResourceSelector.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449108 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
76cfa5be68
migrate resource selectors tests to antunit.
modify containsselector to function as a resourceselector; add test.
alphabetize resource selectors antlib.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@449103 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
86dfc127e6
Add stylesheets of 1.0Beta1
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448803 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
996bb8c9ce
commit the first antunit test while showing offending, un-addable text.
Bugzilla 40415.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448646 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
73d66d2c6d
Restructuring to allow junit and antunit tests both.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@448636 13f79535-47bb-0310-9956-ffa450edef68
19 years ago