ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kasparek, Bernadette" <Bernadette.Kaspa...@bayernlb.de>
Subject AW: Commit changes in CVS
Date Mon, 28 Feb 2005 09:28:16 GMT
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