Kevin Jackson
b9f1982589
-first stab at converting Location test to antunit
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483907 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
4b16358b66
linefeeds
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@482069 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ac456bb17e
BZ:41080 xmlproperty multi-values overwrite properties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481078 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
c9c2af1151
eol-style
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481076 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
ca13a11a24
added for multi value xmlproperty test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481074 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
f001fcba2b
fix NPE in recursive filtering. BZ 41086.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@481041 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
a53016a11b
Removed superfluous comment
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@479019 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
a0c024f4c2
Pr 40972 Directory Deletion Dont Work Properly
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@479017 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
6405019ad4
fix regression: dependset fails if target directory does not exist
BZ 40916
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477976 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
2d80e74185
move so that temp files have no potential to impact anything
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477975 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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
Matthew Jason Benson
c101c5c8ab
antunit-ize the bulk of the resourcecollection tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477922 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
eda247e75e
unittest for adding prefix to a fileset ref
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477920 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
7e01ed9d2d
Add innocuous warning message to catch erroneous ref="${refid}" stuff.
Suggested by Tim Ellison.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@473415 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
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
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
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
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
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
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
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
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
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