Steve Loughran
a9ce12032f
Excluding XSD tests on systems without an adequate parser.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277809 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
8a1a7f9530
fix logic
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277723 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
000c62389f
Kaffe suddenly supports java.lang.Readable, but not InetAddress.isReachable
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277722 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
e655ab99bd
Some people expect an INSTALL file, PR 33273
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277692 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
0562cd0400
clear the cached directory scanner when cloning an abstractfileset
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277681 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Matthew Jason Benson
558c849718
Disable clone test until we know why it fails on Linux.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277677 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a799f17a4e
Turn <deleteFromTarget> into <preserveInTarget> in <sync>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277591 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
ab0d0f78f4
Use refelection to completely decouple Native2Ascii from Sun's implementation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277566 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
bd2954ad1e
Support Kaffe in native2ascii, make it a full facade task later
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277561 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
aae6a87238
The new interface can't compile on Kaffe yet
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277557 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
33459289c5
Fixing the exclusion path.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277375 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
5fa7f18c21
Adding scripting support to selectors. No personal need for this right now, just rounding off what you can now do with mappers via filterchains
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277368 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
d16eabe443
regexp mapper test requires a regexp engine
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277347 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
763ad7ae9b
Propagate build.compiler to tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277247 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
8f464f7f90
SplashScreenTest can't be compiled without SplashTask
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277220 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
57195a2186
Temporarily skip test that fail in Gump because of a Gump bug
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277185 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jesse N. Glick
71333195c9
Trying to make unit tests independent of CWD.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277135 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
72b5c7aa3b
ChangeLogWriterTest uses package private class ChangeLogWriter - doesn't work unless both come from the same classloader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277020 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
cffb3d09d1
remove httpclient selector. Leave the test in for future use.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276990 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
7651d02856
1. Updated repository work; now has the following from Russel Gold's contrib
-uses <get> to get
-sets a classpath after
2. some changes to Get to make this work. They also lay the way to adding progress indicators to guis, if that is felt useful in IDEs (it may be, once downloads become more common)
3. starting on security. This will need to work with <checksum> to get done. Currently the md5 can be fetched if asked for, and if so it must exist.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276989 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
060243e8bf
Use org.apache.log4j.Logger instead of org.apache.log4j.Category
PR: 31951
Obtained from: J.M. (Martijn) Kruithof
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276979 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
f993e95b32
Make handling of javac -source easier. Simply make JDK 1.4.1's
interface upwards compatible.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276977 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
94776206e4
More Mono trouble on Brutus
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276973 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
66ca57654d
Replace all is dangerous
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276959 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
d2ceff2d4e
Move GetLibrariesTest to make tests compile without httpclient
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276958 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
045a7004a1
Repository support; needs http client 2.x and commons-logging.
Broken: repository references (you'll see in the test results)
not tested: authenticated access to the repository.
Already had a feature request for multiple repository support;
would be nice. That and better diagnostics on failure.
Note that we dont currently probe ibiblio for availaibility; that was taking longer than the fetches themselves.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276957 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
276a003a91
disable .NET tests until Mono on Brutus works as it should
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276948 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
2aaaa9be98
update selector to go with the move
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276930 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
e0447a7385
First of the Java1.5 extensions. Closest j2se has for detecting offline state, though I note J2ME and JavaWebStart have offline tests.
Needs tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276928 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Steve Loughran
d3b7b08ba1
clean machines reveal invalid assumptions
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276910 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
926833a05e
tests are on system classpath of forked tests
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276898 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Conor MacNeill
ff18eadd28
Add name attribute to project element in Ant's build file
PR: 30608
Submitted by: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276771 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
a177bc702d
We can now savely run all .NET tests on Mono
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276735 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
cc1d22cffa
new tests fail if the tests themselves live on the system classloader
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276724 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Antoine Levy-Lambert
8fdf272627
Impossible to use implicit classpath for <taskdef> when Ant core loader != Java application loader and Path.systemClassPath taken from ${java.class.path}
PR: 30161
Submitted by: Jesse Glick (jglick at netbeans dot org)
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276721 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jan Materne
04d73d1565
No more -lib needed.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276691 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
d891e90f61
Make <junitreport> work with JDK 1.5.
PR: 27541
Most of the work has been done by Stephane, I just provided the
finishing touches.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276641 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
dd5dfe2ceb
Xalan2Executor doesn't need Xalan-J 2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276502 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
0faa0d5fc3
Use the same class as JavaEnvUtils to check for 1.5+
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276480 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
08ee283e41
build.xml source=1.2 does not work for javac 1.4.0
use a presetdef depending on the java version
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276471 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Peter Reilly
e32a24de07
Permit building under JDK 1.5
PR: 28996
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276460 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
dc6ab2dfed
forkstyle -> forkmode
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276413 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
c00d5a6977
Implement jar index for referenced jars, PR: 14255
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276389 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Stefan Bodewig
021fdf251c
Add forkStyle attribute to <junit> with possible values of once,
perTest and perBatch.
once will create a single Java VM for all forked tests, perTest is
what we have traditionally (and the default), perBatch uses a VM per
<batchtest>.
Actually, this is not entirely true since only tests with the same
configuration of filtetrace and haltonfailure and friends can run
inside the same VM, so we may end up with mutliple VMs anyway - but
once really should be a lot faster than perTest in general.
Based on
PR: 24697
Submitted by: Anton <anton at atlassian dot com>
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276317 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
bf495f677c
Log4J is no longer a Jakarta subproject, don't wait for the others to
graduate as well.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276254 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
814f289fd1
Make conform to used encoding.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276181 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
d59c09c168
Add 'run.failing.tests' support.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276179 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
3e7907c855
Fix for duplicate targets in the build file.
In ant 1.5 these were not allowed.
In ant 1.6, with import file's targets being allowed to
be overridden, duplicate targets where incorrectly allowed
in normal build files.
The fix just checks if the duplicate target is defined
in an imported file or in a "main" file.
Reported by: Dominique Devienne
See: http://marc.theaimsgroup.com/?t=107705039100004&r=1&w=2
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276165 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Jan Materne
2ce327371f
Exclude ProjectTest from being executed (hopefully :), because of testDuplicateTarget.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276164 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
085edaf823
allow ./build.sh test to work
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276133 13f79535-47bb-0310-9956-ffa450edef68
22 years ago