Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Technology Project and PMC » Ant input task not working?
Ant input task not working? [message #64675] Tue, 29 June 2004 13:32 Go to next message
Eclipse UserFriend
Originally posted by: E.J.Spaans.inter.NL.net

Hi,

I recently upgraded from Eclipse 2.1.3 to Eclipse 3.0.
Build files used in 2.1.3 contain an input task. Running these build files
in Eclipse 3.0 results in:

BUILD FAILED:
C:\development\projects\Inknowvation\knowledgeportal_current \build\build.xml
:41: Failed to read input from Console.

The input screen shown in Eclipse 2.1.3. is not shown anymore.
I looked around a bit to find a solution, but I didn't.
Can anyone help?

EJ
Re: Ant input task not working? [message #64700 is a reply to message #64675] Tue, 29 June 2004 22:06 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
You didn't read the 3.0 readme did you :-)

From the readme
(..pathToYourInstall/eclipse/readme/readme_eclipse.html#I-Pl atform-Ant
=====
No input handler supplied for <input> task when running Ant in a separate VM
By default, no input handler is supplied for the <input> task for a build
running in a separate VM. Therefore the input requests will always fail. The
user can supply an input handler using the -inputhandler argument. (bug
45484)

======

So you can create and specify your own input handler or you can set your
build to occur in the same JRE as Eclipse and you will see the familiar
input handler from 2.1.*

See the JRE tab for your Ant launch configuration.

HTH
Darins

Note: these questions are mor likely to get answered quickly if posted to
the eclipse.platform newsgroup

"Erik-Jan Spaans" <E.J.Spaans@inter.NL.net> wrote in message
news:cbrr0a$lrj$1@eclipse.org...
> Hi,
>
> I recently upgraded from Eclipse 2.1.3 to Eclipse 3.0.
> Build files used in 2.1.3 contain an input task. Running these build files
> in Eclipse 3.0 results in:
>
> BUILD FAILED:
>
C:\development\projects\Inknowvation\knowledgeportal_current \build\build.xml
> :41: Failed to read input from Console.
>
> The input screen shown in Eclipse 2.1.3. is not shown anymore.
> I looked around a bit to find a solution, but I didn't.
> Can anyone help?
>
> EJ
>
>
Re: Ant input task not working? [message #597731 is a reply to message #64675] Tue, 29 June 2004 22:06 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
You didn't read the 3.0 readme did you :-)

From the readme
(..pathToYourInstall/eclipse/readme/readme_eclipse.html#I-Pl atform-Ant
=====
No input handler supplied for <input> task when running Ant in a separate VM
By default, no input handler is supplied for the <input> task for a build
running in a separate VM. Therefore the input requests will always fail. The
user can supply an input handler using the -inputhandler argument. (bug
45484)

======

So you can create and specify your own input handler or you can set your
build to occur in the same JRE as Eclipse and you will see the familiar
input handler from 2.1.*

See the JRE tab for your Ant launch configuration.

HTH
Darins

Note: these questions are mor likely to get answered quickly if posted to
the eclipse.platform newsgroup

"Erik-Jan Spaans" <E.J.Spaans@inter.NL.net> wrote in message
news:cbrr0a$lrj$1@eclipse.org...
> Hi,
>
> I recently upgraded from Eclipse 2.1.3 to Eclipse 3.0.
> Build files used in 2.1.3 contain an input task. Running these build files
> in Eclipse 3.0 results in:
>
> BUILD FAILED:
>
C:\development\projects\Inknowvation\knowledgeportal_current \build\build.xml
> :41: Failed to read input from Console.
>
> The input screen shown in Eclipse 2.1.3. is not shown anymore.
> I looked around a bit to find a solution, but I didn't.
> Can anyone help?
>
> EJ
>
>
Previous Topic:Ant input task not working?
Next Topic:whence eclipse.exe source?
Goto Forum:
  


Current Time: Tue Mar 19 07:52:36 GMT 2024

Powered by FUDForum. Page generated in 0.01865 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top