Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Programatically run ant xml file with output in console
Programatically run ant xml file with output in console [message #315176] Fri, 04 May 2007 10:40 Go to next message
Eclipse UserFriend
Originally posted by: andrei.serea.ama.us

I am trying to run an ant script inside a LaunchConfigurationDelegate. I
found how to run if (via AntRunner.run()) but the output is not shown in the
eclipse console view, and i want that to happen.
Any idea how?
P.S. I'm not sure this is the right newsgroup to be asking this kind of
question, but i couldn't find a better one...
Thanks!
Re: Programatically run ant xml file with output in console [message #315182 is a reply to message #315176] Fri, 04 May 2007 12:29 Go to previous message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
To see how Eclipse does it take a look at the
org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDe legate and the
Eclipse Ant logger classes and the Ant logger / listener classes
(org.eclipse.ant.internal.ui.launchConfigurations.RemoteAntB uildListener and
org.eclipse.ant.internal.ui.antsupport.logger.RemoteAntBuild Logger)

HTH
Darins

"Andrei Serea" <andrei.serea@ama.us> wrote in message
news:f1f2i9$osp$1@build.eclipse.org...
>I am trying to run an ant script inside a LaunchConfigurationDelegate. I
>found how to run if (via AntRunner.run()) but the output is not shown in
>the eclipse console view, and i want that to happen.
> Any idea how?
> P.S. I'm not sure this is the right newsgroup to be asking this kind of
> question, but i couldn't find a better one...
> Thanks!
>
Previous Topic:problem with exporting plugin...
Next Topic:ILaunchConfigurationDialog apply button
Goto Forum:
  


Current Time: Sat Nov 02 18:40:48 GMT 2024

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

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

Back to the top