ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@gmx.de>
Subject Re: Re: pass -verbose flag to a sub project
Date Tue, 13 Jun 2006 13:53:49 GMT
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" <floess@mindspring.com>
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?
> 
> James.Carr@nominet.org.uk 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: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
> >   
> 
> -- 
> 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: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message