Comment 5 for bug 1224481

Revision history for this message
RaiMan (raimund-hocke) wrote :

this what I get with this Ant file:

<?xml version="1.0" encoding="UTF-8"?>
<project name="build-mac-app" default="all">
<target name="all">
  <exec executable="/bin/bash" dir="." resultproperty="isGood">
      <arg line="runScript -r /Users/rhocke/test"/>
  </exec>
  <echo message="[Ant] The deployment process exit code is ${isGood}"/>
</target>
</project>

--- output
all:
     [exec] running SikuliX-Script: -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine
     [exec] -jar ./sikuli-script.jar -r /Users/rhocke/test
     [exec] [info] Exit code: 23
     [exec] Result: 23
     [echo] [Ant] The deployment process exit code is 23

I had to leave out the failonerror, since with a returncode >0 the build would fail and not print the message.