Hi, This is what I'm trying to to:
<!-- Get Hg Revision --> <target name="id" description="Get the current hg revision"> <exec executable="hg" output="hg.txt" outputproperty="hg"> <arg value="id" /> <arg value="-i" /> </exec> <echo message="hg = ${hg}" /> </target> The output is coorrect in the text file, same as the command: [EMAIL PROTECTED]:~/repo/dib/dib_8800$ hg id -i c75f860db478+ but the "echo" during the build shows this: id: [echo] hg = [propertyfile] Updating property file: /home/patrick/repo/dib/dib_8800/build.properties In other words, the property is never getting set! What am I missing???? Thanks, patrick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]