Kevin Jackson
79ee75d29a
-further refactoring as suggested by peter
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486582 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
e8b7e1f028
-fix hasfreespace-test to avoid problems on pre jdk6 vms
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486570 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
fe023065f2
- tests for parseHumanSizes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486147 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
a85674a29c
-test for hasfreespace condition
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486141 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
e5c7c5d48d
- antunit test for antversion
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@486129 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
df0fa4d4ab
Regression: <path> was evaluating nested content only once, so that it could
not e.g. pick up files that didn't exist the first time through.
Bugzilla 41151.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@485926 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Kevin Jackson
d3fe71fb38
-TODO comments
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@483908 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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
50db66a856
Move description attribute from Task to ProjectComponent
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@482907 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
144e1863cc
fix failures on cygwin since recent drive letter casing changes
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@477941 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
Jacobus Martinus Kruithof
fba52dd8fa
added at least check to JavaEnvUtils (and make use of it)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@476230 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
2d53fc8d19
Validated under windows only but jdk 1.3 doesn't support the international format classpaths in jar manifests.
(Test building the jars under jdk 1.3 and running them directly using java using jdk 1.5 works, but running
them using java form jkd 1.3 gives errors)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475880 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
4c0e25065b
Recent change changed captialization of drive letter. (Drive letter should be case insensitive anyway)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475741 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
5e4d3d0c93
do not uppercase systematically drive letters in FileUtils#normalize
append drive letter to absolute paths in Locator#fromURI
make FileUtilsTest pass under JDK 1.3
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475206 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
5f2768c82e
Avoid JUNIT methods requiring java 1.4 or higher.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@473781 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
92b63d872f
Incorrect recursion in DOMUtil.listChildNodes()
Bugzilla 40918.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@472761 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
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