ant.git
5 days agogo back to ignoring the ImageIOTest#testFailOnError() test, like it was for several... master
Jaikiran Pai [Sun, 22 May 2022 02:22:06 +0000 (07:52 +0530)] 
go back to ignoring the ImageIOTest#testFailOnError() test, like it was for several years/releases before being moved from ImageTest to this new test class

5 days agoupgrade junit5 library dependencies
Jaikiran Pai [Sat, 21 May 2022 13:57:33 +0000 (19:27 +0530)] 
upgrade junit5 library dependencies

5 days agoMaven Ant tasks has been EOLed (https://maven.apache.org/ant-tasks/). Switch to Maven...
Jaikiran Pai [Sat, 21 May 2022 13:57:33 +0000 (19:27 +0530)] 
Maven Ant tasks has been EOLed (https://maven.apache.org/ant-tasks/). Switch to Maven Artficat
Resolver Ant tasks instead (https://maven.apache.org/resolver-ant-tasks/)

5 days agoUse a fixed timezone in Tstamp test
Jaikiran Pai [Sat, 21 May 2022 10:05:11 +0000 (15:35 +0530)] 
Use a fixed timezone in Tstamp test

6 days agoFix integer overflow when parsing SOURCE_DATE_EPOCH
Mikolaj Izdebski [Fri, 22 Apr 2022 22:12:11 +0000 (00:12 +0200)] 
Fix integer overflow when parsing SOURCE_DATE_EPOCH

This closes #186 pull request at github/apache/ant repo.

6 weeks agoMerge branch '1.9.x'
Stefan Bodewig [Sun, 10 Apr 2022 15:09:59 +0000 (17:09 +0200)] 
Merge branch '1.9.x'

6 weeks agotypo 1.9.x
Stefan Bodewig [Sun, 10 Apr 2022 15:09:06 +0000 (17:09 +0200)] 
typo

thanks @twogee

6 weeks agoMerge branch '1.9.x'
Stefan Bodewig [Sat, 9 Apr 2022 16:01:35 +0000 (18:01 +0200)] 
Merge branch '1.9.x'

6 weeks agoplug resource leak as suggested by Mike Phillips in BZ issue 66001
Stefan Bodewig [Sat, 9 Apr 2022 15:58:33 +0000 (17:58 +0200)] 
plug resource leak as suggested by Mike Phillips in BZ issue 66001

6 weeks agoMerge pull request #185 from chagmed/master
Stefan Bodewig [Sat, 9 Apr 2022 15:49:44 +0000 (17:49 +0200)] 
Merge pull request #185 from chagmed/master

Update selectors.html

6 weeks agoUpdate selectors.html 185/head
Dan DeRobertis [Fri, 8 Apr 2022 16:46:14 +0000 (12:46 -0400)] 
Update selectors.html

Correct small typo in selectors.html

8 weeks agoterse w/ Optional
Matt Benson [Tue, 29 Mar 2022 22:25:04 +0000 (17:25 -0500)] 
terse w/ Optional

2 months agoMerge branch '1.9.x'
Stefan Bodewig [Tue, 22 Mar 2022 20:23:45 +0000 (21:23 +0100)] 
Merge branch '1.9.x'

2 months agodocument modificationtime attribute of zip added many moons ago
Stefan Bodewig [Tue, 22 Mar 2022 20:22:54 +0000 (21:22 +0100)] 
document modificationtime attribute of zip added many moons ago

2 months ago@since
Matt Benson [Fri, 11 Mar 2022 15:46:17 +0000 (09:46 -0600)] 
@since

2 months agopathconvert: avoid buffering for log/property output
Matt Benson [Fri, 11 Mar 2022 15:10:06 +0000 (09:10 -0600)] 
pathconvert: avoid buffering for log/property output

2 months agolocal += nested name elements
Matt Benson [Sat, 26 Feb 2022 00:48:19 +0000 (18:48 -0600)] 
local += nested name elements

2 months agoscriptdef += @setbeans
Matt Benson [Fri, 25 Feb 2022 23:55:40 +0000 (17:55 -0600)] 
scriptdef += @setbeans

2 months agocompute effective properties permitting null values
Matt Benson [Fri, 25 Feb 2022 16:46:56 +0000 (10:46 -0600)] 
compute effective properties permitting null values

2 months agoset expectedMessage for antunit test
Matt Benson [Fri, 25 Feb 2022 02:49:21 +0000 (20:49 -0600)] 
set expectedMessage for antunit test

2 months agosupport default value for scriptdef attribute
Matt Benson [Fri, 25 Feb 2022 02:45:08 +0000 (20:45 -0600)] 
support default value for scriptdef attribute

3 months agotest script properties binding
Matt Benson [Thu, 24 Feb 2022 20:36:56 +0000 (14:36 -0600)] 
test script properties binding

3 months agobind all effective properties to script* tasks/types
Matt Benson [Thu, 24 Feb 2022 20:35:48 +0000 (14:35 -0600)] 
bind all effective properties to script* tasks/types

3 months agofilter out null
Matt Benson [Sun, 20 Feb 2022 17:06:30 +0000 (11:06 -0600)] 
filter out null

3 months agowarm up before expected compiled to outperform noncompiled
Matt Benson [Sat, 19 Feb 2022 23:44:18 +0000 (17:44 -0600)] 
warm up before expected compiled to outperform noncompiled

3 months agoMerge branch 'master' into script-manager
Matt Benson [Thu, 17 Feb 2022 16:23:54 +0000 (10:23 -0600)] 
Merge branch 'master' into script-manager

3 months agotry again with a value that already handles dirsep
Matt Benson [Wed, 16 Feb 2022 21:27:09 +0000 (15:27 -0600)] 
try again with a value that already handles dirsep

3 months agofixup testcase for Windows
Matt Benson [Wed, 16 Feb 2022 20:59:58 +0000 (14:59 -0600)] 
fixup testcase for Windows

3 months agosupport writing pathconvert output to resource
Matt Benson [Wed, 16 Feb 2022 19:30:29 +0000 (13:30 -0600)] 
support writing pathconvert output to resource

3 months agoremove spurious default field values
Matt Benson [Wed, 16 Feb 2022 18:57:32 +0000 (12:57 -0600)] 
remove spurious default field values

3 months agoskip tests relying on Javascript when running in Jenkins w/ JDK >= 15
Matt Benson [Wed, 16 Feb 2022 18:52:22 +0000 (12:52 -0600)] 
skip tests relying on Javascript when running in Jenkins w/ JDK >= 15

3 months agopropagate same properties as build.xml antunit invocation
Matt Benson [Wed, 16 Feb 2022 18:51:36 +0000 (12:51 -0600)] 
propagate same properties as build.xml antunit invocation

3 months agoskip tests relying on Javascript when running in Jenkins w/ JDK >= 15
Matt Benson [Wed, 16 Feb 2022 18:52:22 +0000 (12:52 -0600)] 
skip tests relying on Javascript when running in Jenkins w/ JDK >= 15

3 months agopropagate same properties as build.xml antunit invocation
Matt Benson [Wed, 16 Feb 2022 18:51:36 +0000 (12:51 -0600)] 
propagate same properties as build.xml antunit invocation

3 months agorefactor script manager to enum
Matt Benson [Tue, 15 Feb 2022 23:37:54 +0000 (17:37 -0600)] 
refactor script manager to enum

3 months agouse javascript w/ javax for scriptcondition return tests
Matt Benson [Tue, 15 Feb 2022 16:28:00 +0000 (10:28 -0600)] 
use javascript w/ javax for scriptcondition return tests

3 months agofix bug with scriptcondition eval result
Matt Benson [Mon, 14 Feb 2022 21:18:28 +0000 (15:18 -0600)] 
fix bug with scriptcondition eval result

3 months agomake scriptcondition behave as documented wrt script return value
Matt Benson [Mon, 14 Feb 2022 21:04:16 +0000 (15:04 -0600)] 
make scriptcondition behave as documented wrt script return value

3 months agoadd scriptcondition tests
Matt Benson [Mon, 14 Feb 2022 20:52:33 +0000 (14:52 -0600)] 
add scriptcondition tests

3 months agouse coreLoader, if set, to create subordinate classLoaders
Matt Benson [Sun, 13 Feb 2022 20:37:53 +0000 (14:37 -0600)] 
use coreLoader, if set, to create subordinate classLoaders

3 months agomove netrexx to end because it's prone to hang/fail
Matt Benson [Sun, 13 Feb 2022 18:01:50 +0000 (12:01 -0600)] 
move netrexx to end because it's prone to hang/fail

3 months agoAddress some Javadoc issues
Matt Benson [Sun, 13 Feb 2022 17:49:19 +0000 (11:49 -0600)] 
Address some Javadoc issues

3 months agocleanup
Matt Benson [Fri, 11 Feb 2022 21:16:33 +0000 (15:16 -0600)] 
cleanup

3 months agotweak to x-platform test fix
Matt Benson [Fri, 11 Feb 2022 14:19:12 +0000 (08:19 -0600)] 
tweak to x-platform test fix

3 months agojavadoc
Matt Benson [Thu, 10 Feb 2022 15:28:01 +0000 (09:28 -0600)] 
javadoc

3 months agofix testcase x-platform
Matt Benson [Thu, 10 Feb 2022 15:07:56 +0000 (09:07 -0600)] 
fix testcase x-platform

3 months agoFix an issue in LegacyXmlResultFormatter with ]]> in stacktraces
Taylor Smock [Fri, 21 Jan 2022 15:52:25 +0000 (08:52 -0700)] 
Fix an issue in LegacyXmlResultFormatter with ]]> in stacktraces

