[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

hook-script with java programm

From: Sandro Frenzel <s.frenzel_at_technisat.de>
Date: Thu, 8 Apr 2010 11:55:09 +0200

Hello all,

I run a java programm within a SVN post-commit script and it works fine.

When something goes wrong a exception is thrown and the programm stops
without any information given to the user. Is it possible to 'pipe' the
error message over the post-commit script to the user?

In a perl script I can do something like this: '[...] die "Denied: Filename
cannot be renamed on $path! $!"; [...]'. This error message is returned to
the SubVersion process and displayed in a SubVersion client.

How can I do this in Java? Maybe I have to post this thread in a Java forum,
too. However, I hope someone can help me here :-)!

Best Regards,
Sandro
Received on 2010-04-08 12:29:12 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.