You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@buildr.apache.org by Alex Boisvert <bo...@intalio.com> on 2009/02/27 07:29:42 UTC

A little too terse...

This recent change,

Running svn diff -r735809:744045 lib/buildr/core/application.rb
r744045 | assaf | 2009-02-13 01:13:42 -0800 (Fri, 13 Feb 2009) | 3 lines

Setting RakeFileUtils.verbose_flag to false prevents the annoying messages
in every FileUtils method and sh call.
Failure in test framework is now reported and the test allowed to fail
properly, rather than miserably.
Fixed failing tests in transport_spec.rb.
Index: lib/buildr/core/application.rb
===================================================================
--- lib/buildr/core/application.rb      (revision 735809)
+++ lib/buildr/core/application.rb      (revision 744045)
@@ -263,6 +263,7 @@

       standard_buildr_options.each { |args| opts.on(*args) }
       parsed_argv = opts.parse(ARGV)
+      RakeFileUtils.verbose_flag = options.trace
       parsed_argv
     end

... has shut up much more than FileUtils operations on my system; I don't
see messages such as:

Building ode-axis215
Compiling ode-axis215:utils into /home/boisvert/git/pxe/utils/target/classes
Compiling ode-axis215:utils:test into
/home/boisvert/git/pxe/utils/target/test/classes
...

anymore and I still see messages such as:

rm -rf
/home/boisvert/git/pxe/axis2/target

rm -rf
/home/boisvert/git/pxe/axis2/reports

rm -rf
/home/boisvert/git/pxe/bpel-api/target

rm -rf
/home/boisvert/git/pxe/bpel-api/reports

rm -rf
/home/boisvert/git/pxe/utils/target

rm -rf /home/boisvert/git/pxe/utils/reports

during cleaning.

Is is just my system, or is there a better way?

alex

Re: A little too terse...

Posted by Alex Boisvert <bo...@intalio.com>.
Nice... thanks!

On Fri, Feb 27, 2009 at 12:32 PM, Assaf Arkin <ar...@intalio.com> wrote:

> Should be fixed now.
>
> Assaf
>
> On Thu, Feb 26, 2009 at 10:29 PM, Alex Boisvert <boisvert@intalio.com
> >wrote:
>
> > This recent change,
> >
> > Running svn diff -r735809:744045 lib/buildr/core/application.rb
> > r744045 | assaf | 2009-02-13 01:13:42 -0800 (Fri, 13 Feb 2009) | 3 lines
> >
> > Setting RakeFileUtils.verbose_flag to false prevents the annoying
> messages
> > in every FileUtils method and sh call.
> > Failure in test framework is now reported and the test allowed to fail
> > properly, rather than miserably.
> > Fixed failing tests in transport_spec.rb.
> > Index: lib/buildr/core/application.rb
> > ===================================================================
> > --- lib/buildr/core/application.rb      (revision 735809)
> > +++ lib/buildr/core/application.rb      (revision 744045)
> > @@ -263,6 +263,7 @@
> >
> >       standard_buildr_options.each { |args| opts.on(*args) }
> >       parsed_argv = opts.parse(ARGV)
> > +      RakeFileUtils.verbose_flag = options.trace
> >       parsed_argv
> >     end
> >
> > ... has shut up much more than FileUtils operations on my system; I don't
> > see messages such as:
> >
> > Building ode-axis215
> > Compiling ode-axis215:utils into
> > /home/boisvert/git/pxe/utils/target/classes
> > Compiling ode-axis215:utils:test into
> > /home/boisvert/git/pxe/utils/target/test/classes
> > ...
> >
> > anymore and I still see messages such as:
> >
> > rm -rf
> > /home/boisvert/git/pxe/axis2/target
> >
> > rm -rf
> > /home/boisvert/git/pxe/axis2/reports
> >
> > rm -rf
> > /home/boisvert/git/pxe/bpel-api/target
> >
> > rm -rf
> > /home/boisvert/git/pxe/bpel-api/reports
> >
> > rm -rf
> > /home/boisvert/git/pxe/utils/target
> >
> > rm -rf /home/boisvert/git/pxe/utils/reports
> >
> > during cleaning.
> >
> > Is is just my system, or is there a better way?
> >
> > alex
> >
>

Re: A little too terse...

Posted by Assaf Arkin <ar...@intalio.com>.
Should be fixed now.

Assaf

On Thu, Feb 26, 2009 at 10:29 PM, Alex Boisvert <bo...@intalio.com>wrote:

> This recent change,
>
> Running svn diff -r735809:744045 lib/buildr/core/application.rb
> r744045 | assaf | 2009-02-13 01:13:42 -0800 (Fri, 13 Feb 2009) | 3 lines
>
> Setting RakeFileUtils.verbose_flag to false prevents the annoying messages
> in every FileUtils method and sh call.
> Failure in test framework is now reported and the test allowed to fail
> properly, rather than miserably.
> Fixed failing tests in transport_spec.rb.
> Index: lib/buildr/core/application.rb
> ===================================================================
> --- lib/buildr/core/application.rb      (revision 735809)
> +++ lib/buildr/core/application.rb      (revision 744045)
> @@ -263,6 +263,7 @@
>
>       standard_buildr_options.each { |args| opts.on(*args) }
>       parsed_argv = opts.parse(ARGV)
> +      RakeFileUtils.verbose_flag = options.trace
>       parsed_argv
>     end
>
> ... has shut up much more than FileUtils operations on my system; I don't
> see messages such as:
>
> Building ode-axis215
> Compiling ode-axis215:utils into
> /home/boisvert/git/pxe/utils/target/classes
> Compiling ode-axis215:utils:test into
> /home/boisvert/git/pxe/utils/target/test/classes
> ...
>
> anymore and I still see messages such as:
>
> rm -rf
> /home/boisvert/git/pxe/axis2/target
>
> rm -rf
> /home/boisvert/git/pxe/axis2/reports
>
> rm -rf
> /home/boisvert/git/pxe/bpel-api/target
>
> rm -rf
> /home/boisvert/git/pxe/bpel-api/reports
>
> rm -rf
> /home/boisvert/git/pxe/utils/target
>
> rm -rf /home/boisvert/git/pxe/utils/reports
>
> during cleaning.
>
> Is is just my system, or is there a better way?
>
> alex
>