ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zakaria khabot" <z.kha...@ced.mfie.gov.ma>
Subject Re: Executing cvs commit
Date Thu, 04 Mar 2004 11:41:13 GMT
Hi,
the chs task doesn't have a nested tag "argument".
how to insert a text message in the iask?
when I put :
<property name="msg" value="commit de version 3" />

<cvs cvsroot=":pserver:username@10.78.0.101:/usr/cvsroot"
passfile=".cvspass" command="commit -m ${msg} Project" />

I receive the following error :

[cvs] cvs commit: nothing known about `de'

[cvs] cvs commit: nothing known about `version'

[cvs] cvs commit: nothing known about `3'

[cvs] cvs [commit aborted]: correct above errors first!

How to insert a messafe whithout using a file (-F file) ???

----- Original Message -----
From: "RADEMAKERS Tanguy" <tanguy.rademakers@swift.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Thursday, March 04, 2004 10:42 AM
Subject: Re: Executing cvs commit


> 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
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message