You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Ja...@rzf.fin-nrw.de on 2004/04/05 14:08:38 UTC
RE: Can you turn on debug and verbose from inside ant or only fro
m the command line?
Just add the options you need.
Eclipse 3.0 M7:
- context menu on the build.xml
- "run ant ..."
- tab "Main"
- add to "Arguments" the -verbose or -debug
Just an idea: dirty hacks from inside the buildfile. See [1].
Mmh, where the -debug is used ...
- Main.processArgs():288: msgOutputLevel = Project.MSG_WARN;
- Main.createLogger():787: logger.setMessageOutputLevel(msgOutputLevel);
- Main.addBuildListeners():704: project.addBuildListener(createLogger());
idea: get the list of listeners and reset their output level ...
... doesn´t work:
- Project.getBuildListeners():365: return (Vector) listeners.clone();
You´ll only get clones, not the original and used listeners ...
Jan
[1] http://wiki.apache.org/ant/AntOddities "2. Changing default Locale"
> -----Original Message-----
> From: Ray Tayek [mailto:rtayek@freightgate.com]
> Sent: Thursday, March 25, 2004 1:31 AM
> To: 'Ant Users List'
> Subject: RE: Can you turn on debug and verbose from inside ant or only
> from the command line?
>
>
>
>
> > -----Original Message-----
> > From: Stefan Bodewig [mailto:bodewig@apache.org]
> > Sent: Tuesday, March 23, 2004 10:44 PM
> > To: user@ant.apache.org
> > Subject: Re: Can you turn on debug and verbose from inside
> > ant or only from the command line?
> >
> > On Tue, 23 Mar 2004, Ray Tayek <rt...@freightgate.com> wrote:
> >
> > > I can turn on -verbose and -debug from the command line.
> > > How do I do this from within ant?
> >
> > You can't.
>
> Ok, maybe there is a way to tell eclipse to do it. I will try
> the eclipse
> newsgroup.
>
> Thanks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>