Ant input task blocks Console [message #239005] |
Wed, 05 May 2004 16:03  |
Eclipse User |
|
|
|
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 18:49  |
Eclipse User |
|
|
|
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 18:15  |
Eclipse User |
|
|
|
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
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04016 seconds