Re: Suppressing error messages from chmod and chgrp tasks

2007-08-22 Thread Vihan Pandey
> > Don't these tasks extend ? Can you simply > > redirect their error output to /dev/null? > > Even if I could, I do not know if I would want to do that since I would > loose other useful information. You could try this in exec(but its totally *nix specific) your_command withparams_and_switches

Re: Suppressing error messages from chmod and chgrp tasks

2007-08-20 Thread DATACOM - Diego
Don't these tasks extend ? Can you simply redirect their error output to /dev/null? Even if I could, I do not know if I would want to do that since I would loose other useful information. Don't use these commands, and use where you have full control on the command line to use -f. --DD Ye

Re: Suppressing error messages from chmod and chgrp tasks

2007-08-20 Thread Matt Benson
Don't these tasks extend ? Can you simply redirect their error output to /dev/null? -Matt --- Dominique Devienne <[EMAIL PROTECTED]> wrote: > On 8/20/07, DATACOM - Diego <[EMAIL PROTECTED]> > wrote: > > It would be very useful for me if it was possible > to suppress > > error/diagnostic message

Re: Suppressing error messages from chmod and chgrp tasks

2007-08-20 Thread Dominique Devienne
On 8/20/07, DATACOM - Diego <[EMAIL PROTECTED]> wrote: > It would be very useful for me if it was possible to suppress > error/diagnostic messages from chmod, chgrp and chown tasks. [...] > > All these three UNIX commands support the -f ("force option") [...] > > If you know any workaround other th

Suppressing error messages from chmod and chgrp tasks

2007-08-20 Thread DATACOM - Diego
Hi all, I am using Ant 1.7.0, JDK 5.0_04, Gentoo Linux. It would be very useful for me if it was possible to suppress error/diagnostic messages from chmod, chgrp and chown tasks. In the end of my build I change the permissions of a number of temporary and output files. For many of them the ch