On Wed, 22 May 2002, Vincent Massol wrote:

> Hi,
> 
> What do you think about removing unnecessary build comments from Maven
> build files. After all, if I use Maven it is because I don't want to
> care how it generates the stuff. They would only appear in VERBOSE or
> DEBUG modes.

I'm ok with that.

> 
> For example :
> 
> project-properties:
> Trying to override old definition of task project-properties
> Creating classpath reference ...
> Creating dependency.set ...
> Creating source set reference ...
> Adding Reference maven.src.set with a value of
> E:\Vma\Projets\Encours\ICOM\Icom\development\iceberg\
> src\core
> Creating aspect source set reference ...
> Adding Reference maven.src.aspect.set with a value of
> [project-properties] mpsd => null
> Adding Reference maven.compile.src.set with a value of
> E:\Vma\Projets\Encours\ICOM\Icom\development\
> iceberg\src\core
> Creating unit test class entries reference ...
> Trying to override old definition of task update-properties
> Checking for old properties ...
> 
> Will actually generate the following in normal mode (i.e . not verbose
> nor debug) :
> 
> project-properties:
> 
> 
> What do you think ? If we agree I can submit a patch for this (using the
> "level" attribute of the echo task would be nice but it is only
> supported in Ant 1.5 I think and I guess we want to support previous
> versions). What we can do is include the Ant 1.5 echo task in the Maven
> source tree and use it with a taskdef.

Err... the vast majority of the text you are concerned about is actually
generated by calls to the log() method in source code, not <echo> calls in
the build files.

I'd suggest that adding new log methods to call the approriate Ant log 
method would be more appropriate than worrying about the <echo> tasks; 
those can easily be removed with a sweep through the build.xml files.

Glenn McAllister
SOMA Networks, Inc.



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

Reply via email to