Jaikiran Pai
9eb170b4c2
Merge 1.9.x branch into master
6 years ago
Jaikiran Pai
fe1ed7725d
Call InetAddress.isReachable instead of using reflection, now that we require Java 5 runtime for Ant
6 years ago
Jaikiran Pai
f04cc8bb19
Call InetAddress.isReachable instead of using reflection, now that we require Java 5 runtime for Ant
6 years ago
Jaikiran Pai
da9ca6ef01
bz-63193 Introduce a readTimeout attribute for the "http" condition task
6 years ago
Stefan Bodewig
a0c161ad2a
Merge branch '1.9.x'
7 years ago
Stefan Bodewig
9d63d7ee24
respect failOnError when running ls checkout - Bugzilla 63071
I've decided to break backwards compatibility with the way I've
overridden runS. The "proper" way would have been to call the one-arg
version from the two-arg version so that subclasses overriding runS
would still get their method called. But I figured it to be extremely
unlikely that such subclasses exist.
7 years ago
Stefan Bodewig
d106673e3e
the task does not extend ExecTask (anymore?)
7 years ago
Stefan Bodewig
222bd8daa3
missing javadoc param - thanks Gintas Grigelionis @twogee
7 years ago
VGR
a621bcbcce
Based on feedback, added self to contributors, added line to WHATSNEW, added Ant version to docs, and replaced GPL man pages with BSD-licensed man pages.
7 years ago
VGR
343dff90f2
Added tasks for JDK's jmod and jlink tools.
7 years ago
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
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
Gintas Grigelionis
e25053ff49
Add “since” tag to documentation
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
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
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
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
Jaikiran Pai
83aa80729a
Don't let ForkDefinition, in confined package, have a compile dependency on classes outside that package
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
Gintas Grigelionis
f32cf7cfa5
More hardcoded assumptions about file tree structure
7 years ago