• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

input tag in WSAD for ANT

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

<input
message="Version ?"
addproperty="constants.tag"
/>
<condition property="do.stop">
<equals arg1="" arg2="${constants.tag}"/>
</condition>
<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





 
Sheriff
Posts: 3063
12
Mac IntelliJ IDE Python VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
If you have a bad day in October, have a slice of banana cream pie. And this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic