When I try the following:
<exec executable="ls" outputproperty="aoeu"/>
<p4change description='${aoeu}'/>
<echo message='${p4.change}'/>
it seems p4change fails silently and the above outputs:
[echo] ${p4.change}
Is there a way to set a multiline description using the p4change Ant task?
FWIW, we’re using Ant 1.8.2 and Perforce Server version: P4D/LINUX26X86_64/2010.2/284433 (2011/01/28).
I have good luck using the P4Ant library directly from Perforce.
Here’s my sample script: