Re: Time machine does not save the build folder
Re: Time machine does not save the build folder
- Subject: Re: Time machine does not save the build folder
- From: Eric Slosser <email@hidden>
- Date: Wed, 5 Nov 2008 22:14:45 -0500
On Nov 5, 2008, at 4:56 PM, turbo3d wrote:
Thanks eric
but I am not very familiar with scripting language.
Would you be kind enough to provide me the text of a script that
copies the build product (either Development or Deployment)
to the path "$(SRCROOT)/MYBUILDS\//DEV" for Developement build
and to the path "$(SRCROOT)/MYBUILDS/MYBUILDS\//REL" for Deployment
build
Try the following. If it doesn't work, then read the man pages on
'cp' and 'rm' and/or ask the Xcode-users list for help (ie, I don't
have time to debug it).
#!/bin/bash
rm -fR $SRCROOT/MYBUILDS/$BUILD_STYLE/$PRODUCT_NAME
mkdir -p $SRCROOT/MYBUILDS/$BUILD_STYLE
cp -fR $BUILD_DIR/$BUILD_STYLE/$PRODUCT_NAME $SRCROOT/MYBUILDS/
$BUILD_STYLE
Good luck.
Thanks a lot
JP
Le 5 nov. 08 à 22:23, Eric Slosser a écrit :
On Nov 5, 2008, at 3:19 PM, turbo3d wrote:
So the question is still pending and generalized : Does XCode
3.1.1 marks all the folders it writes into as TM disabled ?
A: No.
Create a run script build phrase, copy your build from $BUILD_DIR/
$BUILD_STYLE to some other place.
If your script uses mkdir to create that place, or that place
already exists, it's not tagged with the com.apple.XcodeGenerated
attribute.
Use "ls -@d <some other place>" to confirm.
_______________________________________________
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