I setup Jakarta-Alexandria on the server that runs CVS. 

To trigger J-A each time new code is checked in into CVS I added a call to
the shell script in the 'loginfo' admin file of CVS as described on the info
pages.

The trigger works fine, but it turns out that the script runs under the
client's user account. This causes two types of failures:
- chmod tasks in Ant fail because you can't change file settings when you
are not the file owner
- cvs checkouts fail, because the client's user account on the build server
doesn't have an entry in his '.cvspass' file for the general 'anoncvs'
account we use to checkout from CVS. (In other words; the user didn't do a
login under 'anoncvs' from the build server before.)

Running the shell script under a special purpose account doesn't help much,
because it still uses the '.cvspass' file of the client's user account
(instead of the one belonging to the special purpose account).

How to fix this problem? Should J-A be able to run from various user
accounts? If so, how? If not, how to setup a special purpose account that
circumvents above problems?

Any help is much appreciated.

Keesjan van Bunningen
Sun Certified Java Programmer
 
Finalist IT Group
Java Specialists
-------------------------------------------------------------
Rotterdam, The Netherlands
Office:         +31 10 2170800
Mobile:        +31 62 4693631
Fax:        +31 10 2809620
------------------------------------------------------------- 
De informatie opgenomen in dit bericht kan vertrouwelijk zijn en 
is uitsluitend bestemd voor de geadresseerde. Indien u dit bericht 
onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en 
de afzender direct te informeren door het bericht te retourneren. 
-------------------------------------------------------------
The information contained in this message may be confidential 
and is intended to be exclusively for the addressee. Should you 
receive this message unintentionally, please do not use the contents 
herein and notify the sender immediately by return e-mail.


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to