Ant does not work unless with debug option

W <[email protected]> Thu, 23 Jun 2022 04:08:58 +0000 (UTC)
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <[email protected]>
Hi All,
I got a new laptop, so I build my work environment on new laptop. I call  ant distit should build my dist. But it only execute default task, not "dist". But if I add debug option like:  ant -d distIt build "dist" as expected. What is wrong please?
I use Windows 11. Ant 1.10.12 (the same issue with 1.10.5). Java 11.
Any information would be appreciated. Thanks in advance.