You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Shweta Bodade <sb...@businessobjects.com> on 2006/02/24 09:48:07 UTC

Failed to read input from Console.

After I give the <input> command in Eclipse I get this error message.

 

Buildfile: E:\workspace2\Hello\src\build.xml

select_target:

    [input] Which server should receive the files? 1. Silo   2.
Bongo(1,2)

BUILD FAILED: E:\workspace2\Hello\src\build.xml:9: Failed to read input
from Console.

Total time: 219 milliseconds

 

 

Can you please tell me is there any prob with code which is 

<target name="select_target">                                    

                  <input message="Which server should receive the files?
1. Tomact   2. Websphere"

                               

            </target>     

      


Re: Failed to read input from Console.

Posted by Petar Tahchiev <pa...@gmail.com>.
On 24/02/06, Shweta Bodade <sb...@businessobjects.com> wrote:
>
> After I give the <input> command in Eclipse I get this error message.
>
>
>
> Buildfile: E:\workspace2\Hello\src\build.xml
>
> select_target:
>
>     [input] Which server should receive the files? 1. Silo   2.
> Bongo(1,2)
>
> BUILD FAILED: E:\workspace2\Hello\src\build.xml:9: Failed to read input
> from Console.
>
> Total time: 219 milliseconds
>
>
>
>
>
> Can you please tell me is there any prob with code which is
>
> <target name="select_target">
>
>                   <input message="Which server should receive the files?
> 1. Tomact   2. Websphere"
>
>
>
>             </target>
>
>
>
>
>
I guess the problem is that you runned your build file in Eclipse. Try to
run in the console. Additional information on the input task and extending
its abilities you can read here :
https://sourceforge.net/project/showfiles.php?group_id=103509

--
Regards, Petar!