ant.git
18 hours agoA new CharSet type to hold available Charset names master
Gintas Grigelionis [Wed, 14 Nov 2018 21:43:37 +0000 (22:43 +0100)] 
A new CharSet type to hold available Charset names

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

19 hours 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

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

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

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

2 days 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 days 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

3 days 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

3 days 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

3 days 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

4 days 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

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

6 days 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

7 days 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

7 days 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

8 days 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

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

9 days 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

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

11 days 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

11 days 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)

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

11 days 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

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

11 days agoRevert "bz-62849 Check for filesystem loops due to symbolic links, in DirectoryScanne... 1.9.x
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.

12 days 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

12 days 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

12 days 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

13 days 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

13 days 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks 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 weeks agoFixed a broken test
Gintas Grigelionis [Sat, 27 Oct 2018 11:03:37 +0000 (13:03 +0200)] 
Fixed a broken test

2 weeks 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 weeks 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 weeks agoActivate more tests in Surefire
Gintas Grigelionis [Thu, 25 Oct 2018 21:56:19 +0000 (23:56 +0200)] 
Activate more tests in Surefire

2 weeks 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 weeks agoMissed special properties…
Gintas Grigelionis [Thu, 25 Oct 2018 17:39:50 +0000 (19:39 +0200)] 
Missed special properties…

2 weeks 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

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

3 weeks 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

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

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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

3 weeks 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

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

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

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

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

5 weeks 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

6 weeks 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

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

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

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

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

6 weeks agoBZ 62424 minimal module support for javadoc
Stefan Bodewig [Fri, 28 Sep 2018 18:27:53 +0000 (20:27 +0200)] 
BZ 62424 minimal module support for javadoc

6 weeks agosorry, fingers slipped and I didn't notice
Stefan Bodewig [Fri, 28 Sep 2018 16:33:58 +0000 (18:33 +0200)] 
sorry, fingers slipped and I didn't notice

6 weeks agoMerge branch '1.9.x'
Stefan Bodewig [Fri, 28 Sep 2018 16:30:04 +0000 (18:30 +0200)] 
Merge branch '1.9.x'

6 weeks agoadd nested <args> to signjar and verifyjar
Stefan Bodewig [Fri, 28 Sep 2018 16:23:25 +0000 (18:23 +0200)] 
add nested <args> to signjar and verifyjar

6 weeks agoBZ 62534 add support for -provider* args of keytool
Stefan Bodewig [Fri, 28 Sep 2018 16:07:16 +0000 (18:07 +0200)] 
BZ 62534 add support for -provider* args of keytool

8 weeks agoMerge 1.9.x branch into master
Maarten Coene [Wed, 19 Sep 2018 19:23:17 +0000 (21:23 +0200)] 
Merge 1.9.x branch into master

8 weeks agoThe information of the -nice and -nouserlib flags was not formatted properly.
Maarten Coene [Wed, 19 Sep 2018 19:05:48 +0000 (21:05 +0200)] 
The information of the -nice and -nouserlib flags was not formatted properly.

2 months agoRevert "Check spelling"
Gintas Grigelionis [Tue, 11 Sep 2018 06:42:57 +0000 (08:42 +0200)] 
Revert "Check spelling"

2 months agoCheck spelling
Gintas Grigelionis [Sat, 8 Sep 2018 20:12:24 +0000 (22:12 +0200)] 
Check spelling

2 months agoMerge 1.9.x branch into master
Jaikiran Pai [Fri, 7 Sep 2018 05:18:37 +0000 (10:48 +0530)] 
Merge 1.9.x branch into master

2 months agobz-62686 Correctly handle compression level changes in ZipOutputStream
Jaikiran Pai [Fri, 7 Sep 2018 05:14:44 +0000 (10:44 +0530)] 
bz-62686 Correctly handle compression level changes in ZipOutputStream

2 months ago[junitlauncher] add some more tests to verify exclusion of Ant runtime and JUnit...
Jaikiran Pai [Mon, 27 Aug 2018 13:20:15 +0000 (18:50 +0530)] 
[junitlauncher] add some more tests to verify exclusion of Ant runtime and JUnit platform libraries from the forked JVM classpath of junitlauncher task

2 months ago[junitlauncher] More fine-grained control over classpath for forked tests in junitlau...
Jaikiran Pai [Mon, 27 Aug 2018 12:16:12 +0000 (17:46 +0530)] 
[junitlauncher] More fine-grained control over classpath for forked tests in junitlauncher

- Allows Ant runtime libraries to be excluded and thus letting the user have control over where those library jars come from
- Allows JUnit platform libraries to be excluded and thus letting the user have control over where those library jars come from

Plus added testcases to verify this feature

2 months agoMerge 1.9.x into master
Jaikiran Pai [Sun, 26 Aug 2018 10:36:39 +0000 (16:06 +0530)] 
Merge 1.9.x into master

