You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Wadsworth, Eric (Contractor)" <wa...@fhu.disa.mil> on 2003/08/15 21:07:32 UTC
Stripping .svn directories
Anyone know a good way to automate a recursive delete of .svn subdirectories
from a tree on the Win2k platform?
The build process for my java project has a step that creates a .war file
(Web ARchive) from a directory tree, and I'd rather not deploy a bunch of
.svn directories along with the product. So I'll need to make a step to copy
the tree to a temprary place, strip the .svn stuff, then use that as the
source.
Thanks!
--- Eric
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Stripping .svn directories
Posted by Scott Lamb <sl...@slamb.org>.
Wadsworth, Eric (Contractor) wrote:
> The build process for my java project has a step that creates a .war file
> (Web ARchive) from a directory tree, and I'd rather not deploy a bunch of
> .svn directories along with the product. So I'll need to make a step to copy
> the tree to a temprary place, strip the .svn stuff, then use that as the
> source.
Are you using ant? Anything recent should strip out .svn automatically.
I sent in a patch over a year ago to add it to the default excludes, and
they applied it with 1.5 or something.
Scott
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
[OT] Re: Stripping .svn directories
Posted by François Beausoleil <fb...@users.sourceforge.net>.
Have you forgotten that the war task can accept a fileset ? And the
fileset can accept a exclude name="**/.svn/**" ?
Hope that helps,
François
Wadsworth, Eric (Contractor) wrote:
> Anyone know a good way to automate a recursive delete of .svn subdirectories
> from a tree on the Win2k platform?
>
> The build process for my java project has a step that creates a .war file
> (Web ARchive) from a directory tree, and I'd rather not deploy a bunch of
> .svn directories along with the product. So I'll need to make a step to copy
> the tree to a temprary place, strip the .svn stuff, then use that as the
> source.
>
> Thanks!
>
> --- Eric
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Stripping .svn directories
Posted by Ben Collins-Sussman <su...@collab.net>.
"Wadsworth, Eric (Contractor)" <wa...@fhu.disa.mil> writes:
> Anyone know a good way to automate a recursive delete of .svn subdirectories
> from a tree on the Win2k platform?
>
> The build process for my java project has a step that creates a .war file
> (Web ARchive) from a directory tree, and I'd rather not deploy a bunch of
> .svn directories along with the product. So I'll need to make a step to copy
> the tree to a temprary place, strip the .svn stuff, then use that as the
> source.
Wanna try 'svn export' instead? :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org