https://bz.apache.org/bugzilla/show_bug.cgi?id=26453
Chris Fairman <chris.fair...@ballaerospace.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|RESOLVED |REOPENED --- Comment #8 from Chris Fairman <chris.fair...@ballaerospace.com> --- Hey Jaikiran! I grabbed nightly build #202 (Jan 3, 2024, 12:48:25 AM), but I'm still seeing non-zero return code output: [exec] Result: 1 From the test.xml quoted previously: --------------- Return Non-Zero --------------- F:\Testing>ant -v -buildfile test.xml return_nonzero Apache Ant(TM) version 1.10.15alpha compiled on January 3 2024 Buildfile: F:\Testing\test.xml Detected Java version: 17 in: F:\3DS\Apps\Java Detected OS: Windows Server 2022 parsing buildfile F:\Testing\test.xml with URI = file:/F:/Testing/test.xml Project base dir set to: F:\Testing Build sequence for target(s) `return_nonzero' is [return_nonzero] Complete build sequence is [return_nonzero, return_zero, ] return_nonzero: parsing buildfile jar:file:/F:/3DS/Apps/apache-ant-1.10.15alpha/lib/ant.jar!/org/apache/tools/ant/antlib.xml with URI = jar:file:/F:/3DS/Apps/apache-ant-1.10.15alpha/lib/ant.jar!/org/apache/tools/ant/antlib.xml from a zip file [exec] Current OS is Windows Server 2022 [exec] Discarding output [exec] Discarding error output [exec] Executing 'cmd' with arguments: [exec] '/c' [exec] 'exit 1' [exec] [exec] The ' characters around the executable and arguments are [exec] not part of the command. [exec] Result: 1 BUILD SUCCESSFUL Total time: 0 seconds Perhaps marking that 'Verbose' will do the trick: log("Result: " + returnCode, Project.MSG_VERBOSE); Thanks for the help! -Chris -- You are receiving this mail because: You are the assignee for the bug.