Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Ant, Maven and Other Build Tools and the fly likes Ant task for user interactive input for shell command execution 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 "Ant task for user interactive input for shell command execution" Watch "Ant task for user interactive input for shell command execution" New topic
Author

Ant task for user interactive input for shell command execution

Malatesh Karabisti
Ranch Hand

Joined: Jul 28, 2010
Posts: 153

Hi All,

I have to execute the shell command from ant script which interactively ask for user input.

Can any body please suggest on how can I prompt for user input from the <exec or any other way ?

Thanks.
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 29261
    
140

Ant has an input task for this.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ant task for user interactive input for shell command execution
 
Similar Threads
Restriction on input with System.in
Parameters in Java task
Blocking user input
Passing sysdate as parameter to Oracle procedure
How to stop the server gracefully?