Hello,

-verbose is internally a logging level for the DefaultLogger.

There is no support to change it when invoking the <ant/> task.

You can have a look at the record task, which allows you to generate log files 
with the desired logging severity (INFO, VERBOSE, or DEBUG).

If the logging level *really* changes when you invoke the <ant/> task (would 
surprise me) and you can write a small build file which proves the point, then 
it is a bug and you can enter it in bugzilla. 
(http://issues.apache.org/bugzilla).


Regards,

Antoine

-------- Original-Nachricht --------
Datum: Tue, 13 Jun 2006 06:44:47 -0400
Von: "Scot P. Floess" <[EMAIL PROTECTED]>
An: Ant Users List <user@ant.apache.org>
Betreff: Re: pass -verbose flag to a sub project

> Not sure, but maybe try using the inheritAll attribute?
> 
> [EMAIL PROTECTED] wrote:
> > I would like to pass the command line argument -verbose to a ant sub 
> > project
> > using the <ant> task, so I can get detailed output from the sub project.
> >
> > ie
> >
> > <target name="build.project" description="Build the sub project">
> >            <ant dir="${project.base}/project" antfile="build.xml" 
> > target="integration-build" />
> > </target>
> >
> > The <ant> task does not take <arg> options?
> >
> > Any ideas?
> >
> >
> > I'm using.
> > Apache Ant version 1.6.5 compiled on June 2 2005
> >
> >
> >
> > ~
> > James Carr
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >   
> 
> -- 
> Scot P. Floess
> 27 Lake Royale
> Louisburg, NC  27549
> 
> 252-478-8087 (Home)
> 919-754-4592 (Work)
> 
> Chief Architect JPlate  http://sourceforge.net/projects/jplate
> Chief Architect JavaPIM http://sourceforge.net/projects/javapim
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to