Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Ant Input Task not working through Eclipse
Ant Input Task not working through Eclipse [message #243105] Fri, 21 May 2004 04:29 Go to next message
Eclipse UserFriend
Originally posted by: andrewpeirson.cabs.co.zw

Hi all,

A similar message to this was posted last year, but i can't seem to find
any replies to it, so I am re-stating the query.


Has any one tried to use the ant input task to take user input in the
Eclipse
IDE using Eclipse 3.0 M8 and the bundled version of ant (1.6.1 I think)?

I tried to do that but nothing prompts to ask the user for input and
the build fails with java IO Exception stating that it failed to read
input from console. There doesn't seem to be a way to enter anything
from console.

I know that the inputhandler must be implemented, but I thought that this
had already been done by the Eclipse development team and that by default
the input task should work properly. Are there any specific ant settings
that need to be changed within Eclipse to get it to work...maybe I am just
using the input task wrong.

Any ideas and suggestions would be appreciated..
Thanks,
Andrew.
Re: Ant Input Task not working through Eclipse [message #243199 is a reply to message #243105] Fri, 21 May 2004 12:03 Go to previous messageGo to next message
Eclipse UserFriend
Set the Ant build to run in the same build as Eclipse.
See the JRE tab of the Ant launch configuration.

See bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=45484

HTH
Darins

"Andrew Peirson" <andrewpeirson@cabs.co.zw> wrote in message
news:c8kekc$msa$1@eclipse.org...
> Hi all,
>
> A similar message to this was posted last year, but i can't seem to find
> any replies to it, so I am re-stating the query.
>
>
> Has any one tried to use the ant input task to take user input in the
> Eclipse
> IDE using Eclipse 3.0 M8 and the bundled version of ant (1.6.1 I think)?
>
> I tried to do that but nothing prompts to ask the user for input and
> the build fails with java IO Exception stating that it failed to read
> input from console. There doesn't seem to be a way to enter anything
> from console.
>
> I know that the inputhandler must be implemented, but I thought that this
> had already been done by the Eclipse development team and that by default
> the input task should work properly. Are there any specific ant settings
> that need to be changed within Eclipse to get it to work...maybe I am just
> using the input task wrong.
>
> Any ideas and suggestions would be appreciated..
> Thanks,
> Andrew.
>
>
Re: Ant Input Task not working through Eclipse [message #245368 is a reply to message #243199] Wed, 26 May 2004 01:36 Go to previous message
Eclipse UserFriend
Originally posted by: andrewpeirson.cabs.co.zw

Hi Darin,

Thanks for your help... The ant input task works fine now.

Cheers,
Andrew.
Previous Topic:About I18N questions on plugin.properties file.
Next Topic:Business dialog patterns wanted
Goto Forum:
  


Current Time: Thu Apr 24 00:17:03 EDT 2025

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

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

Back to the top