Matthew Jason Benson
9154805783
add assertion message
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@536221 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
6d0fd1ee4c
fix the header. Sometimes the IDE get's over enthusiatic, and unless I add some location-awareness plugin, it assumes my laptop is always doing work code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533567 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
bcf84f5f14
Bug 42275: ant doesnt run from a network share, because of an error when trying to work out where we loaded from.
1. this exception is still raised, but caught and causes ant to skip setting ant.lib.
2. we now have a test class for Locator
3. I've split out the java1.3 support and made it public, so we can test it separately.
One of the tests is failing, showing the problem is still there. We need to decide what to do about it (ignore, switch to java1.3 code...)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533082 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
db412627e1
Bug 41940 : works for JUnit's own runners, but not for Ant's. Ideas?
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@532247 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
0a51af299e
Beautify error message.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530818 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
c7f7d99c3d
Add tests. Document the regexp for attribute name.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530664 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
4462d80608
Validate the name of manifest attributes. ATM only whitespaces are catched, need some help with the regexp version.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@530374 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Antoine Levy-Lambert
1e4c39fb60
adding a method to find wrong cased files
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523681 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
bbd75a7c27
Add IgnoreDependenciesExecutor for weird cases when the user wants to run only the targets explicitly specified.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@521278 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
e52b987d30
Bug 41349: rmic should strip out -J compiler args when not forking
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@495229 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jesse N. Glick
6672d9d6c7
#41264 : In Ant 1.7.0, <fileset> in <javadoc> does not by default include
only **/*.java as the documentation claims and earlier revisions did.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@491150 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
63a845ef77
Make the tests runnable on systems without regexp matchers (e.g. JDK 1.2 without ORO).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489097 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
0f59f57c4d
organize imports
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489091 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
399a8a6d55
Make the tests runnable on systems without regexp matchers (e.g. JDK 1.2 without ORO).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489089 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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