Cernunnos Manual


<cvs-commit>

Description:

Perfoms a CVS commit operation.

Reagents:

Name XPath Description Reagent Type Expected Type Required
CLIENT @client Optional Client object to use in performing this commit. If omitted, the value of the 'CvsAttributes.CLIENT' request attribute will be used. PHRASE org.netbeans.lib.cvsclient.Client No
CVSROOT @cvsroot Optional CVSRoot string for preparing the GlobalOptions (e.g. ':pserver:user@host:/usr/local/cvsroot'). If omitted, the value of the 'CvsAttributes.CVSROOT' request attribute will be used. PHRASE java.lang.String No
LOCAL_PATH @local-path Path expression indicating the directory where the application is logically working from. PHRASE java.lang.String Yes
FILES @files Either a List of String objects or a single String indicating the files to commit. If RECURSE is 'true' (default), each directory specified will also have its entire contents removed. PHRASE java.lang.Object Yes
RECURSE @recurse Optional Boolean expression specifying whether to commit these FILES recursively or not. The default is Boolean.TRUE. PHRASE java.lang.Boolean No
MESSAGE @message Optional message to include with the CVS commit. PHRASE java.lang.String No

Examples:

Commits the 'MyClass.java' file within the CVS module checked out to '/usr/local/person' with the message 'Fixing a bug':

 
       
        <cvs-client cvsroot=":pserver:user@host:/usr/local/cvsroot" encoded-password="change^me"> 
          <cvs-commit files="MyClass.java" local-path="/usr/local/person" message="Fixing a bug"/> 
        </cvs-client>