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

Re: [Subclipse-users] SVNANT

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-02-01 17:37:38 CET

On 2/1/07, Corbin, Keith <Keith.Corbin@philips.com> wrote:
>
> I am using SVN ANT and when I try to export binary files to a directory
> that already has the files I get the following error.
>
>
> Can't move
> '\\qawinwlsl1\d$\bea_domains\ebs9\servers\cpc2L1Managed\app\lib\jaxb-
> api.jar.tmp' to
> '\\qawinwlsl1\d$\bea_domains\ebs9\servers\cpc2L1Managed\app\lib\jaxb-
> api.jar': Cannot create a file when that file already exists
>
> I have used the undocumented force feature, which works perfectly for text
> based files, but for binaries it still fails.
>
> Here is my ant task
>
> <export srcUrl="http://devwinsvnl1/svn/lisa/CPC/lib/tags/${LABEL<http://devwinsvnl1/svn/lisa/CPC/lib/tags/$%7BLABEL>}"
> destPath="${serverAppPath1}/lib" force="true" />
>

Never used svnant, but I have written a lot of svnClientAdapter which it
uses. In theory, as long as the force flag is being passed through to the
underlying API, the rest is out of our hands. The actual work is done by
the Subversion API you are using -- either the command line, JavaHL or
SVNKit. All we do is pass the information to the API, It does the rest.

I'd try this using the command line and see if it also has a problem.

Thanks

Mark Phippard
http://markphip.blogspot.com/
Received on Thu Feb 1 17:38:03 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.