ant.git
4 days agoMerge branch '1.9.x' master
Stefan Bodewig [Sat, 12 Jan 2019 16:18:30 +0000 (17:18 +0100)] 
Merge branch '1.9.x'

4 days agorespect failOnError when running ls checkout - Bugzilla 63071 1.9.x
Stefan Bodewig [Sat, 12 Jan 2019 16:13:51 +0000 (17:13 +0100)] 
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.

4 days agothe task does not extend ExecTask (anymore?)
Stefan Bodewig [Sat, 12 Jan 2019 16:01:01 +0000 (17:01 +0100)] 
the task does not extend ExecTask (anymore?)

2 weeks agoMerge 1.9.x branch into master
Jaikiran Pai [Thu, 27 Dec 2018 13:17:35 +0000 (18:47 +0530)] 
Merge 1.9.x branch into master

2 weeks agoUpdate the install.html and ant-jsch pom.xml to use the newer 0.1.55 version of jsch...
Jaikiran Pai [Thu, 27 Dec 2018 13:11:11 +0000 (18:41 +0530)] 
Update the install.html and ant-jsch pom.xml to use the newer 0.1.55 version of jsch library

2 weeks agoUpdate the install.html and ant-jsch pom.xml to use the newer 0.1.55 version of jsch...
Jaikiran Pai [Thu, 27 Dec 2018 13:08:24 +0000 (18:38 +0530)] 
Update the install.html and ant-jsch pom.xml to use the newer 0.1.55 version of jsch library

3 weeks agoUpgrade Jsch library to 0.1.55
Jaikiran Pai [Thu, 27 Dec 2018 03:24:33 +0000 (08:54 +0530)] 
Upgrade Jsch library to 0.1.55

