-Original Message-
From: jantje [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 02, 2008 1:58 AM
To: user@ant.apache.org
Subject: Pipeline in exec-task
/*
Hi there,
I need to do a /bin/bash operation, the "|" is a pipe:
find /tmp/module/ -type d | xargs chmod -v 755;
"find" I can i
Check out the 'output', 'error', 'logError' and other attributes in the exec
task to control the output.
http://ant.apache.org/manual/CoreTasks/exec.html
Upul
On Wed, Jul 2, 2008 at 4:12 PM, jantje <[EMAIL PROTECTED]> wrote:
>
> Ok (yes, I am working in /bin/bash), now I added this line, but it
2008/7/2 jantje <[EMAIL PROTECTED]>:
>
> Ok (yes, I am working in /bin/bash), now I added this line, but it still does
> not suppress the output: ()
>
>
>
>
>
>
>
Isn't this because ant doesn't start processes via bash (or any other
shell), but invokes them directly?
It
Ok (yes, I am working in /bin/bash), now I added this line, but it still does
not suppress the output: ()
The output with /usr/bin/dir2lzm is a proceeding bar, it actually is a bar
on the command line which can refresh up to 3000 times in my project, so
after the
You could use the -exec argument to find instead. I am on a bus at the
moment, but from memory the syntax would be:
find -exec chmod -v 755 \{\} \;
Check that in the manpages though! Should be fairly straightforward to
antify that.
I don't know if there's a way to pipe in ant but it would
If you're using some flavor of the UNIX shell you can append "
2>&1>/dev/null" to the executed command in order to suppress output (at the
OS level).
Gabor
On Tue, Jul 1, 2008 at 5:13 PM, jantje <[EMAIL PROTECTED]> wrote:
>
>
> A second question about :
>
> Is it possible not to have output to t
A second question about :
Is it possible not to have output to the shell from ?
While performing the exec-task I get no text output, but when finishing the
task, I get all the output at once.. I need something like quit or verbose..
Thanks..
--
View this message in context:
http://www.nabble