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

Re: svn and ant

From: JP Fiset <jp_at_fiset.ca>
Date: 2005-09-16 16:24:46 CEST

When deleting the directory, you end up deleting all .svn
subdirectories. This is what upsets subversion. Just delete the actual
files, not the directories. Do not delete anything in **/.svn/*.*

It should look something like:

<delete>
    <fileset dir="directory">
       <include name="**/*.*"/>
       <exclude name="**/.svn/*.*"/>
    </fileset>
</delete>

Dave Pawson wrote:

>running an ant script,
> I delete a directory
> .... trunk/documentation
>the generate content in it using the ant script.
>
>when I try to commit this, svn gets upset.
> I have to delete the directory, update, then generate files
> which overwrite the directory contents.
>
>I can then commit OK.
>
>Is there anyway round this please?
>svn add trunk/documentation fails too.
>
>regards
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 16 16:26:46 2005

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