I am taking a peek at Jigsaw (very nice!) and wanted to play with the
interface to CVS
system. I have never used CVS before, but I am working on that so bare
with me.
I have used RCS on many projects and this seems like very compelling
development environment.
I started with the tutorial and pieced together some more from this list.
After installing all the necessary components I began to configure Jigsaw.
Here is where I am.
1. For reference I 'setenv CVSROOT /opt/Jigsaw/Jigsaw/WWW'.
2. I issued 'cvs init' which seemed to create a CVS repository as
$CVSROOT/CVSROOT
3. The Jigsaw documentation at
/User/Tutorials/configuration.html#factory-templates
makes this reference -- "To access the directory templates database, point
your
favorite browser to /Admin/DirectoryTemplates."
I believe there is a problem with the documentation and assumed it meant
/Admin/Directories/. There I added a directory template call CVS mapped to
the
w3c.jigsaw.cvs.CvsDirectoryResource class.
4. Add the following lines to httpd.conf and restarted the server:
w3c.cvs.path=/usr/local/bin/cvs
w3c.cvs.root=/opt/Jigsaw/Jigsaw/WWW
w3c.cvs.wrapper=/opt/Jigsaw/Jigsaw/bin/cvs_wrapper
5. Here's where it became a little foggy for me. I went to the Resource
Editor
at /Admin/Editor/ and added a CVS (or is it CVSROOT) resource and mapped it
to
the w3c.jigsaw.cvs.CvsDirectoryResource class.
6. When I accessed /CVS (or is it /CVSROOT) Jigsaw kicks off the wrapper
script which
produces the output:
/opt/Jigsaw/Jigsaw/bin/cvs_wrapper -directory /opt/Jigsaw/Jigsaw/WWW
/usr/local/bin/cvs -q -d /afs/w3.org/pub/WWW status Overview.html
w3c.cvs.CvsDirectory[/opt/Jigsaw/Jigsaw/afs/w3.org/pub/WWW /WWW]: Process
exited with error code: 1
I was a little surprised by the -d /afs/w3.org/pub/WWW in the output
produced by Jigsaw. Did I miss something in the configuration? I'd be
grateful for a 'lil guidance.
Cordially,
Tom Kee
MagNet, Inc.
Publishers of BWZine
http://www.betterworld.com