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.
this what I get with this Ant file:
<?xml version="1.0" encoding="UTF-8"?> mac-app" default="all"> "/bin/bash" dir="." resultproperty= "isGood" > rhocke/ test"/>
<project name="build-
<target name="all">
<exec executable=
<arg line="runScript -r /Users/
</exec>
<echo message="[Ant] The deployment process exit code is ${isGood}"/>
</target>
</project>
--- output encoding= UTF-8 -Dsikuli. FromCommandLine
all:
[exec] running SikuliX-Script: -Xmx512M -Dfile.
[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.