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

Re: execute java jar file in a post-commit hook

From: Nikki Locke <info_at_trumphurst.com>
Date: 2006-12-06 19:30:03 CET

Try getting a shell prompt as the apache user, then deleting ALL your
environment variables (so "set" returns nothing).

Then try executing your hook script.

If you get the same behaviour as when run inside apache, you have
reproduced your problem. Now all you need to do is to put back your
environment variables one at a time to see which ones being missing causes
the problem, then set those ones in your hook script.

-- 
Nikki Locke, Trumphurst Ltd.      PC & Unix consultancy & programming
http://www.trumphurst.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 6 19:30:32 2006

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.