<project name="manual-test-for-input" default="both"> | |
<target name="single"> | |
<input addproperty="single" message="This is a prompt" /> | |
<echo>$${single} is ${single}</echo> | |
</target> | |
<target name="multi"> | |
<input addproperty="multi" | |
message="This is a prompt " | |
validargs="1,2" /> | |
<echo>$${multi} is ${multi}</echo> | |
</target> | |
<target name="both" depends="single,multi" /> | |
</project> |