Matthew Jason Benson
b994c52004
antunit-ize and FIX (they were severely broken) DependSet tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477939 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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
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
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
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
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
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