ant-user mailing list archives

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

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@10.78.0.101:/usr/cvsroot" 
passfile=".cvspass" command="commit -m [[replace this with your 
comment]]Project1" />


or

<cvs cvsroot=":pserver:username@10.78.0.101:/usr/cvsroot" passfile=".cvspass" command="commit
Project1"> 

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

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

/t


Zakaria khabot wrote:

>Hi,
>When I try to execute the task :
><cvs cvsroot=":pserver:username@10.78.0.101:/usr/cvsroot" passfile=".cvspass" command="commit
Project1" /> 
>
>NotePad is opened containing this text :
>
>CVS: ----------------------------------------------------------------------
>CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
>CVS: 
>CVS: Committing in .
>CVS: 
>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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message