Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 75848 - ANT - Error in <input> tag
Summary: ANT - Error in <input> tag
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 2000
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-07 16:43 EDT by Fragata CLA
Modified: 2004-10-07 16:52 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 Fragata CLA 2004-10-07 16:43:16 EDT
I have a target that uses de <input> tag...

  <target name="cvs_login" depends="init">
    <input message="Login CVS: " addProperty="user"/>
    <input message="Password CVS: " addProperty="password"/>
  </target>

But, I got the error

BUILD FAILED: C:\SD2005\bin\antfiles\AtualizacaoHomologacao.xml:31: Failed to 
read input from Console.


Anybody had this problem ???
Comment 1 Darin Swanson CLA 2004-10-07 16:52:24 EDT
Everony has this problem :-) as outlined in the Eclipse readme (known issues> 
Ant).
See bug 45484 for full details.

To have the input task work without providing an input handler set the build 
to occur in the same JRE as Eclipse. See the JRE tab for your Ant launch 
configuration.

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