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
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
Stefan Bodewig
828e2dc47d
Give a little <macrodef> demo
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275405 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
3e4dcc0c43
merge
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275404 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
d0f2e06b64
Good bye optional.jar
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275357 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
127199510d
AssertionsTest needs a javac that supports assert
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275306 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
b8bf84b852
Merge fix for 23320 from 1.6 branch
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275281 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Stefan Bodewig
c77ef9c163
StyleTest seems to require a TraX implementation
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275175 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
77c4393863
Copy parser jars into the bootstrap and dist areas. Makes it
easier to run Ant from the result of dist-lite
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275054 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
0a21bb2257
new test for ftp, disabled by default.
requires ftp.properties with your password in it in ant's root directory
also requires a local ftp server
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275015 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
02e1648724
Refactor script related tasks into single ScriptRunner utility.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274866 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Peter Reilly
7b6a46d131
get the tasks imported using <import> to be placed
in-line and not at the end of the current tasks
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274836 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
86bd63cdcd
Remove explicit mention of Parser jars in the manifest classpath
Set the context loader to allow parser to be found.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274813 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
2b3ae7a244
Remove warning about JAVA_HOME as it isn't required anymore
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274801 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
453b98bd11
TranslateTest is now fixed, removing the exclude.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274737 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Antoine Levy-Lambert
5fc7e5fb6c
exclude TranslateTest, does not work
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274734 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Conor MacNeill
b36b67d9e2
New Launch facility. Separate jar now can be used to launch Ant which
takes over some of the functionality traditionally found in the Ant launch
scripts.
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274724 13f79535-47bb-0310-9956-ffa450edef68
22 years ago