2 months agobz-62655 update WHATSNEW
Jaikiran Pai [Sun, 26 Aug 2018 10:34:57 +0000 (16:04 +0530)] 
bz-62655 update WHATSNEW

2 months agoMerge 1.9.x branch into master
Jaikiran Pai [Sun, 26 Aug 2018 10:30:14 +0000 (16:00 +0530)] 
Merge 1.9.x branch into master

2 months agobz-62655 throw a BuildException from augment task if the id attribute isn't specified...
Jaikiran Pai [Sat, 25 Aug 2018 11:43:31 +0000 (17:13 +0530)] 
bz-62655 throw a BuildException from augment task if the id attribute isn't specified or if the value points to an unknown reference

2 months agofix the needs.junit.engine.jupiter and needs.junit.engine.vintage selectors in the...
Jaikiran Pai [Wed, 22 Aug 2018 15:13:40 +0000 (20:43 +0530)] 
fix the needs.junit.engine.jupiter and needs.junit.engine.vintage selectors in the build file, to narrow down their selection to only the JUnitLauncherTaskTest

2 months agoFix test compilation (org.example.junitlauncher.Tracker requires junitlauncher option...
Jaikiran Pai [Wed, 22 Aug 2018 14:41:47 +0000 (20:11 +0530)] 
Fix test compilation (org.example.junitlauncher.Tracker requires junitlauncher optional dep)

2 months ago[junitlauncher] add more fine grained tests for junitlauncher task
Jaikiran Pai [Fri, 17 Aug 2018 11:14:47 +0000 (16:44 +0530)] 
[junitlauncher] add more fine grained tests for junitlauncher task

2 months ago[junitlauncher] Launch "testclasses" as one single JUnit5 LauncherDiscoveryRequest
Jaikiran Pai [Mon, 13 Aug 2018 12:14:49 +0000 (17:44 +0530)] 
[junitlauncher] Launch "testclasses" as one single JUnit5 LauncherDiscoveryRequest

2 months agoNo need to be defensive
Gintas Grigelionis [Tue, 21 Aug 2018 19:03:01 +0000 (21:03 +0200)] 
No need to be defensive

2 months ago[junitlauncher] allow listener element to define an outputDir for better control...
Jaikiran Pai [Tue, 21 Aug 2018 11:08:24 +0000 (16:38 +0530)] 
[junitlauncher] allow listener element to define an outputDir for better control over where the output is generated

2 months agoRemove unused imports and use more String.join()
Gintas Grigelionis [Mon, 20 Aug 2018 20:57:09 +0000 (22:57 +0200)] 
Remove unused imports and use more String.join()

2 months agoUse String.join()
Gintas Grigelionis [Mon, 20 Aug 2018 05:40:00 +0000 (07:40 +0200)] 
Use String.join()

2 months agoRemove redundancies
Gintas Grigelionis [Mon, 20 Aug 2018 05:27:40 +0000 (07:27 +0200)] 
Remove redundancies

2 months agoUse StandardCharsets
Gintas Grigelionis [Mon, 20 Aug 2018 05:17:03 +0000 (07:17 +0200)] 
Use StandardCharsets

2 months agoFix javadoc warnings in junitlauncher task
Jaikiran Pai [Fri, 17 Aug 2018 07:22:09 +0000 (12:52 +0530)] 
Fix javadoc warnings in junitlauncher task

2 months agogitignore .DS_Store files
Jaikiran Pai [Thu, 16 Aug 2018 12:47:38 +0000 (18:17 +0530)] 
gitignore .DS_Store files

2 months agoUpdate WHATSNEW for bz-62594
Jaikiran Pai [Fri, 17 Aug 2018 06:52:17 +0000 (12:22 +0530)] 
Update WHATSNEW for bz-62594

2 months agoFix junit-frames-saxon.xsl to work on windows
mcwarman [Thu, 2 Aug 2018 14:11:51 +0000 (15:11 +0100)] 
Fix junit-frames-saxon.xsl to work on windows

2 months agoInitial updates to the junitlauncher task manual to explain the fork support
Jaikiran Pai [Thu, 16 Aug 2018 12:17:31 +0000 (17:47 +0530)] 
Initial updates to the junitlauncher task manual to explain the fork support

2 months agoUpdate the EmailTaskTest to ensure that the mail task does indeed fail in expected...
Jaikiran Pai [Thu, 16 Aug 2018 11:01:42 +0000 (16:31 +0530)] 
Update the EmailTaskTest to ensure that the mail task does indeed fail in expected cases

3 months agomove the junitlauncher jupiter sample test to the org/example directory, just like...
Jaikiran Pai [Wed, 15 Aug 2018 04:56:29 +0000 (10:26 +0530)] 
move the junitlauncher jupiter sample test to the org/example directory, just like the vintage engine ones