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