Re: problem: deleting .svn directories with geant

Eric Bezault <ericb-D6Qt/9opevxWk0Htik3J/[email protected]> Wed, 08 Aug 2007 17:17:50 +0200
Newsgroups gmane.comp.lang.eiffel.gobo.general
Message-ID <[email protected]>
Andreas Leitner wrote:
> Dear all:
> 
> I am trying to get geant to delete all .svn directories in a project.
>>From the root Gobo build.eant script I found the excerpt:
> 
> <delete>
>   <directoryset directory="." include="@(**/.svn)"/>
> </delete>
> 
> When I run it I get:
> 
> ----
> F:\src\erl_g>geant delivery
>   [delete] error: cannot delete directory '.svn'
> ----
> 
> I couldn't find any documentation on the directoryset element, so maybe
> somebody here knows what the correct script would look like.

I had the same problem when I built the last delivery
of Gobo. I think that the problem is that the .svn
directories are read-only. The CVS directories used to
be read-write. And there is no functionality in the Gobo
file classes to change the permissions of files ;-(
That's why I asked you to use 'svn export' and not
'svn checkout' when I asked you to built the delivery
of Gobo on Linux, do you remember?

BTW, does anyone want to boycott this yahoo mailing list ;-)

-- 
Eric Bezault
mailto:ericb-D6Qt/9opevxWk0Htik3J/[email protected]
http://www.gobosoft.com