Bugzilla Report 65833

This occurs when the stacktrace message contains ]]>, which is the CDATA
end code. There is no escape, so it must be replaced with `]]` + `]]>` +
`<![CDATA[` + `>`, which means that the CDATA section is split.

Signed-off-by: Taylor Smock <tsmock@fb.com>
This closes #175 pull request at github.com/apache/ant

3 months agorefactor attribute introspection to support Optional* types
Matt Benson [Thu, 10 Feb 2022 01:05:55 +0000 (19:05 -0600)] 
refactor attribute introspection to support Optional* types

3 months agoadd static BuildException factory method
Matt Benson [Thu, 10 Feb 2022 01:05:33 +0000 (19:05 -0600)] 
add static BuildException factory method

3 months agotest pathconvert setonempty=false
Matt Benson [Wed, 9 Feb 2022 19:23:50 +0000 (13:23 -0600)] 
test pathconvert setonempty=false

3 months agopathconvert to outputstream so that logging requires no in-memory String accumulation
Matt Benson [Wed, 9 Feb 2022 19:00:49 +0000 (13:00 -0600)] 
pathconvert to outputstream so that logging requires no in-memory String accumulation

3 months agoiterate resources directly when !cache
Matt Benson [Wed, 9 Feb 2022 18:59:34 +0000 (12:59 -0600)] 
iterate resources directly when !cache

