This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

can i enter value in console as a argument to the java class through ant?  RSS feed

 
subba rao
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have used input task to enter value in the console as a argument.
when i run this task it will ask me enter either y or n;say if i enter y then how to pass this value to the java class?

<input
message="All data is going to be deleted from DB continue (y/n)?"
validargs="y,n"
addproperty="do.delete"
/>
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi subbu, welcome to Javaranch,
before posting reply to your post, I would like you to know that your name does not follow the Javaranch naming policy.
please change it here
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!