Steve Loughran
fbd52b8032
test changes to handle windows systems better
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591040 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
c4176305c3
test changes to handle windows systems better
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@591037 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
4369f64826
FailureRecorder
* remove duplicate "no-op" statement (javadoc + code)
* use BuildListener for writing at the end of <junit> instead of overwriting the file all the time
* minor comment edit
* pass project reference to <junit> nested elements (eg listener)
* order methods by interfaces
* some log messages in the recorder
* can use Ant properties for setting the location
FormatterElement
* don't set the project reference if there is already one
build.xml
* use ant property instead of system property for configuring FailureRecorder
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@587844 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
ea8689d3d3
-bugzilla #32062 , allow javah to use filesets
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@582708 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
2ed29da51a
* Test for removeSuffix()
* Test + Impl of removePrefix()
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@577781 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
81ae3f7447
bugzilla ID 38199, symlink fails on second call
bugzilla ID 43426, <symlink> cant create a symlink over a file
solution is the same: opt for ln -sf after trying to do it internally. We could perhaps drop all ant deletion operations, for a much simpler operation.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@577281 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
824c630ff9
TempFile changes (ctd)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@574381 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
857411cff1
TempFile changes (ctd)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@574360 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
c7e4640df9
Bugzilla: 43324 stackoverflow
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@573537 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
05fe7f0d73
remove a deffered test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@572446 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
32ccb517d0
remove resolution for references that are not resolved during normal runtime execution
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@572374 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
efc87c4aba
demonstrate missingdir fileset exists but is empty
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@568635 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
b0bdced687
Bugzilla 11270: add errorOnMissingDir attribute to fileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@568495 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jacobus Martinus Kruithof
054d49663e
Pr 43016 improved error reporting on nothing to compress.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@566707 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
32bf4ddb01
unit test for componentdef - well a copy of the resources one without namespaces
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@564788 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
780ad2d725
only run these tests if the optional libs are avail
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@564781 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Stefan Bodewig
9fff4dfc41
re-add single-arg signature of assertLogContaining, allows JDependTest to compile
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@563734 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
9a4f590ec1
Bug 43048: Testcase. (Failed on Ant 1.7.0 but works for me on HEAD, so no other changes).
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@563403 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
4f2d55fe9e
New JUnit formatter: collects failing test cases (testXXX methods) for a rerun.
* works from command line
* its own JUnit test scenario fails (for - to me - unknown reason)
* BFT has new method 'assertOutputNotContaining' similar to 'assertOutputContaining'
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@563053 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
5b591a506b
Java 1.3 compatibility. (String.contains() is Java5+)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@559393 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
b1eddca62b
<property> now supports xml-based property definition. Bug 42946.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@559386 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
b83cd5bb71
Bugzilla: 40776 work-around for javac generics bug
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@558058 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
05d6dded01
Spec breaks now can 'fail' the build or just be reported on 'warn' or verbose ('ignore') level.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557270 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
154ef1be5c
Interim solution for "strict" attribute. Change to an enum in a few hours.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557229 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
ef8705f5b4
add tests for non-string properties
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557100 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
41e30df4a5
bugzilla 42802: merge back into HEAD
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@557016 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
9d227828e9
fmt/refac
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@556987 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
5c4a83c51c
add nested delegate ref to PHtask w/ script example
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@555174 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
2c44cef133
Encourage people to follow the packaging spec.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@553857 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
1c1b51bd76
<scriptcondition> now prefers evaluation result/return value over value property.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@551592 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
0b29894b12
align
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@551373 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
16db8f8d23
antunitize scriptcondition test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@551372 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
3267eeb316
sp
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@549698 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
f63bd3bd27
-fix gump
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@541502 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
407dae89f5
-test for secureinput handling
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@540439 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
702e9419a0
skip a test that, while failing, doesn't seem to arise in real-life
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@540101 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
bc19df1e99
Bug 42319: log-statement if resource.size is 0 and therefore the property is not set.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@540066 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
08413ada31
Fix Bug 42397: NPE in <path><files refid>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@540055 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jan Materne
403e3ac9bf
tabs to whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@540043 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
038aaa970e
-au version of dirnametest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@540026 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
1b7ba17b3d
-fix test, build exception messages are different now
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@540025 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
d7911684f1
-remove extra whitespace
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539841 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Reilly
a7bbb2a52d
bugzilla request: 42301 add default for text element in macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539547 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
3c85c61320
-extra test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539331 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Kevin Jackson
0ba310d315
-retry task container
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539310 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
1f0bd8f401
bug 42275...handle failure of File.toURI() by printing the message (too noisy?) and falling back to our own code.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@539002 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Steve Loughran
d6ec4ccf3c
bugzilla bug 42263: ${ant.version} not set in <subant>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@538995 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
bc0012c1a3
make resourcecontains handle refids
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537899 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
a2f47371e7
add test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537886 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Matthew Jason Benson
d46731bc2c
add test
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@537881 13f79535-47bb-0310-9956-ffa450edef68
18 years ago