Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Ant output to Console
Ant output to Console [message #106458] Mon, 04 August 2003 22:46 Go to next message
Eclipse UserFriend
Originally posted by: Balbachs.pghmail.com

How can I get the output of Ant in my plugin sent to the Console view in
Eclipse? I've looked through AntLaunchDelegate, NullBuildLogger, and
AntProcessBuildLogger but it's not making sense. I can see where a class
name is passed as a String to AntRunner.addBuildLogger but I can't see how
to interact with that class. Don't the setOutputPrintStream and
setMessageOutputLevel methods (at a minimum) need to be called and set
accordingly?
Re: Ant output to Console [message #106893 is a reply to message #106458] Tue, 05 August 2003 15:31 Go to previous messageGo to next message
Eclipse UserFriend
The console view works through ILaunches and IProcesses. When you launch
something, an ILaunch is passed to an ILaunchConfigurationDelegate for
launching. It is the delegate's job to add IProcesses to the ILaunch. Each
IProcess must supply streams to its input and output streams. Everything
else is done for you - the streams are automatically connected to the
console after that.

Note, things are being added to the console for 3.0, providing more
flexibility. There was a post somewhere earlier about this.

Curt

"Puhn" <Balbachs@pghmail.com> wrote in message
news:bgn5fh$82p$1@eclipse.org...
> How can I get the output of Ant in my plugin sent to the Console view in
> Eclipse? I've looked through AntLaunchDelegate, NullBuildLogger, and
> AntProcessBuildLogger but it's not making sense. I can see where a class
> name is passed as a String to AntRunner.addBuildLogger but I can't see how
> to interact with that class. Don't the setOutputPrintStream and
> setMessageOutputLevel methods (at a minimum) need to be called and set
> accordingly?
>
>
Re: Ant output to Console [message #106970 is a reply to message #106458] Tue, 05 August 2003 16:39 Go to previous message
Eclipse UserFriend
You should not need to interact with the build logger.
It handles all of the messages logged from the Ant build.
What exactly are you trying to do and what exactly have you tried?

Darins

"Puhn" <Balbachs@pghmail.com> wrote in message
news:bgn5fh$82p$1@eclipse.org...
> How can I get the output of Ant in my plugin sent to the Console view in
> Eclipse? I've looked through AntLaunchDelegate, NullBuildLogger, and
> AntProcessBuildLogger but it's not making sense. I can see where a class
> name is passed as a String to AntRunner.addBuildLogger but I can't see how
> to interact with that class. Don't the setOutputPrintStream and
> setMessageOutputLevel methods (at a minimum) need to be called and set
> accordingly?
>
>
Previous Topic:CVS questions
Next Topic:custom builder helper
Goto Forum:
  


Current Time: Fri Jul 18 01:56:46 EDT 2025

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

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

Back to the top