3 months agouse Collections#emptyIterator
Matt Benson [Wed, 9 Feb 2022 17:51:13 +0000 (11:51 -0600)] 
use Collections#emptyIterator

3 months agovolatile cache property
Matt Benson [Wed, 9 Feb 2022 17:49:38 +0000 (11:49 -0600)] 
volatile cache property

3 months agoResources javadoc
Matt Benson [Wed, 9 Feb 2022 17:46:13 +0000 (11:46 -0600)] 
Resources javadoc

3 months agotest pathconvert features
Matt Benson [Wed, 9 Feb 2022 16:09:16 +0000 (10:09 -0600)] 
test pathconvert features

3 months agofully migrate pathconvert tests to antunit
Matt Benson [Wed, 9 Feb 2022 00:28:05 +0000 (18:28 -0600)] 
fully migrate pathconvert tests to antunit

3 months agoadd java.security.manager=allow while launching against Java 19
Jaikiran Pai [Mon, 7 Feb 2022 03:37:09 +0000 (09:07 +0530)] 
add java.security.manager=allow while launching against Java 19

3 months agoavoid unnecessary work
Matt Benson [Sat, 5 Feb 2022 20:39:18 +0000 (14:39 -0600)] 
avoid unnecessary work

3 months agoremove extra semi
Matt Benson [Sat, 5 Feb 2022 19:36:20 +0000 (13:36 -0600)] 
remove extra semi

4 months agofix ant.bat script for Java 18 security manager configuration/check
Jaikiran Pai [Sat, 15 Jan 2022 06:03:02 +0000 (11:33 +0530)] 
fix ant.bat script for Java 18 security manager configuration/check

4 months agotypo
Stefan Bodewig [Wed, 12 Jan 2022 18:04:41 +0000 (19:04 +0100)] 
typo

4 months agomake PropertyHelper a bit more backwards compatible
Stefan Bodewig [Wed, 12 Jan 2022 18:00:29 +0000 (19:00 +0100)] 
make PropertyHelper a bit more backwards compatible

Bugzilla Report 65799

4 months agoMerge branch '1.9.x'
Stefan Bodewig [Mon, 3 Jan 2022 15:09:03 +0000 (16:09 +0100)] 
Merge branch '1.9.x'

