I think I tried this one and found it did not work with my Sphinx (either the logic does not work or mine was too old).
On 22/08/10 20:37, Jody Garnett wrote: > I found the following in the docs... > > exclude_patterns = ['**/.svn'] > > Jody > > On 16/07/2010, at 1:36 PM, Ben Caradoc-Davies wrote: > >> On 15/07/10 23:25, Justin Deoliveira wrote: >>> Alternatively can we just have ant delete all .svn files under the >>> target directory. >> >> Don't think this will work. Looks like sphinx copies and then attempts >> to delete all the files in one run. Ant will not get a word in. >> >>> Sorry trying to keep up on this one. The problem is that the .svn are >>> being copied to the target directory and can't be deleted on windows? >>> Can somone give me a quick summary? Thanks :) >> >> Yes. Python on Windows will not delete read-only files. >> >> Earlier in this thread I wrote: >> "No use of exclude_dirnames ( http://sphinx.pocoo.org/config.html ) will >> ever fix this, because copy_static_entry() in sphinx/util/__init__.py >> only checks the top-level directory name (for example >> docs/tutorial/../themes/geotools-tutorial/static/img) before calling >> shutil.copytree(), which copies everything inside img including .svn ." >> >> I'm not sure where the deletion occurs. Perhaps a copy from another >> static directory. triggering tree removal of an existing target .svn? >> >> Kind regards, >> >> -- >> Ben Caradoc-Davies<ben.caradoc-dav...@csiro.au> >> Software Engineering Team Leader >> CSIRO Earth Science and Resource Engineering >> Australian Resources Research Centre >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by Sprint >> What will you do first with EVO, the first 4G phone? >> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first >> _______________________________________________ >> Geotools-devel mailing list >> Geotools-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geotools-devel > > -- Ben Caradoc-Davies <ben.caradoc-dav...@csiro.au> Software Engineering Team Leader CSIRO Earth Science and Resource Engineering Australian Resources Research Centre ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel