.cwsrc CWS tools configuration file

From Apache OpenOffice Wiki
Revision as of 18:06, 8 March 2010 by B michaelsen (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

You need to have a CWS tools configuration file named .cwsrc in your home directory (~/.cwsrc) for any of the cws command-line tools to work. The following is an example of a typical .cwsrc file.

The value for the CVS_PASSWORD attribute is taken from your ~/.cvspass file once you cvs login through the tunnel to legacy CVS. You can also use a script like this one to "encrypt" your password the way CVS does it. Of course Subversion or Mercurial will not access the CVS repository, but the CVS_ID and CVS_PASSWORD fields are also used by the cws tool for EIS access.

# Network proxy for EIS connections. 
# Comment in if you need to access EIS via a proxy.
# Note: This is just for accessing the EIS database. For SVN have a look here:
# http://svnbook.red-bean.com/nightly/en/svn.advanced.confarea.html#svn.advanced.confarea.opts.servers
# Example: PROXY=http://myproxy.company.com:8080

# CWS Database server (SOAP). It's possible specify to several backup server,
# currently there are none.

# Your CVS login (for authentication with the CWS database).

# Your scrambled CVS password (for authentication with the CWS database).
# Take this one from .cvspass (should be last field on the line and look
# like "Aac`l;kde" or something like that)

# OOo CVS tunnel
# Example: CVS_SERVER_ROOT=pserver:cvs_id@mytunnel.mydomain.de:/cvs

# Local OOo CVSUP mirror (optional)
# Example: CVS_MIRROR=:pserver:cvs_id@mycvsup.mydomain.de:/cvs

# Path to the cvs binary (optional)
# Example: CVS_BINARY=/usr/bin/cvs

# SVN server for OOo-3.1 child workspaces
# r/w access via svn+ssh pprotocol
# r/o access via svn protocol

# Mercurial, as per http://wiki.services.openoffice.org/wiki/Mercurial/Cws

# Directory where pristine copies of OOo master workspaces (ie. DEV300) are kept on the local disk
# Example:

# URL where pristine copies of OOo master workspaces (ie. DEV300) are available in a LAN
# Example:

# The OOo SCM server

See also Mercurial/Cws

Personal tools