4 months agohappy new year
Stefan Bodewig [Mon, 3 Jan 2022 15:08:37 +0000 (16:08 +0100)] 
happy new year

4 months agocredit @sonyDeswal for #170
Stefan Bodewig [Wed, 29 Dec 2021 10:23:45 +0000 (11:23 +0100)] 
credit @sonyDeswal for #170

4 months agoMerge branch '1.9.x'
Stefan Bodewig [Tue, 28 Dec 2021 17:47:37 +0000 (18:47 +0100)] 
Merge branch '1.9.x'

4 months agoproperly describe how Ant reads environment variables
Stefan Bodewig [Tue, 28 Dec 2021 17:46:15 +0000 (18:46 +0100)] 
properly describe how Ant reads environment variables

closes https://bz.apache.org/bugzilla/show_bug.cgi?id=65768

5 months agoMerge branch '1.9.x'
Stefan Bodewig [Thu, 23 Dec 2021 17:36:48 +0000 (18:36 +0100)] 
Merge branch '1.9.x'

5 months agoAllow ant:get task to disable authentication on redirect.
Stefan Bodewig [Thu, 23 Dec 2021 17:33:16 +0000 (18:33 +0100)] 
Allow ant:get task to disable authentication on redirect.

see #173

5 months agochange the default of authenticateOnRedirect
Stefan Bodewig [Thu, 23 Dec 2021 17:25:47 +0000 (18:25 +0100)] 
change the default of authenticateOnRedirect

5 months agofix typo
Jaikiran Pai [Thu, 23 Dec 2021 04:12:44 +0000 (09:42 +0530)] 
fix typo

5 months agodocument #173
Stefan Bodewig [Wed, 22 Dec 2021 17:22:41 +0000 (18:22 +0100)] 
document #173

5 months agoMerge pull request #173 from bernolanger/master
Stefan Bodewig [Wed, 22 Dec 2021 17:19:39 +0000 (18:19 +0100)] 
Merge pull request #173 from bernolanger/master

Allow ant:get task to disable authentication on redirect.

5 months agoAllow ant:get task to disable authentication on redirect. 173/head
Berno Langer [Mon, 20 Dec 2021 10:46:36 +0000 (11:46 +0100)] 
Allow ant:get task to disable authentication on redirect.

When the server answers with a redirect response, the request to the new
location may or may not need a second authentication. To disable the
authentication, the new attribute "authenticateOnRedirect" can be set to
"false".

5 months agoadd docs for #170 and make host name check strict by default
Stefan Bodewig [Thu, 16 Dec 2021 18:00:52 +0000 (19:00 +0100)] 
add docs for #170 and make host name check strict by default

5 months agoMerge pull request #170 from sonyDeswal/Add_FTPS_Option_AntTask
Stefan Bodewig [Thu, 16 Dec 2021 17:50:37 +0000 (18:50 +0100)] 
Merge pull request #170 from sonyDeswal/Add_FTPS_Option_AntTask

Make Changes to Support FTPS AntTaskDef that extends FTP but uses FTP…

5 months agoset java.security.manager=allow in Ant launcher .bat file for Windows, for Java 18
Jaikiran Pai [Wed, 1 Dec 2021 03:31:28 +0000 (09:01 +0530)] 
set java.security.manager=allow in Ant launcher .bat file for Windows, for Java 18

5 months agoreduce level of log message
Jaikiran Pai [Mon, 29 Nov 2021 08:26:56 +0000 (13:56 +0530)] 
reduce level of log message

5 months agodon't rely on deltree command - prevent any build failures on CI where that command...
Jaikiran Pai [Mon, 29 Nov 2021 03:51:38 +0000 (09:21 +0530)] 
don't rely on deltree command - prevent any build failures on CI where that command is not present

5 months agofix condition check for non-bash shell
Jaikiran Pai [Sun, 28 Nov 2021 15:13:27 +0000 (20:43 +0530)] 
fix condition check for non-bash shell

5 months agolaunch Ant project tests by passing java.security.manager=allow on Java 18
Jaikiran Pai [Sun, 28 Nov 2021 14:23:20 +0000 (19:53 +0530)] 
launch Ant project tests by passing java.security.manager=allow on Java 18

5 months agoRevert "Pass -Djava.security.manager=allow while launching JUnit forked VM to allow...
Jaikiran Pai [Sun, 28 Nov 2021 14:09:28 +0000 (19:39 +0530)] 
Revert "Pass -Djava.security.manager=allow while launching JUnit forked VM to allow JUnit triggered code to set security manager at runtime"

