Stefan Bodewig
bc9fed1198
Merge branch '1.9.x'
5 years ago
Stefan Bodewig
45fd589a1f
rmic has been removed in Java 15+
5 years ago
twogee
814e95b745
More magic names
6 years ago
twogee
ae32a21a7e
build.sysclasspath is a magic name
6 years ago
Jaikiran Pai
6a06674efb
bz-63958 Correctly parse the forked mode launch definition in cases where a listener element is a sibling of either test or testclasses element
6 years ago
Marc Guillemot
fc82dd1bf6
bz-63850 junitlaucher legacy-xml: don't lose exception from @BeforeAll
6 years ago
sergiys
7b0e8555a0
bz-63874 Fix regression introduced by commit "Use commandline argument file for all options, but -J, for case javac"
This closes #105 pull request at github/apache/ant repo
6 years ago
mguessan@free.fr
451ecde5c9
Send FQDN instead of simple hostname in SMTP HELO command
This closes #101 pull request at github/apache/ant repo
6 years ago
Jan Matrne
f8e349cdba
Provide more meaningful error message
6 years ago
Jaikiran Pai
3a1ff0d804
Skip ImageTest if JPEG codec from com/sun/image/codec isn't available in the Java runtime.
OpenJDK even in Java 8 (update 222) doesn't include these codecs. Oracle JDK has it in
Java 8, but not in subsequent Java releases.
6 years ago
jkf
8f90351387
improved version handling in CompilerAdapter
6 years ago
jmkf
5c8178b5b3
Merge pull request #98 from slobokot/fork-javac
Use commandline argument file for all options, but -J, for case javac…
6 years ago
jkf
d49dacf854
JavaEnvUtils - Suppot of JDK1.8+ only
Updated JavaEnvUtils to reflect that we are running JDK 1.8+, and
removal of checks that have become obsolete as a consequence thereof
6 years ago
sergiys
a207d5b8d2
Use commandline argument file for all options, but -J, for case javac.forked=true
6 years ago
jkf
35d3b9ab11
@BeforeAll failing should break build. Pr 63479
6 years ago
jkf
9b4393b85c
Avoid connection refused errors by leaving some time between the gets, works locally lets see if it also works for jenkins
6 years ago
jkf
ceb39e2179
removed http links from java sources to the extent possible
6 years ago
jkf
3d515b2841
remove unnecessary http references in xml / xsl testcases
6 years ago
jkf
3a4980e3c4
updated reference to license from http to https using
find . -type f -exec sed -i "s/http:\/\/www.apache.org\/licenses\/LICENSE-2.0/https:\/\/www.apache.org\/licenses\/LICENSE-2.0/" {} \;
6 years ago
Matthias Gutheil
b8451922b6
[junitlauncher] Add support for selecting tests based on JUnit-5 tag functionality
This closes #93 pull request at github/apache/ant repo
6 years ago
Stefan Bodewig
9722f062dc
missing license headers
6 years ago
twogee
f109d2f31d
HTML5-compliant javadoc
This closes #88 pull request at github/apache/ant repo
6 years ago
Stefan Bodewig
717387dfa6
Merge branch '1.9.x'
6 years ago
Stefan Bodewig
bf1cbe78c0
add missing license header
6 years ago
Jan Matrne
b5044cad48
additional testcases
6 years ago
VGR
343dff90f2
Added tasks for JDK's jmod and jlink tools.
7 years ago
Jaikiran Pai
b510f3588d
[junitlauncher] - Switch back to issuing a separate LauncherDiscoveryRequest
for each of the test class that are selected by the <testclasses> usage
In 1.10.5 version (the latest released) of Ant, we used to launch
multiple LauncherDiscoveryRequest (a JUnit 5 construct), one each
for a test class, that belonged to the <testclasses> usage. Commit
3f806148c3 changed it to launch one
single LauncherDiscoveryRequest (and including all those test
classes in that request) because it seemed more logical to do so.
However, recent tests/experimentation of the master branch has
shown that it introduces complexities when the "legacy-xml"
listener (the one which supports generating test results in xml
format that junitreport understands) is used. These complexities
include - expecting each test class to have a separate report file,
but isn't limited to that. Solving these issues isn't easy and
probably not worth it, given that the only reason we started using
a single LauncherDiscoveryRequest is because it just seemed logical
and there is no other strong reason to do so. This commit switches
back to the behaviour that's been there in 1.10.5 version, to issue
multiple separate LauncherDiscoveryRequest(s) one each for the
test class that's selected through the use of <testclasses>.
7 years ago
Jaikiran Pai
69269adced
bz-62952 Fix the jar-test.xml#testMultiReleaseJar antunit test case
7 years ago
Jaikiran Pai
593aff2d2e
bz-62952 Make AntClassLoader multi-release jar aware when it deals with java.util.jar.JarFile
7 years ago
Gintas Grigelionis
57895fd064
Make DataType and Reference generic
7 years ago
Gintas Grigelionis
bd82d189ad
Remove unused imports
7 years ago
Gintas Grigelionis
ab13b876c6
Make CharSet backwards compatible
7 years ago
Gintas Grigelionis
fbfad85aec
A new CharSet type to hold available Charset names
7 years ago
reudismam@gmail.com
14af87629d
Avoid FileInputStream and FileOutputStream.
7 years ago
Gintas Grigelionis
033fac5b47
Get most of junit task tests running under Surefire
7 years ago
Gintas Grigelionis
2165dd2255
Simplify tests, use Rule and/or try with resources
7 years ago
Gintas Grigelionis
a5b49c1aa3
Simplify tests, use Charset
7 years ago
Gintas Grigelionis
d1af31d0ea
Tidy up code, use out-of-the-box test rules
7 years ago
Jaikiran Pai
8ae8894fc2
bz-62890 fix the newly added test in SyncTest. Also, in the implementation of FileUtils#isCaseSensitiveFileSystem, take into account Files.isSame can throw NoSuchFileException in the absence of either of the paths being checked
7 years ago
Jaikiran Pai
52c8c5a079
bz-62890 Make sure the sync task considers the case sensitivity of the destination directory's filesystem while looking for orphan files to delete
7 years ago
Jaikiran Pai
f410119cf9
Merge 1.9.x branch into master
7 years ago
Gintas Grigelionis
551cb55e32
Revert last 5 commits
7 years ago
Gintas Grigelionis
ec70921a96
Revert a regression, improve tests
7 years ago
Gintas Grigelionis
e2dd6ec79a
SonarQube: unnecessary parentheses is a major code smell
7 years ago
Gintas Grigelionis
2977bb596c
Checkstyle: dangling operators
7 years ago
Jaikiran Pai
8cc8feebb0
Revert "bz-62849 Check for filesystem loops due to symbolic links, in DirectoryScanner and Delete task" since it causes a regression that's exposed by the dirscanner-symlinks-test.xml antunit testcase
This reverts commit 05bfffa247 and 506c3ab47a .
7 years ago
Jaikiran Pai
6c860479a1
Merge 1.9.x branch into master
7 years ago
Michael Barker
05bfffa247
bz-62849 Check for filesystem loops due to symbolic links, in DirectoryScanner and Delete task
7 years ago
Jaikiran Pai
0cb9d22b77
[junitlauncher] Allow JUnit libraries to be part of the task's classpath instead of mandating it to be part of Ant's runtime classpath
7 years ago
Stefan Bodewig
d7bafaa19a
move test constants into a class defined in the test tree
7 years ago