On 2022-06-23, W wrote:

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

This is very difficult to diagnose without knowing your build file or
the command that sits behing "ant". Are you sure you are runnning Ant's
own batch file and not a different one when you execute "ant"?

Do you see anything that looks stange when you run "ant -diagnostics"?

What exactly happens when you run "ant dist" does it simply ignore the
"dist"? To me this sound as if something was interfering with the batch
file and absorbing the additional argument.

Do you actually see debug output when you run "ant -d dist"?

Stefan

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

Reply via email to