.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.

[CWS_CONFIG]
# 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
# PROXY=

# CWS Database server (SOAP). It's possible specify to several backup server,
# currently there are none.
CWS_DB_SERVER_1=https://eis.services.openoffice.org/soap/servlet/rpcrouter

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

# 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)
CVS_PASSWORD=YOURSCRAMBLE

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

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

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

# SVN server for OOo-3.1 child workspaces
# r/w access via svn+ssh pprotocol
SVN_SERVER=svn+ssh://svn@svn.services.openoffice.org/ooo
# r/o access via svn protocol
#SVN_SERVER=svn://svn.services.openoffice.org/ooo


# 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
# HG_LOCAL_SOURCE=
# Example:
#HG_LOCAL_SOURCE=/export/hg_clean

# URL where pristine copies of OOo master workspaces (ie. DEV300) are available in a LAN
# HG_LAN_SOURCE=
# Example:
#HG_LAN_SOURCE=http://myserver.example.com:8000/

# The OOo SCM server
HG_REMOTE_SOURCE=http://hg.services.openoffice.org


See also Mercurial/Cws

Personal tools