Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 68461 - Can't read input from console
Summary: Can't read input from console
Status: RESOLVED DUPLICATE of bug 45484
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 05:35 EDT by Eric Jain CLA
Modified: 2004-06-24 10:24 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Jain CLA 2004-06-24 05:35:34 EDT
Running an Ant build file that prompts for user input, e.g. 

  <input message="Enter password" addproperty="password"/>

fails:

[input] Enter password
BUILD FAILED: C:\...\build.xml:271: Failed to read input from Console.

Currently running M8; pretty sure this used to work a few milestones back...
Comment 1 Darin Swanson CLA 2004-06-24 10:24:55 EDT
For the input task to work by default run your build in the same JRE as 
Eclipse. See the the JRE tab of your Ant launch configuration.
To use the input task in a separate JRE you will need to provide an input 
handler.

*** This bug has been marked as a duplicate of 45484 ***