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:[EMAIL PROTECTED] 
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
<[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to