ant.git
2 weeks agopunctuation master
Matt Benson [Fri, 16 Sep 2022 15:46:01 +0000 (10:46 -0500)] 
punctuation

5 weeks agocreate manifest file's parent if needed.
Stefan Bodewig [Wed, 24 Aug 2022 10:38:33 +0000 (12:38 +0200)] 
create manifest file's parent if needed.

Bugzilla Report 66231

6 weeks agobz-66164 Don't change file permissions on unrelated files in dest directory, when...
Jaikiran Pai [Thu, 18 Aug 2022 13:40:13 +0000 (19:10 +0530)] 
bz-66164 Don't change file permissions on unrelated files in dest directory, when building and copying over Ant distribution

7 weeks agoadd Piotr P. Karwasz
Stefan Bodewig [Sun, 7 Aug 2022 12:08:00 +0000 (14:08 +0200)] 
add Piotr P. Karwasz

7 weeks agorecord #191
Stefan Bodewig [Sun, 7 Aug 2022 11:04:10 +0000 (13:04 +0200)] 
record #191

7 weeks agoMerge pull request #191 from ppkarwasz/fetch-script
Stefan Bodewig [Sun, 7 Aug 2022 11:00:57 +0000 (13:00 +0200)] 
Merge pull request #191 from ppkarwasz/fetch-script

Fix retrieval from non-default repositories

8 weeks agoFix retrieval from non-default repositories 191/head
Piotr P. Karwasz [Thu, 4 Aug 2022 21:47:54 +0000 (23:47 +0200)] 
Fix retrieval from non-default repositories

Since the `<remoterepo>` tag is not in the scope of the `<resolve>`
target, fetching artifacts from repositories different from Maven
Central fails (e.g. JAI).

3 months agoMerge branch '1.9.x'
Stefan Bodewig [Sat, 25 Jun 2022 15:16:39 +0000 (17:16 +0200)] 
Merge branch '1.9.x'

3 months agoMerge pull request #190 from chrstphrchvz/backport-63438 1.9.x
Stefan Bodewig [Sat, 25 Jun 2022 15:05:47 +0000 (17:05 +0200)] 
Merge pull request #190 from chrstphrchvz/backport-63438

Backport fix for bz-63438 to 1.9.x

3 months agobz-63438 Undo part of commit 67f29ce0c2ad332570c0a1382c79532cee66dce8, to fix broken... 190/head
Jaikiran Pai [Wed, 22 Jun 2022 12:26:31 +0000 (07:26 -0500)] 
bz-63438 Undo part of commit 67f29ce0c2ad332570c0a1382c79532cee66dce8, to fix broken javadocs target

Backported from 1.10.x: dfeee59cca730e1b1346564bf2fe1bf4a81f9549

4 months agoavoid listing directories who's content is never used
Stefan Bodewig [Fri, 27 May 2022 16:37:16 +0000 (18:37 +0200)] 
avoid listing directories who's content is never used

4 months agogo back to ignoring the ImageIOTest#testFailOnError() test, like it was for several...
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

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

4 months 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/)

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

4 months 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.

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

5 months agotypo
Stefan Bodewig [Sun, 10 Apr 2022 15:09:06 +0000 (17:09 +0200)] 
typo

thanks @twogee

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

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

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

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

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

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

6 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

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

6 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

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

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

7 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

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

7 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

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

7 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

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

7 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

7 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

7 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

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

7 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

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

7 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

7 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

7 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

7 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

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

7 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

7 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

7 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

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

7 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

7 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

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

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

7 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

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

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

7 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

7 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

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

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

7 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

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

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

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

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

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

7 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

7 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

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

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

8 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

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

8 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

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

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

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

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

9 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

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

9 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

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

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

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

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

9 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".

9 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

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

10 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

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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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.

10 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

10 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

10 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