Difference between revisions of "HowToCWS"

From Apache OpenOffice Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
'''NB:''' This page is about working with the OpenOffice.org ChildWorkSpace (CWS) commit process using Subversion as the version control system. The workflow described here is used by many community developers but some Sun engineers might find it interesting as well.
 
'''NB:''' This page is about working with the OpenOffice.org ChildWorkSpace (CWS) commit process using Subversion as the version control system. The workflow described here is used by many community developers but some Sun engineers might find it interesting as well.
  
== Quick walkthrough ==
+
== Quickstart ==
  
Prerquisites: You have your CWS system setup for Subversion support and a MixedTree without the sc module.
+
=== Workflow ===
 +
Prerquisites: You have your CWS system setup for Subversion support and a [[MixedTree]] without the sc module.
  
 
  1  export CWS_WORK_STAMP=<your_username>svntest01
 
  1  export CWS_WORK_STAMP=<your_username>svntest01
  2  cwscreate -s SRC680 m181 $CWS_WORK_STAMP
+
  2  cwscreate -s SRC680 m180 $CWS_WORK_STAMP
 
  3  cwsadd -c sc
 
  3  cwsadd -c sc
  4
+
  4 echo // Replace this with hacking| cat sc/source/filter/excel/biffdump.cxx -
 +
5  cwsresync -m m181 sc
 +
6  mkdir /tmp/__analyze_$(CWS_WORK_STAMP); cd /tmp/__analyze_$(CWS_WORK_STAMP)
 +
7  cwsanalyze sc
 +
 
 +
=== Setup for existing CWS users ===
 +
 
 +
# Install Subversion from the [http://subversion.tigris.org Subversion site] or use the one included with your distribution. '''Warning: Cygwin SVN is broken and will not work!'''.
 +
# Add these lines to your .cwsrc:
 +
# Subversion server root
 +
SVN_SERVER_ROOT=https://ooo-svn.osuosl.org

Revision as of 11:02, 15 August 2006

How To CWS using Subversion

NB: This page is about working with the OpenOffice.org ChildWorkSpace (CWS) commit process using Subversion as the version control system. The workflow described here is used by many community developers but some Sun engineers might find it interesting as well.

Quickstart

Workflow

Prerquisites: You have your CWS system setup for Subversion support and a MixedTree without the sc module.

1  export CWS_WORK_STAMP=<your_username>svntest01
2  cwscreate -s SRC680 m180 $CWS_WORK_STAMP
3  cwsadd -c sc
4  echo // Replace this with hacking| cat sc/source/filter/excel/biffdump.cxx -
5  cwsresync -m m181 sc
6  mkdir /tmp/__analyze_$(CWS_WORK_STAMP); cd /tmp/__analyze_$(CWS_WORK_STAMP)
7  cwsanalyze sc

Setup for existing CWS users

  1. Install Subversion from the Subversion site or use the one included with your distribution. Warning: Cygwin SVN is broken and will not work!.
  2. Add these lines to your .cwsrc:
# Subversion server root
SVN_SERVER_ROOT=https://ooo-svn.osuosl.org
Personal tools