• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How do I make XCode skip .svn directories on install?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >How do I make XCode skip .svn directories on install? (From: Mike Laster <email@hidden>)

  • Prev by Date: Re: Using mshark files - saved shark data
  • Next by Date: Linking can't find library in Deployment build
  • Previous by thread: How do I make XCode skip .svn directories on install?
  • Next by thread: Uncaught exception trying to create a project
  • Index(es):
    • Date
    • Thread