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
21 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
21 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
Jan Materne
ef9e8aca03
Let 'testcase'-property choose the right target for running tests.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276106 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
05a31e3b42
Added the NOTICE to the metainf dir of ant.jar, ant-launcher.jar and ant-nodeps.jar
and also to the distribution files
Updated the copyright notice in bootstrap.sh
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@276025 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
5c2fb3d31e
Date
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275914 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7aa2a82665
correct fix for 25698
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275912 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
6b6b21223c
stop corruption of .zip files in docs
PR: 25698
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275910 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
566ea426c3
1) make JarTest pass on Windows, these testcases were failing :
testRecreateWithUpdateNewerFile
testRecreateZipfilesetWithUpdateNewerFile,
the problem is the granularity of time stamps on the FAT
see http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/filetime_str.asp
for more information
2) prevent XalanLiaisonTest and XslpLiaisonTest from running in batch
when Xerces1 is not available,
3) fix one of the 3 failing testcases (testSimple) from JDependTest
it was failing due to an overdose of \r in the output coming from
BuildFileTest
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275733 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
8dd4e0ba76
Change ${x} to @{x} for attribute notation of macrodef
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275731 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
05afdcffb3
exclude jdepend test until dos problem with the test is sorted
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275726 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
86a183cc1f
Allow typedef resource to pick up all the resources
of the name in the classloader, not just the first
PR: 24024
Obtained from: Jesse Glick
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275567 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
b3d2f33791
Fix and test for unresolved references due inability
to create the reference object to give to scripts.
PR: 23915
Reported by: Jose Alberto Fernandez
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275537 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
838afc68d8
Include checkstyle stylesheets
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275534 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
58e7162913
Reintroduce ant-jdepend.jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275422 13f79535-47bb-0310-9956-ffa450edef68
22 years ago