W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 1996

Jigsaw and CVS

From: Tom Kee <tom.kee@magnets.com>
Date: Thu, 12 Dec 1996 22:29:02 -0800
Message-Id: <3.0.32.19961212222900.009ba4b0@magnets.com>
To: www-jigsaw@w3.org

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
Received on Friday, 13 December 1996 01:32:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:25 GMT