Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Ant input task blocks Console
Ant input task blocks Console [message #239005] Wed, 05 May 2004 20:03 Go to next message
Kenneth Costilow is currently offline Kenneth CostilowFriend
Messages: 5
Registered: July 2009
Junior Member
Eclipse 3.0M8
Ant 1.6.1
Windows XP

(See bug #45854)

It appears that any Ant <input> task blocks the Eclipse Console. I have
tried writing my own InputHandler but all I can do is simplify the existing
one (still using System.in), which always continues to block.

Does anybody have a workaround for this ? Maybe there is a specific Eclipse
InputHandler implementation for Console that I need to specify to Ant
(using -inputhandler) ?

Thanks
Ken
Re: Ant input task blocks Console [message #239028 is a reply to message #239005] Wed, 05 May 2004 21:48 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
I believe you meant to reference
https://bugs.eclipse.org/bugs/show_bug.cgi?id=45484
I have not had the time to finish up an Eclipse input handler for this case
(and it is not looking good for 3.0)..I will try to get some more time to
this.
I will post to the bug report where I am at currently so that possible
others could help finish (I will try to do this tomorrow).

Can you run your build in the same VM as Eclispe for now where the input
does work?

Darins

"Ken Costilow" <Ken.Costilow@delta.com> wrote in message
news:c7bh8v$2u3$2@eclipse.org...
> Eclipse 3.0M8
> Ant 1.6.1
> Windows XP
>
> (See bug #45854)
>
> It appears that any Ant <input> task blocks the Eclipse Console. I have
> tried writing my own InputHandler but all I can do is simplify the
existing
> one (still using System.in), which always continues to block.
>
> Does anybody have a workaround for this ? Maybe there is a specific
Eclipse
> InputHandler implementation for Console that I need to specify to Ant
> (using -inputhandler) ?
>
> Thanks
> Ken
>
>
>
Re: Ant input task blocks Console [message #239048 is a reply to message #239028] Wed, 05 May 2004 21:11 Go to previous messageGo to next message
Kenneth Costilow is currently offline Kenneth CostilowFriend
Messages: 5
Registered: July 2009
Junior Member
Yes that's the correct number; sorry about that.

I'm glad to know that there isn't some simple fix that I overlooked (for a
change) !

Regarding the "same VM as Eclipse" - do you mean to uncheck the Ant "Launch
in Background" box on the Ant External Tools Launcher Common page ? If so ,
that seems to have no effect.

If not, please advise.

Thanks for the prompt response.

kc

"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:c7bjhn$5tq$1@eclipse.org...
> I believe you meant to reference
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=45484
> I have not had the time to finish up an Eclipse input handler for this
case
> (and it is not looking good for 3.0)..I will try to get some more time to
> this.
> I will post to the bug report where I am at currently so that possible
> others could help finish (I will try to do this tomorrow).
>
> Can you run your build in the same VM as Eclispe for now where the input
> does work?
>
> Darins
>
> "Ken Costilow" <Ken.Costilow@delta.com> wrote in message
> news:c7bh8v$2u3$2@eclipse.org...
> > Eclipse 3.0M8
> > Ant 1.6.1
> > Windows XP
> >
> > (See bug #45854)
> >
> > It appears that any Ant <input> task blocks the Eclipse Console. I have
> > tried writing my own InputHandler but all I can do is simplify the
> existing
> > one (still using System.in), which always continues to block.
> >
> > Does anybody have a workaround for this ? Maybe there is a specific
> Eclipse
> > InputHandler implementation for Console that I need to specify to Ant
> > (using -inputhandler) ?
> >
> > Thanks
> > Ken
> >
> >
> >
>
>
Re: Ant input task blocks Console [message #239073 is a reply to message #239048] Wed, 05 May 2004 22:49 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Sorry should have provided exact instructions:

Go to the JRE page for your Ant Launch Configuration.
Change it to run in the Same JRE as Eclipse

Input handling works with the UI input handler.

HTH
Darins

"Ken Costilow" <Ken.Costilow@delta.com> wrote in message
news:c7bkts$7vs$1@eclipse.org...
> Yes that's the correct number; sorry about that.
>
> I'm glad to know that there isn't some simple fix that I overlooked (for a
> change) !
>
> Regarding the "same VM as Eclipse" - do you mean to uncheck the Ant
"Launch
> in Background" box on the Ant External Tools Launcher Common page ? If so
,
> that seems to have no effect.
>
> If not, please advise.
>
> Thanks for the prompt response.
>
> kc
>
> "Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
> news:c7bjhn$5tq$1@eclipse.org...
> > I believe you meant to reference
> > https://bugs.eclipse.org/bugs/show_bug.cgi?id=45484
> > I have not had the time to finish up an Eclipse input handler for this
> case
> > (and it is not looking good for 3.0)..I will try to get some more time
to
> > this.
> > I will post to the bug report where I am at currently so that possible
> > others could help finish (I will try to do this tomorrow).
> >
> > Can you run your build in the same VM as Eclispe for now where the input
> > does work?
> >
> > Darins
> >
> > "Ken Costilow" <Ken.Costilow@delta.com> wrote in message
> > news:c7bh8v$2u3$2@eclipse.org...
> > > Eclipse 3.0M8
> > > Ant 1.6.1
> > > Windows XP
> > >
> > > (See bug #45854)
> > >
> > > It appears that any Ant <input> task blocks the Eclipse Console. I
have
> > > tried writing my own InputHandler but all I can do is simplify the
> > existing
> > > one (still using System.in), which always continues to block.
> > >
> > > Does anybody have a workaround for this ? Maybe there is a specific
> > Eclipse
> > > InputHandler implementation for Console that I need to specify to Ant
> > > (using -inputhandler) ?
> > >
> > > Thanks
> > > Ken
> > >
> > >
> > >
> >
> >
>
>
Re: Ant input task blocks Console [message #239078 is a reply to message #239073] Wed, 05 May 2004 22:15 Go to previous message
Kenneth Costilow is currently offline Kenneth CostilowFriend
Messages: 5
Registered: July 2009
Junior Member
Duh - didn't even notice that. Naturally that fixed it. That's exactly the
kind of workaround I was looking for.
Thanks
kc

"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
news:c7bn4e$aql$1@eclipse.org...
> Sorry should have provided exact instructions:
>
> Go to the JRE page for your Ant Launch Configuration.
> Change it to run in the Same JRE as Eclipse
>
> Input handling works with the UI input handler.
>
> HTH
> Darins
>
> "Ken Costilow" <Ken.Costilow@delta.com> wrote in message
> news:c7bkts$7vs$1@eclipse.org...
> > Yes that's the correct number; sorry about that.
> >
> > I'm glad to know that there isn't some simple fix that I overlooked (for
a
> > change) !
> >
> > Regarding the "same VM as Eclipse" - do you mean to uncheck the Ant
> "Launch
> > in Background" box on the Ant External Tools Launcher Common page ? If
so
> ,
> > that seems to have no effect.
> >
> > If not, please advise.
> >
> > Thanks for the prompt response.
> >
> > kc
> >
> > "Darin Swanson" <Darin_Swanson@us.ibm.com> wrote in message
> > news:c7bjhn$5tq$1@eclipse.org...
> > > I believe you meant to reference
> > > https://bugs.eclipse.org/bugs/show_bug.cgi?id=45484
> > > I have not had the time to finish up an Eclipse input handler for this
> > case
> > > (and it is not looking good for 3.0)..I will try to get some more time
> to
> > > this.
> > > I will post to the bug report where I am at currently so that possible
> > > others could help finish (I will try to do this tomorrow).
> > >
> > > Can you run your build in the same VM as Eclispe for now where the
input
> > > does work?
> > >
> > > Darins
> > >
> > > "Ken Costilow" <Ken.Costilow@delta.com> wrote in message
> > > news:c7bh8v$2u3$2@eclipse.org...
> > > > Eclipse 3.0M8
> > > > Ant 1.6.1
> > > > Windows XP
> > > >
> > > > (See bug #45854)
> > > >
> > > > It appears that any Ant <input> task blocks the Eclipse Console. I
> have
> > > > tried writing my own InputHandler but all I can do is simplify the
> > > existing
> > > > one (still using System.in), which always continues to block.
> > > >
> > > > Does anybody have a workaround for this ? Maybe there is a specific
> > > Eclipse
> > > > InputHandler implementation for Console that I need to specify to
Ant
> > > > (using -inputhandler) ?
> > > >
> > > > Thanks
> > > > Ken
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Previous Topic:Problem sharing project for first time
Next Topic:Getting view references from an open perspective
Goto Forum:
  


Current Time: Wed Jan 15 09:44:47 GMT 2025

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

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

Back to the top