mharmer
41eb0d922b
Fixing a potential ConcurrentModificationException that could occur when running Ant with the Parallel-Ant executor.
This closes #81 pull request at github/apache/ant
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
ac46ff190e
A typo
7 years ago
Gintas Grigelionis
3e0890f750
Fix javadoc
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
2c2cdb090e
Refactor getZipEntryStream
7 years ago
Gintas Grigelionis
aff7eefe14
Avoid leaks in AntAnalyzer
7 years ago
Gintas Grigelionis
9321ea62bf
Revert: any RuntimeException must be wrapped
7 years ago
Gintas Grigelionis
d6f1dc6bd8
Fix javadoc
7 years ago
Gintas Grigelionis
c5b8dab910
Fix backwards compatibility
7 years ago
Gintas Grigelionis
1e30b48a0e
Use try-with-resources
7 years ago
Gintas Grigelionis
1078b57904
Update javadoc
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
Gintas Grigelionis
e208ad9360
Implement ArcType as suggested
7 years ago
Gintas Grigelionis
570ca18375
Change an attribute name and explain why
7 years ago
Stefan Bodewig
39e5e40e39
closes #77
7 years ago
reudismam@gmail.com
14af87629d
Avoid FileInputStream and FileOutputStream.
7 years ago
Gintas Grigelionis
e25053ff49
Add “since” tag to documentation
7 years ago
Jaikiran Pai
454c252fe4
Include fix for bz-62890 in WHATSNEW
7 years ago
Jaikiran Pai
65cd88f59c
bz-62890 don't cache the case sensitivity of the filesystem.
Discussed at http://mail-archives.apache.org/mod_mbox/ant-dev/201811.mbox/%3c87efbq6uym.fsf@v45346.1blu.de%3e
7 years ago
Gintas Grigelionis
033fac5b47
Get most of junit task tests running under Surefire
7 years ago
Gintas Grigelionis
103fc3dd5a
Complete antrun plugin update fix unit task dependencies
7 years ago
Gintas Grigelionis
f871e80a6a
Get the tests dependent on ANT_HOME running
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
abce9225f5
Update the junitlauncher task to explain the ability to include JUnit libraries as part of the task's classpath
7 years ago
Gintas Grigelionis
59c7922277
Remove a nonexistent type
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
2b699eb695
SonarQube: nested if’s is a major code smell
7 years ago
Gintas Grigelionis
e8762432be
SonarQube: missing annotations on overridden methods
(major code smell)
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
Jaikiran Pai
506c3ab47a
Record the fix for bz-62849, contributed by Michael Barker
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
8efa4aff9f
Remove unused field in one of junitlauncher task supporting class
7 years ago
Gintas Grigelionis
1c760db0dc
Dependency update/sync with POM build
7 years ago
Jaikiran Pai
83aa80729a
Don't let ForkDefinition, in confined package, have a compile dependency on classes outside that package
7 years ago
Jaikiran Pai
b3f55a2422
[junitlauncher] Add a check in the build to ensure that the junitlauncher classes in "confined" package do not depend on classes they aren't meant to
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