Re: How do I make XCode skip .svn directories on install?
Re: How do I make XCode skip .svn directories on install?
- Subject: Re: How do I make XCode skip .svn directories on install?
- From: Chris Espinosa <email@hidden>
- Date: Fri, 11 Mar 2005 10:58:49 -0800
On Mar 11, 2005, at 8:53 AM, Mike Laster wrote:
I have a project with folder resources that get installed into the
resource folder of the app. We recently migrated from CVS to
Subversion and I noticed that the folders have .svn folder inside
of them now, even though when we used CVS the CVS folder
was never installed.
Looking at the documentation there is a special
REMOVE_CVS_FROM_RESOURCES flag that causes PBXCp to be run with
-exclude CVS. Is there any build settings to get PBXCp to add -
exclude .svn when copying resources?
A REMOVE_SVN_FROM_RESOURCES build setting has been added in Xcode
2.0. You can work around this in Xcode 1.5 by adding a Shell Script
build phase after the Copy Resources build phase and using this shell
script fu:
find -X $BUILT_PRODUCTS_DIR/$UNLOCALIZED_RESOURCES_FOLDER_PATH -type
d -name ".svn" -print0 | xargs -0 rm -R
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden