Skip to content

Metabolomics Fiehn Lab

Sections
Personal tools
You are here: Home » Members » Martin Scholz » Development » Java » ant cvs commit with comment

ant cvs commit with comment

Document Actions
The following target is quiet simple, but very useful for checking a large set of files into cvs and adding a comment to each commit by using ant.

    <target name="commit" description="check the modified, registrated files into the cvs">
        <input message="Please enter CVS comment:" addproperty="cvsComment"/>
        <property name="promptTimeout" value="10"/>
        <cvs cvsRsh="plink" cvsRoot="scholz@xxxx:/xxx/CVS" package="m3" dest=".." command="commit -m '${cvsComment}'" quiet="true"/>
    </target>



Created by zwluxx
Last modified 2005-06-20 03:49 PM
 

Powered by Plone

This site conforms to the following standards: