[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[Subclipse-users] Problem with svnant?

From: Zoe Slattery <zoe.slattery_at_googlemail.com>
Date: 2007-06-28 18:39:00 CEST

Hi
I'm having a problem using the svnant task, I'm not sure where the
problem is so I'm starting with this list :-). My SVN client level is
1.3.2 and I'm using the svnant-1.0.0.zip with Apache Ant 1.6.5. This is
all running on Linux (Fedora Core 4).

The problematic lines in my ant task are:

<target name = "checkin" depends = "copy" if="run_on_linux_only">
            <!-- Add and commit files into SVN -->
            <svn username="*******" password="*******">
                  <add>
                        <fileset dir = "${src}/latest">
                        </fileset>
                  </add>
                  <commit message = "updating source" dir =
"${src}/latest" />
            </svn>
            <echo message="Checked source files into SVN"
level="info"/>
      </target>

there are a fairly large number of files (a few thousand) and at some
stage though the check-in I get this failure:

Revision: 9847
Node Kind: file
Schedule: normal
Last Changed Author: build
Last Changed Rev: 9844
Last Changed Date: 2007-06-28 14:49:38 +0100 (Thu, 28 Jun 2007)
Text Last Updated: 2007-06-28 13:33:14 +0100 (Thu, 28 Jun 2007)
Checksum: eb2b9b76b0fd3e9ec030629c81521e63
      [svn] [Fatal Error] :-1:-1: Premature end of file.

This isn't associated with any particular file - it's a different one
each time. I have tried splitting the check-in into smaller chunks and
still get the same problem - although the script works fine on a small
test directory with 10 files.

Any ideas appreciated.

Zoe Slattery
IBM

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu Jun 28 18:39:26 2007

This is an archived mail posted to the Subclipse Users mailing list.