ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Commit changes in CVS
Date Tue, 01 Mar 2005 07:51:52 GMT
without deeper knowledge about <cvs> I suppose that your cvs command
    checkout -r ${cvs.tag.prefix}-${cvs.tag.complete} ${cvs.module}
must be splitted into "command" and several <arg>s ...


Jan

> -----Urspr√ľngliche Nachricht-----
> Von: Kasparek, Bernadette [mailto:Bernadette.Kasparek@bayernlb.de]
> Gesendet am: Montag, 28. Februar 2005 10:28
> An: 'Ant Users List'
> Betreff: AW: Commit changes in CVS
> 
> Hi,
> 
> This doesn't work. I get the following Error message:
> [cvs] cvs [commit aborted]: there is no version here; do 'cvs 
> checkout'
> first
> 
> I have the following calls:
> 
> <target name="checkout">
> 	<cvs 	cvsRoot="${cvspath}"
> 		command="checkout -r 
> ${cvs.tag.prefix}-${cvs.tag.complete}
> ${cvs.module}"
>        	dest="${build.dir.hbciclient.complete}"
>        	compression="true"
>        	compressionlevel="9"
>        	failonerror="true"
>        	quiet="true">
>        </cvs>
> </target> 
> 
> <target name="do-something">
> ... Change some files from Checkout
> </target>
> 
> <target name="checkin" depends="do-something">
> 	<cvs 	cvsRoot="${cvspath}" 
> 		command="commit">
>   	</cvs>
> </target>
> 
> ant checkout -> works
> ant checkin -> [cvs] cvs [commit aborted]: there is no 
> version here; do 'cvs
> checkout' first
> 
> What can I do?
> 
> Thanks, 
> 
> Bernadette
> 
> -----Urspr√ľngliche Nachricht-----
> Von: Stefan Bodewig [mailto:bodewig@apache.org] 
> Gesendet: Freitag, 25. Februar 2005 16:35
> An: user@ant.apache.org
> Betreff: Re: Commit changes in CVS
> 
> On Fri, 25 Feb 2005, Bernadette Kasparek
> <Bernadette.Kasparek@bayernlb.de> wrote:
> 
> > Now want to commit these changes to CVS. How can I do this?
> 
> <cvs ... command="commit">
>   <arg value="-m"/>
>   <arg value="your commit message goes here"/>
> </cvs>
> 
> > Is there a way to compare only one dir of the module?
> 
> compare to what?  Using the diff command with a -l command line
> argument should work.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message