This reverts commit 13e6e309585b18210b71d8ecc70af2a075804873.

5 months agoPass -Djava.security.manager=allow while launching JUnit forked VM to allow JUnit...
Jaikiran Pai [Sun, 28 Nov 2021 13:14:52 +0000 (18:44 +0530)] 
Pass -Djava.security.manager=allow while launching JUnit forked VM to allow JUnit triggered code to set security manager at runtime

5 months agoPass -Djava.security.manager=allow from *nix launcher script for Java 18
Jaikiran Pai [Sun, 28 Nov 2021 13:11:17 +0000 (18:41 +0530)] 
Pass -Djava.security.manager=allow from *nix launcher script for Java 18

6 months agoMake Changes to Support FTPS AntTaskDef that extends FTP but uses FTPSClient. 170/head
Santosh R Dhariwal [Wed, 17 Nov 2021 15:12:43 +0000 (20:42 +0530)] 
Make Changes to Support FTPS AntTaskDef that extends FTP but uses FTPSClient.

6 months agoMerge pull request #172 from azotcsit/junitlauncher-extension
Jaikiran [Wed, 17 Nov 2021 11:20:16 +0000 (11:20 +0000)] 
Merge pull request #172 from azotcsit/junitlauncher-extension

junitlauncher - Fixed extension attribute support for listeners

6 months agojunitlauncher - Fixed extension attribute support for listeners 172/head
Aleksei Zotov [Wed, 17 Nov 2021 08:15:45 +0000 (12:15 +0400)] 
junitlauncher - Fixed extension attribute support for listeners

6 months agojunitlauncher - Support extension attribute for listeners
Aleksei Zotov [Mon, 15 Nov 2021 14:20:17 +0000 (18:20 +0400)] 
junitlauncher - Support extension attribute for listeners
This closes #168 pull request at github.com/apache/ant

6 months agoMake Changes to Support FTPS AntTaskDef that extends FTP but uses FTPSClient.
Santosh R Dhariwal [Tue, 16 Nov 2021 10:21:10 +0000 (15:51 +0530)] 
Make Changes to Support FTPS AntTaskDef that extends FTP but uses FTPSClient.

6 months agoMerge pull request #166 from twogee/jakarta-mail
Stefan Bodewig [Sat, 6 Nov 2021 13:33:41 +0000 (14:33 +0100)] 
Merge pull request #166 from twogee/jakarta-mail

Support Jakarta Mail in MailLogger

6 months agoSupport Jakarta Mail in MailLogger 166/head
twogee [Sat, 30 Oct 2021 17:33:57 +0000 (19:33 +0200)] 
Support Jakarta Mail in MailLogger

6 months agomake javamail.complete (that we lost somewhere) accept JakartaMail
Stefan Bodewig [Sat, 30 Oct 2021 10:25:25 +0000 (12:25 +0200)] 
make javamail.complete (that we lost somewhere) accept JakartaMail

6 months agoactually fetch javax.mail
Stefan Bodewig [Sat, 30 Oct 2021 10:11:26 +0000 (12:11 +0200)] 
actually fetch javax.mail

6 months agoadd new jakartamail artifact to Ivy as well
Stefan Bodewig [Fri, 29 Oct 2021 14:43:39 +0000 (16:43 +0200)] 
add new jakartamail artifact to Ivy as well

6 months agodocument #161
Stefan Bodewig [Thu, 28 Oct 2021 14:20:09 +0000 (16:20 +0200)] 
document #161

6 months agofix versions
Stefan Bodewig [Thu, 28 Oct 2021 14:09:58 +0000 (16:09 +0200)] 
fix versions

6 months agoMerge pull request #161 from twogee/jakarta-mail
Stefan Bodewig [Thu, 28 Oct 2021 14:08:05 +0000 (16:08 +0200)] 
Merge pull request #161 from twogee/jakarta-mail

Use Jakarta EE

7 months agoNext dev version post 1.10.12 release of Ant
Jaikiran Pai [Wed, 13 Oct 2021 04:46:29 +0000 (10:16 +0530)] 
Next dev version post 1.10.12 release of Ant

7 months agoUse Jakarta EE 161/head
twogee [Thu, 4 Mar 2021 13:50:08 +0000 (14:50 +0100)] 
Use Jakarta EE