On Fri, 23 Apr 2004 15:32:24 +0100, "Eric Carlson"
<eric.carlson@group-technical.com> said:
> How can I tell the hook script to turn off output for all its invoked
> scripts please? Also, what I really want is not to just lose these
> logs but pip them to a file? All this is of course of thats what my
> real problem causing the hooks to fail is. I know they are being
> invoked because as a test I added "copy foo.txt bar.txt" as the first
> line in one and bar.txt was created ok. Cheers.
You might also consider writing a small VBScript to do the actual ANT
execution and capture the stdout/stderr results. Just have your
post-commit.bat run "cscript d:\dir\hooks\post-commit.vbs %1 %2", and
you've got a lot more flexibility and power.
The VBScript can, for instance, send you an email if stderr isn't empty,
or based on keywords from stdout.
Cheers
-b
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Apr 23 20:32:48 2004