Created
January 6, 2014 00:26
-
-
Save birchestx/8276141 to your computer and use it in GitHub Desktop.
From http://stackoverflow.com/questions/4344139/how-to-get-a-return-value-from-an-exec-in-ant-script failoneerror from exectable call example - used for our git commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<target name="CheckState"> | |
<exec executable="${App.path}" | |
resultproperty="App.state" | |
failonerror="false"/> | |
<echo message="App state was: ${App.state}" /> | |
</target> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment