File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Ant, Maven and Other Build Tools and the fly likes input tag in WSAD for ANT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "input tag in WSAD for ANT" Watch "input tag in WSAD for ANT" New topic

input tag in WSAD for ANT

chennai Kumar
Ranch Hand

Joined: Jun 04, 2005
Posts: 72
Hai All,

I am trying to lanuch the build script in WSAD. I am getting an error as "Failed to read input from console".

I am using below input tag in ANT script.

message="Version ?"
<condition property="do.stop">
<equals arg1="" arg2="${constants.tag}"/>
<fail if="do.stop">Entrez un numéro de version.</fail>

Is WSAD supports input tag for ANT script, otherwise we have any other alternative way.

Thanks and Regards,
Ramkumar .p

Greg Charles

Joined: Oct 01, 2001
Posts: 2967

You're running through the IDE? I'd say there's a pretty good chance that doesn't accept console input. As an alternative, you could have the version be a property, and set it via a property file, or pass it in as a parameter to the Ant build.
I agree. Here's the link:
subject: input tag in WSAD for ANT
It's not a secret anymore!