Steve Loughran
b6f25e8e14
Bug #41597 ; scriptdef should be resource-enabled.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@533121 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
Steve Loughran
db4fbb723e
Fix the version logic to work without having hard coded ant versions in there.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531485 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
0bb00fe4f6
Test didnt work on Unix. Assume that ${user.home} is in a partition with some (but finite) space. If anyone runs these tests on a disk array with >1 petabyte, they will still fail.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@531472 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
Matthew Jason Benson
fae1165196
add test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@528046 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
f9bc9d18bf
Test should also pass on other platforms.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@524882 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
23de1130b0
test for Bugzilla 41948
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@523867 13f79535-47bb-0310-9956-ffa450edef68
19 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
Kevin Jackson
945b899793
-remove extra space
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@518872 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
fd0bdb2676
add truncate task
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@513901 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
1a0a6dc389
add <last> resource collection
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@513829 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
71220c5b2f
<antversion>-TASK evaluates now atLeast and exactly attributes.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@513710 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Antoine Levy-Lambert
7a8457b8fa
make the tests use another http server as long as the apache infra does not provide the usual headers
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@510794 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jacobus Martinus Kruithof
3d6f42364c
Test did not chatch the error I made, so updated the test that it does catch the error I made.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@500782 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
9b685be5bf
Not making this a failing test on gump, because its not clear the behaviour is anomalous w.r.t the Xml specifications.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@498630 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Matthew Jason Benson
bddca28a0f
fix binary append; BZ 41399
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@497528 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
303941db31
fix the tests. the problem is some double expansion going on in antunit's assertions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@497394 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Steve Loughran
ca13f52a19
looking at how xml properties get expanded
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@497387 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
Matthew Jason Benson
14770e40d5
as discussed on dev@, allow <mapper refid> to refer to a FileNameMapper
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@495014 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
Peter Reilly
1603fbba28
svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@491016 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
a6761cd269
tests for classpathref attribute of whichresource
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@491014 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
19e7888cab
replace a noop test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@491013 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
3e928c1828
pset svn:eol-style native
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@490749 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Peter Reilly
7e375918ce
tests for errorProperty and updatedProperty of javac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@490748 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
fefdb7bc0d
Make <antversion> available as Task.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489345 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Stefan Bodewig
4a7b5d89c8
adapt to new version
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489292 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jan Materne
df28041f27
Check if we are online for the online tests (maybe the property is not passed to the test).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@489122 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
Peter Reilly
efd2db02d5
Bugzilla 41201: [jar-task] wrong name for services folder
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@488437 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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