How do you setup an input console for Ant ?
for ex:
<?xml version="1.0" encoding="UTF-8"?>
<project name="helloproject" default="hello">
<target name="hello" >
<echo message="Hello !" />
<input addproperty="hello.name"
message="Enter your name: " defaultvalue="world" />
<echo message="Hello ${hello.name}!" />
</target>
</project>
When I check “Set an Input Handler” in the external tools Wizzard,
I get a NullPointerException, and when I don’t, the console does
not pause for input and I get a “Failed to read input from console”
error.
I am sorry to ask for something so basic, but I could not find info
anywhere (other than a statement that “It works” in an unrelated
Eclipse bug report: good to know)
Regards,
JG