cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject cvs commit: xml-cocoon2/src/scratchpad/schecoon/emacs README
Date Thu, 10 Jan 2002 17:50:09 GMT
ovidiu      02/01/10 09:50:09

  Modified:    src/scratchpad/schecoon/emacs README
  Include instructions on how to setup the servlet container.
  Revision  Changes    Path
  1.2       +30 -2     xml-cocoon2/src/scratchpad/schecoon/emacs/README
  Index: README
  RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/emacs/README,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- README	3 Jan 2002 12:31:34 -0000	1.1
  +++ README	10 Jan 2002 17:50:09 -0000	1.2
  @@ -3,11 +3,37 @@
   editing and evaluating expressions and definition in the Scheme
   servlet is a snap.
  +There are two setups that you need to do to hook-up Emacs to a running
  +instance of Cocoon. One is on the servlet container side, and the
  +other is on your Emacs side.
  +1. Setup he servlet container part
  +The Emacs process will send commands for evaluation to a dedicated
  +servlet running inside the same web application with the Scheme/Cocoon
  +For security reasons this servlet is setup to accept only
  +authenticated connections. The setup is defined in the web.xml file in
  +the webapps/WEB-INF/ directory. It accepts connections only from the
  +user whose role is 'cocoon_admin'.
  +To setup such a user on your servlet container, please refer to the
  +documentation that comes with your servlet container. If you're using
  +Tomcat 3.3, simply add a line like this in the
  +conf/users/global-users.xml file:
  +  <user name="user-name" password="your-password" roles="cocoon_admin"/>
  +2. Setup your Emacs
   Add the following in your ~/.emacs (change the location of
   sisc-servlet script to suit your needs):
   (require 'cl)
  -(defvar sisc-location "~/src/schecoon/emacs")
  +(defvar sisc-location "~/src/xml-cocoon2/src/scratchpad/schecoon/emacs")
   (pushnew sisc-location load-path)
   (require 'siscscheme)
   (setq sisc-program-name (concat sisc-location "/sisc-servlet"))
  @@ -30,7 +56,9 @@
   C-c l			evaluate the current buffer
   The first time you evaluate something, you will be asked for a
  -username and a password. Switch to the *scheme* buffer to enter them.
  +username and a password. Switch to the *scheme* buffer to enter them,
  +if this buffer is not already selected. Enter the user name and
  +password you entered in the first step.
   This setup was tested with XEmacs 21.4.4, but it should work with
   other versions of XEmacs and GNU Emacs as well. Let me (Ovidiu) know

In case of troubles, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message