3 weeks agoUpdate JSCh (see http://www.jcraft.com/jsch/ChangeLog)
twogee [Sun, 23 Dec 2018 10:22:18 +0000 (11:22 +0100)] 
Update JSCh (see www.jcraft.com/jsch/ChangeLog)

This closes #84 pull request at github/apache/ant repo

3 weeks agoMerge pull request #82 from twogee/invalid-html
Stefan Bodewig [Thu, 20 Dec 2018 19:31:00 +0000 (20:31 +0100)] 
Merge pull request #82 from twogee/invalid-html

Use valid markup

4 weeks agoUse valid markup 82/head
twogee [Thu, 20 Dec 2018 08:10:14 +0000 (09:10 +0100)] 
Use valid markup

4 weeks agomoved to gitbox
Stefan Bodewig [Mon, 17 Dec 2018 09:06:40 +0000 (10:06 +0100)] 
moved to gitbox

4 weeks agomissing javadoc param - thanks Gintas Grigelionis @twogee
Stefan Bodewig [Sun, 16 Dec 2018 10:49:46 +0000 (11:49 +0100)] 
missing javadoc param - thanks Gintas Grigelionis @twogee

4 weeks agoexclude modules package from mvn when not using Java9
Stefan Bodewig [Sun, 16 Dec 2018 10:02:48 +0000 (11:02 +0100)] 
exclude modules package from mvn when not using Java9

Many thanks to Gintas (@twogee) for catching this

4 weeks agopoint to Craig's PR
Stefan Bodewig [Sat, 15 Dec 2018 16:53:49 +0000 (17:53 +0100)] 
point to Craig's PR

4 weeks agowhitespace - closes #80
Stefan Bodewig [Sat, 15 Dec 2018 16:27:42 +0000 (17:27 +0100)] 
whitespace - closes #80

4 weeks agoBased on feedback, added self to contributors, added line to WHATSNEW, added Ant...
VGR [Thu, 13 Dec 2018 00:02:57 +0000 (19:02 -0500)] 
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.

4 weeks agoAdded tasks for JDK's jmod and jlink tools.
VGR [Fri, 7 Dec 2018 04:32:57 +0000 (23:32 -0500)] 
Added tasks for JDK's jmod and jlink tools.

4 weeks agoUpdate the manual of junitlauncher task as well as add a note in WHATSNEW about the...
Jaikiran Pai [Fri, 14 Dec 2018 09:54:56 +0000 (15:24 +0530)] 
Update the manual of junitlauncher task as well as add a note in WHATSNEW about the changed class names of that task

5 weeks agoFixing a potential ConcurrentModificationException that could occur when running...
mharmer [Tue, 11 Dec 2018 22:02:37 +0000 (14:02 -0800)] 
Fixing a potential ConcurrentModificationException that could occur when running Ant with the Parallel-Ant executor.

This closes #81 pull request at github/apache/ant

5 weeks ago[junitlauncher] - Switch back to issuing a separate LauncherDiscoveryRequest
Jaikiran Pai [Fri, 7 Dec 2018 08:30:15 +0000 (14:00 +0530)] 
[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
3f806148c3f3542b8526d5f91f10d6189bf0607d 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>.

6 weeks agobz-62952 Fix the jar-test.xml#testMultiReleaseJar antunit test case
Jaikiran Pai [Wed, 5 Dec 2018 14:06:53 +0000 (19:36 +0530)] 
bz-62952 Fix the jar-test.xml#testMultiReleaseJar antunit test case

6 weeks agobz-62952 Make AntClassLoader multi-release jar aware when it deals with java.util...
Jaikiran Pai [Wed, 5 Dec 2018 12:56:14 +0000 (18:26 +0530)] 
bz-62952 Make AntClassLoader multi-release jar aware when it deals with java.util.jar.JarFile

8 weeks agoA typo
Gintas Grigelionis [Tue, 20 Nov 2018 21:13:21 +0000 (22:13 +0100)] 
A typo

8 weeks agoFix javadoc 79/head
Gintas Grigelionis [Tue, 20 Nov 2018 06:32:48 +0000 (07:32 +0100)] 
Fix javadoc

8 weeks agoMake DataType and Reference generic
Gintas Grigelionis [Mon, 19 Nov 2018 21:22:05 +0000 (22:22 +0100)] 
Make DataType and Reference generic

8 weeks agoRemove unused imports
Gintas Grigelionis [Mon, 19 Nov 2018 16:04:01 +0000 (17:04 +0100)] 
Remove unused imports

8 weeks agoRefactor getZipEntryStream
Gintas Grigelionis [Mon, 19 Nov 2018 08:24:54 +0000 (09:24 +0100)] 
Refactor getZipEntryStream

8 weeks agoAvoid leaks in AntAnalyzer
Gintas Grigelionis [Sun, 18 Nov 2018 19:57:49 +0000 (20:57 +0100)] 
Avoid leaks in AntAnalyzer

8 weeks agoRevert: any RuntimeException must be wrapped
Gintas Grigelionis [Sun, 18 Nov 2018 19:14:56 +0000 (20:14 +0100)] 
Revert: any RuntimeException must be wrapped

2 months agoFix javadoc
Gintas Grigelionis [Sat, 17 Nov 2018 16:25:03 +0000 (17:25 +0100)] 
Fix javadoc

2 months agoFix backwards compatibility
Gintas Grigelionis [Sat, 17 Nov 2018 11:39:27 +0000 (12:39 +0100)] 
Fix backwards compatibility

2 months agoUse try-with-resources
Gintas Grigelionis [Sat, 17 Nov 2018 10:46:26 +0000 (11:46 +0100)] 
Use try-with-resources

2 months agoUpdate javadoc
Gintas Grigelionis [Sat, 17 Nov 2018 10:33:25 +0000 (11:33 +0100)] 
Update javadoc

2 months agoMake CharSet backwards compatible
Gintas Grigelionis [Sat, 17 Nov 2018 10:23:03 +0000 (11:23 +0100)] 
Make CharSet backwards compatible

2 months agoA new CharSet type to hold available Charset names 78/head
Gintas Grigelionis [Wed, 14 Nov 2018 21:43:37 +0000 (22:43 +0100)] 
A new CharSet type to hold available Charset names

2 months agoImplement ArcType as suggested
Gintas Grigelionis [Wed, 14 Nov 2018 21:32:21 +0000 (22:32 +0100)] 
Implement ArcType as suggested

2 months agoChange an attribute name and explain why
Gintas Grigelionis [Wed, 14 Nov 2018 21:30:18 +0000 (22:30 +0100)] 
Change an attribute name and explain why

2 months agocloses #77
Stefan Bodewig [Wed, 14 Nov 2018 16:14:57 +0000 (17:14 +0100)] 
closes #77

2 months agoAvoid FileInputStream and FileOutputStream.
reudismam@gmail.com [Sun, 4 Nov 2018 16:31:37 +0000 (14:31 -0200)] 
Avoid FileInputStream and FileOutputStream.

2 months agoAdd “since” tag to documentation
Gintas Grigelionis [Tue, 13 Nov 2018 05:44:16 +0000 (06:44 +0100)] 
Add “since” tag to documentation

2 months agoInclude fix for bz-62890 in WHATSNEW
Jaikiran Pai [Tue, 13 Nov 2018 04:24:52 +0000 (09:54 +0530)] 
Include fix for bz-62890 in WHATSNEW

2 months agobz-62890 don't cache the case sensitivity of the filesystem.
Jaikiran Pai [Tue, 13 Nov 2018 04:20:13 +0000 (09:50 +0530)] 
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

2 months agoGet most of junit task tests running under Surefire
Gintas Grigelionis [Mon, 12 Nov 2018 05:34:43 +0000 (06:34 +0100)] 
Get most of junit task tests running under Surefire

2 months agoComplete antrun plugin update fix unit task dependencies
Gintas Grigelionis [Sun, 11 Nov 2018 22:11:11 +0000 (23:11 +0100)] 
Complete antrun plugin update fix unit task dependencies

2 months agoGet the tests dependent on ANT_HOME running
Gintas Grigelionis [Sun, 11 Nov 2018 20:50:29 +0000 (21:50 +0100)] 
Get the tests dependent on ANT_HOME running

2 months agoSimplify tests, use Rule and/or try with resources
Gintas Grigelionis [Sun, 11 Nov 2018 12:39:01 +0000 (13:39 +0100)] 
Simplify tests, use Rule and/or try with resources

2 months agoSimplify tests, use Charset
Gintas Grigelionis [Sun, 11 Nov 2018 12:34:11 +0000 (13:34 +0100)] 
Simplify tests, use Charset

2 months agoTidy up code, use out-of-the-box test rules
Gintas Grigelionis [Fri, 9 Nov 2018 05:17:32 +0000 (06:17 +0100)] 
Tidy up code, use out-of-the-box test rules

2 months agobz-62890 fix the newly added test in SyncTest. Also, in the implementation of FileUti...
Jaikiran Pai [Thu, 8 Nov 2018 12:54:12 +0000 (18:24 +0530)] 
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

2 months agobz-62890 Make sure the sync task considers the case sensitivity of the destination...
Jaikiran Pai [Thu, 8 Nov 2018 12:25:24 +0000 (17:55 +0530)] 
bz-62890 Make sure the sync task considers the case sensitivity of the destination directory's filesystem while looking for orphan files to delete

2 months agoUpdate the junitlauncher task to explain the ability to include JUnit libraries as...
Jaikiran Pai [Wed, 7 Nov 2018 05:36:56 +0000 (11:06 +0530)] 
Update the junitlauncher task to explain the ability to include JUnit libraries as part of the task's classpath

2 months agoRemove a nonexistent type
Gintas Grigelionis [Tue, 6 Nov 2018 21:10:28 +0000 (22:10 +0100)] 
Remove a nonexistent type

2 months agoMerge 1.9.x branch into master
Jaikiran Pai [Tue, 6 Nov 2018 10:46:52 +0000 (16:16 +0530)] 
Merge 1.9.x branch into master

2 months agoRevert last 5 commits
Gintas Grigelionis [Sun, 4 Nov 2018 18:45:48 +0000 (19:45 +0100)] 
Revert last 5 commits

2 months agoSonarQube: nested if’s is a major code smell
Gintas Grigelionis [Sun, 4 Nov 2018 11:56:27 +0000 (12:56 +0100)] 
SonarQube: nested if’s is a major code smell

2 months agoSonarQube: missing annotations on overridden methods
Gintas Grigelionis [Sun, 4 Nov 2018 11:51:37 +0000 (12:51 +0100)] 
SonarQube: missing annotations on overridden methods
(major code smell)

2 months agoRevert a regression, improve tests
Gintas Grigelionis [Sun, 4 Nov 2018 09:23:51 +0000 (10:23 +0100)] 
Revert a regression, improve tests

2 months agoSonarQube: unnecessary parentheses is a major code smell
Gintas Grigelionis [Sun, 4 Nov 2018 09:02:42 +0000 (10:02 +0100)] 
SonarQube: unnecessary parentheses is a major code smell

2 months agoCheckstyle: dangling operators
Gintas Grigelionis [Sun, 4 Nov 2018 09:01:43 +0000 (10:01 +0100)] 
Checkstyle: dangling operators

2 months agoRevert "bz-62849 Check for filesystem loops due to symbolic links, in DirectoryScanne...
Jaikiran Pai [Sun, 4 Nov 2018 04:21:55 +0000 (09:51 +0530)] 
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 05bfffa247c470d12a5b93326a05d3fd0d890ce0 and 506c3ab47a1d69ecff691cc535ae8368d0aeb1db.

2 months agoMerge 1.9.x branch into master
Jaikiran Pai [Sat, 3 Nov 2018 12:22:43 +0000 (17:52 +0530)] 
Merge 1.9.x branch into master

2 months agoRecord the fix for bz-62849, contributed by Michael Barker
Jaikiran Pai [Sat, 3 Nov 2018 12:18:47 +0000 (17:48 +0530)] 
Record the fix for bz-62849, contributed by Michael Barker

2 months agobz-62849 Check for filesystem loops due to symbolic links, in DirectoryScanner and...
Michael Barker [Sat, 3 Nov 2018 12:11:10 +0000 (17:41 +0530)] 
bz-62849 Check for filesystem loops due to symbolic links, in DirectoryScanner and Delete task

2 months agoRemove unused field in one of junitlauncher task supporting class
Jaikiran Pai [Fri, 2 Nov 2018 03:38:50 +0000 (09:08 +0530)] 
Remove unused field in one of junitlauncher task supporting class

2 months agoDependency update/sync with POM build
Gintas Grigelionis [Thu, 1 Nov 2018 20:26:31 +0000 (21:26 +0100)] 
Dependency update/sync with POM build

2 months agoDon't let ForkDefinition, in confined package, have a compile dependency on classes...
Jaikiran Pai [Thu, 11 Oct 2018 11:42:32 +0000 (17:12 +0530)] 
Don't let ForkDefinition, in confined package, have a compile dependency on classes outside that package

2 months ago[junitlauncher] Add a check in the build to ensure that the junitlauncher classes...
Jaikiran Pai [Thu, 11 Oct 2018 09:49:55 +0000 (15:19 +0530)] 
[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

2 months ago[junitlauncher] Allow JUnit libraries to be part of the task's classpath instead...
Jaikiran Pai [Wed, 29 Aug 2018 09:56:38 +0000 (15:26 +0530)] 
[junitlauncher] Allow JUnit libraries to be part of the task's classpath instead of mandating it to be part of Ant's runtime classpath

2 months agothere are no tests in MagicTestNames, thanks Gintas
Stefan Bodewig [Mon, 29 Oct 2018 07:20:12 +0000 (08:20 +0100)] 
there are no tests in MagicTestNames, thanks Gintas

2 months agoensure MagicTestNames is part of testutil jar
Stefan Bodewig [Sun, 28 Oct 2018 19:40:36 +0000 (20:40 +0100)] 
ensure MagicTestNames is part of testutil jar

2 months agomove test constants into a class defined in the test tree
Stefan Bodewig [Sun, 28 Oct 2018 19:35:38 +0000 (20:35 +0100)] 
move test constants into a class defined in the test tree

2 months agoAn attempt to run JUnit task tests in Surefire
Gintas Grigelionis [Sun, 28 Oct 2018 12:21:23 +0000 (13:21 +0100)] 
An attempt to run JUnit task tests in Surefire
(please note different exclude rules than for compiler…)

2 months agoFix more tests, remove redundancies from test class path
Gintas Grigelionis [Sat, 27 Oct 2018 19:38:40 +0000 (21:38 +0200)] 
Fix more tests, remove redundancies from test class path
(no checks of build.tests.value necessary)

2 months agoFixed a broken test
Gintas Grigelionis [Sat, 27 Oct 2018 11:03:37 +0000 (13:03 +0200)] 
Fixed a broken test

2 months agoMake contents of jar files similar to those built by Ant
Gintas Grigelionis [Sat, 27 Oct 2018 08:36:49 +0000 (10:36 +0200)] 
Make contents of jar files similar to those built by Ant

2 months agoRemove unused root property, add assertions for build.tests.value
Gintas Grigelionis [Fri, 26 Oct 2018 20:22:01 +0000 (22:22 +0200)] 
Remove unused root property, add assertions for build.tests.value

2 months agoActivate more tests in Surefire
Gintas Grigelionis [Thu, 25 Oct 2018 21:56:19 +0000 (23:56 +0200)] 
Activate more tests in Surefire

2 months agoMore hardcoded assumptions about file tree structure
Gintas Grigelionis [Thu, 25 Oct 2018 18:57:42 +0000 (20:57 +0200)] 
More hardcoded assumptions about file tree structure

2 months agoMissed special properties…
Gintas Grigelionis [Thu, 25 Oct 2018 17:39:50 +0000 (19:39 +0200)] 
Missed special properties…

2 months agoFix “javac missing on Java 8” issue with Surefire
Gintas Grigelionis [Thu, 25 Oct 2018 17:05:39 +0000 (19:05 +0200)] 
Fix “javac missing on Java 8” issue with Surefire

2 months agoMake Jenkins builds work again
Gintas Grigelionis [Thu, 25 Oct 2018 15:06:24 +0000 (17:06 +0200)] 
Make Jenkins builds work again

2 months agoAdjust packaging, get more tests running in Surefire
Gintas Grigelionis [Thu, 25 Oct 2018 06:20:01 +0000 (08:20 +0200)] 
Adjust packaging, get more tests running in Surefire

2 months agoMore MagicNames
Gintas Grigelionis [Wed, 24 Oct 2018 20:35:02 +0000 (22:35 +0200)] 
More MagicNames

2 months agoUpdate WHATSNEW
Gintas Grigelionis [Wed, 24 Oct 2018 06:04:25 +0000 (08:04 +0200)] 
Update WHATSNEW

2 months agoTry to run a majority of available tests in Surefire without modifications
Gintas Grigelionis [Tue, 23 Oct 2018 22:28:00 +0000 (00:28 +0200)] 
Try to run a majority of available tests in Surefire without modifications

2 months agoTry to run more tests with Surefire; document snags, fix packaging
Gintas Grigelionis [Tue, 23 Oct 2018 20:09:57 +0000 (22:09 +0200)] 
Try to run more tests with Surefire; document snags, fix packaging

2 months agoAdd magic names for tests, run more tests in Surefire
Gintas Grigelionis [Tue, 23 Oct 2018 18:16:24 +0000 (20:16 +0200)] 
Add magic names for tests, run more tests in Surefire

2 months agoUse canonical download URL for SonarQube tasks
Gintas Grigelionis [Sat, 20 Oct 2018 07:28:39 +0000 (09:28 +0200)] 
Use canonical download URL for SonarQube tasks

2 months agoDisable Surefire for ant-jai, too
Gintas Grigelionis [Sat, 20 Oct 2018 07:13:02 +0000 (09:13 +0200)] 
Disable Surefire for ant-jai, too

2 months agoTry to run some tests with Surefire
Gintas Grigelionis [Sat, 20 Oct 2018 07:04:14 +0000 (09:04 +0200)] 
Try to run some tests with Surefire

2 months agoUpdate dependencies, fix packaging
Gintas Grigelionis [Sat, 20 Oct 2018 07:01:30 +0000 (09:01 +0200)] 
Update dependencies, fix packaging

2 months agoAdd imageio to Maven reactor
Gintas Grigelionis [Sat, 20 Oct 2018 06:58:19 +0000 (08:58 +0200)] 
Add imageio to Maven reactor

3 months agoMerge branch '1.9.x'
Stefan Bodewig [Wed, 17 Oct 2018 11:34:53 +0000 (13:34 +0200)] 
Merge branch '1.9.x'

3 months agouse generics properly
Stefan Bodewig [Wed, 17 Oct 2018 11:34:31 +0000 (13:34 +0200)] 
use generics properly

3 months agoMerge 1.9.x branch into master
Jaikiran Pai [Fri, 5 Oct 2018 06:05:03 +0000 (11:35 +0530)] 
Merge 1.9.x branch into master

3 months agobz-62764 Add a debug log message when we skip invalid path elements from the AntClass...
Jaikiran Pai [Thu, 4 Oct 2018 06:46:28 +0000 (12:16 +0530)] 
bz-62764 Add a debug log message when we skip invalid path elements from the AntClassLoader's classpath

3 months agoMerge branch '1.9.x'
Stefan Bodewig [Sat, 29 Sep 2018 16:01:36 +0000 (18:01 +0200)] 
Merge branch '1.9.x'

3 months agofix javadocs
Stefan Bodewig [Sat, 29 Sep 2018 15:59:26 +0000 (17:59 +0200)] 
fix javadocs

3 months agobad rowspan
Stefan Bodewig [Fri, 28 Sep 2018 18:43:40 +0000 (20:43 +0200)] 
bad rowspan

3 months agoMerge branch '1.9.x'
Stefan Bodewig [Fri, 28 Sep 2018 18:42:18 +0000 (20:42 +0200)] 
Merge branch '1.9.x'