ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From RADEMAKERS Tanguy <>
Subject Re: Executing cvs commit
Date Thu, 04 Mar 2004 10:42:53 GMT

CVS wants a comment to annotate the commit. You can override interactive 
comments by specifiying the -m [message] flag when you commit - try this:

<cvs cvsroot=":pserver:username@" 
passfile=".cvspass" command="commit -m [[replace this with your 
comment]]Project1" />


<cvs cvsroot=":pserver:username@" passfile=".cvspass" command="commit

    <argument value="-m"/>
    <argument value="[[replace this with your comment]]"/>

not too sure if option two will work as normally the -m flag is set 
before the list of commited files


Zakaria khabot wrote:

>When I try to execute the task :
><cvs cvsroot=":pserver:username@" passfile=".cvspass" command="commit
Project1" /> 
>NotePad is opened containing this text :
>CVS: ----------------------------------------------------------------------
>CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
>CVS: Committing in .
>CVS: Modified Files:
>CVS:  WEB-INF/lib/test.jar 
>CVS: ----------------------------------------------------------------------
>When I close the NotePad I receive this message : 
>[cvs] Log message unchanged or not specified
>[cvs] a)bort, c)ontinue, e)dit, !)reuse this message unchanged for remaining dirs
>The "commit" isn't terminated. I don't know what's the problem.
>Can anyone help me. Thanks

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message