You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2026/02/08 16:30:28 UTC

Please test Ant 1.10.16 release candidate

Hi all

we've cut a release candidate for what shall become Ant 1.10.16, details
are available from

https://dist.apache.org/repos/dist/dev/ant/RELEASE-NOTES-1.10.16.html

This release adds first class support for Windows junctions and may
introduce unexpected effects on Windows - so it would be wonderful if we
could get some field testing with real world projects before the release
is published.

The release archives are available from
https://dist.apache.org/repos/dist/dev/ant/

Normally the current vote thread will be tallied 72 hours from now. If
you plan to give the RC a test during the coming days and can't make it
in time, please tell us - and we'll delay the release for a while.

Many thanks

     Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Please test Ant 1.10.16 release candidate

Posted by "Richard A. Mead" <ra...@sent.com>.
I am able to access the site today.  Thanks!

-Richard


On 2/9/2026 7:57 AM, Jaikiran Pai wrote:
> Hello Richard,
>
> Is this still an issue? I was able to successfully access and download 
> the binary from that location.
>
> -Jaikiran
>
> On 09/02/26 3:03 am, Richard A. Mead wrote:
>> Sadly, https://dist.apache.org/repos/dist/dev/ant/ just times out... 
>> I'll try again later.
>>
>> On 2/8/2026 8:30 AM, Stefan Bodewig wrote:
>>> Hi all
>>>
>>> we've cut a release candidate for what shall become Ant 1.10.16, 
>>> details
>>> are available from
>>>
>>> https://dist.apache.org/repos/dist/dev/ant/RELEASE-NOTES-1.10.16.html
>>>
>>> This release adds first class support for Windows junctions and may
>>> introduce unexpected effects on Windows - so it would be wonderful 
>>> if we
>>> could get some field testing with real world projects before the 
>>> release
>>> is published.
>>>
>>> The release archives are available from
>>> https://dist.apache.org/repos/dist/dev/ant/
>>>
>>> Normally the current vote thread will be tallied 72 hours from now. If
>>> you plan to give the RC a test during the coming days and can't make it
>>> in time, please tell us - and we'll delay the release for a while.
>>>
>>> Many thanks
>>>
>>>       Stefan
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:user-unsubscribe@ant.apache.org
>>> For additional commands, e-mail:user-help@ant.apache.org
>>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Please test Ant 1.10.16 release candidate

Posted by Jaikiran Pai <ja...@apache.org>.
Hello Richard,

Is this still an issue? I was able to successfully access and download 
the binary from that location.

-Jaikiran

On 09/02/26 3:03 am, Richard A. Mead wrote:
> Sadly, https://dist.apache.org/repos/dist/dev/ant/ just times out... 
> I'll try again later.
>
> On 2/8/2026 8:30 AM, Stefan Bodewig wrote:
>> Hi all
>>
>> we've cut a release candidate for what shall become Ant 1.10.16, details
>> are available from
>>
>> https://dist.apache.org/repos/dist/dev/ant/RELEASE-NOTES-1.10.16.html
>>
>> This release adds first class support for Windows junctions and may
>> introduce unexpected effects on Windows - so it would be wonderful if we
>> could get some field testing with real world projects before the release
>> is published.
>>
>> The release archives are available from
>> https://dist.apache.org/repos/dist/dev/ant/
>>
>> Normally the current vote thread will be tallied 72 hours from now. If
>> you plan to give the RC a test during the coming days and can't make it
>> in time, please tell us - and we'll delay the release for a while.
>>
>> Many thanks
>>
>>       Stefan
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail:user-unsubscribe@ant.apache.org
>> For additional commands, e-mail:user-help@ant.apache.org
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Please test Ant 1.10.16 release candidate

Posted by "Richard A. Mead" <ra...@sent.com>.
Sadly, https://dist.apache.org/repos/dist/dev/ant/ just times out... 
I'll try again later.

On 2/8/2026 8:30 AM, Stefan Bodewig wrote:
> Hi all
>
> we've cut a release candidate for what shall become Ant 1.10.16, details
> are available from
>
> https://dist.apache.org/repos/dist/dev/ant/RELEASE-NOTES-1.10.16.html
>
> This release adds first class support for Windows junctions and may
> introduce unexpected effects on Windows - so it would be wonderful if we
> could get some field testing with real world projects before the release
> is published.
>
> The release archives are available from
> https://dist.apache.org/repos/dist/dev/ant/
>
> Normally the current vote thread will be tallied 72 hours from now. If
> you plan to give the RC a test during the coming days and can't make it
> in time, please tell us - and we'll delay the release for a while.
>
> Many thanks
>
>       Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:user-unsubscribe@ant.apache.org
> For additional commands, e-mail:user-help@ant.apache.org
>

Re: Please test Ant 1.10.16 release candidate

Posted by Stefan Bodewig <bo...@apache.org>.
On 2026-02-09, Richard A. Mead wrote:

> I think I had 1.10.14 working previously...  and I started out with no
> quotes.   Note that java is working for me while JAVA_HOME has quotes.

> Nevertheless, I remove the quotes and voila!  It is working now...

I looked around a bit and it seems the common advice is to put quotes
outside the definition

set "ANT_HOME=Path with Spaces"

To me it doesn't really look as if ant.bat hasn't changed significantly
https://github.com/apache/ant/commits/master/src/script/ant.bat

> Well, ant.bat is working.  ant.cmd and antenv still return this error:

The .cmd files are OS/2 files (yes, Ant is that old :-) and you
shouldn't need either of them.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Please test Ant 1.10.16 release candidate

Posted by "Richard A. Mead" <ra...@sent.com>.
I think I had 1.10.14 working previously...  and I started out with no 
quotes.   Note that java is working for me while JAVA_HOME has quotes.

Nevertheless, I remove the quotes and voila!  It is working now...

Well, ant.bat is working.  ant.cmd and antenv still return this error:

C:\Users\Richa>antenv

C:\Users\Richa>/*
'/*' is not recognized as an internal or external command,
operable program or batch file.

-Richard


On 2/9/2026 12:46 PM, Stefan Bodewig wrote:
> On 2026-02-09, Richard A. Mead wrote:
>
>> Odd - ant.bat (and thus, "ant" without an extension) is giving me this:
>> C:\>ant.bat
>> Files\Ant was unexpected at this time.
>> C:\>antenv
> I don't believe this is related to a change in Ant 1.10.16. I see the
> something similar with
>
> C:\Users\bodewig\ant>set JAVA_HOME="c:\Program Files\Eclipse Adoptium\jdk-21.0.10.7-hotspot"
>
> C:\Users\bodewig\ant>dist\bin\ant
> Files\Eclipse was unexpected at this time.
>
> This is the same with ant.bat of 1.10.15 so likely something that has
> changed prior to 1.10.15.
>
> If I remove the quotes, i.e.
>
> set JAVA_HOME=c:\Program Files\Eclipse Adoptium\jdk-21.0.10.7-hotspot
>
> it works.
>
> I'm not much of a batch file programmer myself and don't really know
> whether environment variables are expected to be quote here.
>
>> C:\>echo %ANT_HOME%
>> "C:\Program Files\Ant 1.10.16"
> Could you please try with
>
> set ANT_HOME=C:\Program Files\Ant 1.10.16
>
> instead?
>
> We can try to figure out what causes the regression by going backwards
> between Ant tags. Which version of Ant are you using so far?
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Please test Ant 1.10.16 release candidate

Posted by Stefan Bodewig <bo...@apache.org>.
On 2026-02-09, Richard A. Mead wrote:

> Odd - ant.bat (and thus, "ant" without an extension) is giving me this:

> C:\>ant.bat
> Files\Ant was unexpected at this time.
> C:\>antenv

I don't believe this is related to a change in Ant 1.10.16. I see the
something similar with

C:\Users\bodewig\ant>set JAVA_HOME="c:\Program Files\Eclipse Adoptium\jdk-21.0.10.7-hotspot"

C:\Users\bodewig\ant>dist\bin\ant
Files\Eclipse was unexpected at this time.

This is the same with ant.bat of 1.10.15 so likely something that has
changed prior to 1.10.15.

If I remove the quotes, i.e.

set JAVA_HOME=c:\Program Files\Eclipse Adoptium\jdk-21.0.10.7-hotspot

it works.

I'm not much of a batch file programmer myself and don't really know
whether environment variables are expected to be quote here.

> C:\>echo %ANT_HOME%
> "C:\Program Files\Ant 1.10.16"

Could you please try with

set ANT_HOME=C:\Program Files\Ant 1.10.16

instead?

We can try to figure out what causes the regression by going backwards
between Ant tags. Which version of Ant are you using so far?

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Re: Please test Ant 1.10.16 release candidate

Posted by "Richard A. Mead" <ra...@sent.com>.
Odd - ant.bat (and thus, "ant" without an extension) is giving me this:

C:\>ant.bat
Files\Ant was unexpected at this time.
C:\>antenv

  and ant.cmd and antenv give me this:

C:\>/*
'/*' is not recognized as an internal or external command,
operable program or batch file.

Java runs fine:

C:\>java --version
java 24.0.1 2025-04-15
Java(TM) SE Runtime Environment (build 24.0.1+9-30)
Java HotSpot(TM) 64-Bit Server VM (build 24.0.1+9-30, mixed mode, sharing)

I'm running Win 11 and I get the same result with cmd and PowerShell...  
and current working directory doesn't make a difference.  My environment 
variables are:

C:\>echo %ANT_HOME%
"C:\Program Files\Ant 1.10.16"

C:\>echo %JAVA_HOME%
"C:\Program Files\Java\jdk-24"

C:\>echo %PATH%
C:\Python313\Scripts\;C:\Python313\;C:\Program 
Files\Java\jdk-24\bin;C:\Program Files\Common 
Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program 
Files (x86)\NVIDIA Corporation\PhysX\Common;*_/C:\Program Files\Ant 
1.10.16\bin/_*;C:\Program Files\Wolfram 
Research\WolframScript\;C:\Program Files\Go\bin;C:\Program Files\NVIDIA 
Corporation\NVIDIA app\NvDLISR;C:\Program Files\VSCodium\bin;C:\Program 
Files\dotnet\;C:\Program 
Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Program Files\Microsoft 
SQL Server\150\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client 
SDK\ODBC\170\Tools\Binn\;C:\Program Files\PowerShell\7\;C:\Program 
Files\GitHub CLI\;C:\Program 
Files\PowerShell\7-preview\preview;C:\Program Files\PuTTY\;C:\Program 
Files\Git\cmd;C:\Program 
Files\Tailscale\;C:\Users\Richa\AppData\Local\Microsoft\WindowsApps;C:\Users\Richa\AppData\Local\GitHubDesktop\bin;C:\ghcup\bin;C:\Users\Richa\go\bin;C:\Users\Richa\AppData\Roaming\npm;C:\Program 
Files\JetBrains\IntelliJ IDEA Community Edition 
2025.2.2\bin;C:\Users\Richa\AppData\Local\Programs\Ollama;C:\Program 
Files\GitHub 
CLI;C:\Users\Richa\AppData\Local\Programs\Antigravity\bin;C:\Users\Richa\AppData\Local\Keybase\

Thanks,

-Richard


On 2/9/2026 9:48 AM, Stefan Bodewig wrote:
> Hi all
>
> On 2026-02-08, Stefan Bodewig wrote:
>
>> we've cut a release candidate for what shall become Ant 1.10.16, details
>> are available from
>> https://dist.apache.org/repos/dist/dev/ant/RELEASE-NOTES-1.10.16.html
> We've had a first issue reported that shows differences in behavior. In
> the specific case the same would happen if people switched to Java 25
> and kept using Ant 1.10.15.[1]
>
> So we will have a second RC but please keep testing with the one we have
> right now. Even with the next RC you may need to change your build files
> for 1.10.16 to have your builds behave as before. Without 1.10.16 your
> builds would fail for the same reasons when running on Java 24+, but
> 1.10.16 should at least provide you with options to adapt.
>
> Stefan
>
> [1] For those interested, File#getCanonicalPath has always resolved
> symbolic links on Unix but prior to Java 24 not on Windows. Ant uses
> this in several places. Part of the changes for 1.10.16 is to switch to
> Path#toRealPath instead which resolves symbolic links (and junction) on
> Windows as well - likely since Java 7.
>
> If your build relies an links not being resolved, they will break -
> either with Java 24+ and Ant 1.10.15 or any version of Java and Ant
> 1.10.16.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:user-unsubscribe@ant.apache.org
> For additional commands, e-mail:user-help@ant.apache.org
>

Re: Please test Ant 1.10.16 release candidate

Posted by Stefan Bodewig <bo...@apache.org>.
Hi all

On 2026-02-08, Stefan Bodewig wrote:

> we've cut a release candidate for what shall become Ant 1.10.16, details
> are available from

> https://dist.apache.org/repos/dist/dev/ant/RELEASE-NOTES-1.10.16.html

We've had a first issue reported that shows differences in behavior. In
the specific case the same would happen if people switched to Java 25
and kept using Ant 1.10.15.[1]

So we will have a second RC but please keep testing with the one we have
right now. Even with the next RC you may need to change your build files
for 1.10.16 to have your builds behave as before. Without 1.10.16 your
builds would fail for the same reasons when running on Java 24+, but
1.10.16 should at least provide you with options to adapt.

Stefan

[1] For those interested, File#getCanonicalPath has always resolved
symbolic links on Unix but prior to Java 24 not on Windows. Ant uses
this in several places. Part of the changes for 1.10.16 is to switch to
Path#toRealPath instead which resolves symbolic links (and junction) on
Windows as well - likely since Java 7.

If your build relies an links not being resolved, they will break -
either with Java 24+ and Ant 1.10.15 or any version of Java and Ant
1.10.16.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Please test Ant 1.10.16 release candidate

Posted by Stefan Bodewig <bo...@apache.org>.
Hi all

On 2026-02-08, Stefan Bodewig wrote:

> we've cut a release candidate for what shall become Ant 1.10.16, details
> are available from

> https://dist.apache.org/repos/dist/dev/ant/RELEASE-NOTES-1.10.16.html

We've had a first issue reported that shows differences in behavior. In
the specific case the same would happen if people switched to Java 25
and kept using Ant 1.10.15.[1]

So we will have a second RC but please keep testing with the one we have
right now. Even with the next RC you may need to change your build files
for 1.10.16 to have your builds behave as before. Without 1.10.16 your
builds would fail for the same reasons when running on Java 24+, but
1.10.16 should at least provide you with options to adapt.

Stefan

[1] For those interested, File#getCanonicalPath has always resolved
symbolic links on Unix but prior to Java 24 not on Windows. Ant uses
this in several places. Part of the changes for 1.10.16 is to switch to
Path#toRealPath instead which resolves symbolic links (and junction) on
Windows as well - likely since Java 7.

If your build relies an links not being resolved, they will break -
either with Java 24+ and Ant 1.10.15 or any version of Java and Ant
1.10.16.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org