according to my testruns the exitcode of the 'bad'-call is 1 and the the exitcode of the 'good'-call is 0.
F:\workspaces\current\gradle-test\some-utils>gradle --version ------------------------------------------------------------ Gradle 0.6-20090107152318+0100 ------------------------------------------------------------ Gradle buildtime: Mittwoch, 7. Januar 2009 15.23 Uhr CET Groovy: 1.5.6 Ant: Apache Ant version 1.7.0 compiled on December 13 2006 Ivy: 2.0.0-rc2 Java: 1.5.0_14 JVM: 1.5.0_14-b03 JVM Vendor: Sun Microsystems Inc. OS Name: Windows XP F:\workspaces\current\gradle-test\some-utils>echo %errorlevel% 0 F:\workspaces\current\gradle-test\some-utils>gradle compile buildEnv = development deliverTo = local buildEnv = development deliverTo = local :some-utils:init :some-utils:resources :some-utils:compile BUILD SUCCESSFUL Total time: 2.469 secs F:\workspaces\current\gradle-test\some-utils>echo %errorlevel% 0 F:\workspaces\current\gradle-test\some-utils>gradle unknown buildEnv = development deliverTo = local buildEnv = development deliverTo = local Build failed with an exception. Run with -s or -d option to get more details. Run with -f option to get the full (very verbose) stacktrace. Task 'unknown' not found in this project. BUILD FAILED Total time: 1.953 secs F:\workspaces\current\gradle-test\some-utils>echo %errorlevel% 1 F:\workspaces\current\gradle-test\some-utils> -- View this message in context: http://www.nabble.com/failing-integTest-tp21356763p21358955.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
