• 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: Solved. Re: updating help-book in Xcode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Solved. Re: updating help-book in Xcode


  • Subject: Re: Solved. Re: updating help-book in Xcode
  • From: John Velman <email@hidden>
  • Date: Wed, 22 Jul 2009 20:44:26 -0700
  • Mail-followup-to: John Velman <email@hidden>, Xcode Users List <email@hidden>

On Wed, Jul 22, 2009 at 11:59:33AM -0700, Chris Espinosa wrote:
>
> On Jul 22, 2009, at 10:32 AM, John Velman wrote:
>
>> Thanks to all who answered.   A couple of messages stimulated my thinking,
>> and I've found what seems to be a simple approach.
>>
>> Under targets, select the blue help folder, and press compile!  This is
>> simple enough for me, and is a lot better than "clean".  When I understand
>> Xcode better, probably this could be put into a script.  But I can do it
>> by
>> hand easily enough for now.
>
> I'm extremely curious as to why this actually works for you.

What can I say.  It worked.  I confess to not being much of an Xcode
expert.  I've read much of Anderson's book -- at least the part's I've
needed so far :-).
>
> The root cause of the problem, as already mentioned, is that Xcode treats
> the folder reference (blue folder) as an atomic item, and copies its
> contents in an all-or-nothing fashion.  It only checks the modification
> date of the folder itself, not of the individual files in it.  So if you
> add or remove files from the folder, it will be re-copied on the next
> build, but if you simply edit the contents of a file in it, Xcode will not
> just copy that one updated file.


I'll try the bash 'touch'.  I tried the Xcode menu 'touch' and it didn't
seem to make any difference.

>
> I don't know of any mechanism whereby selecting the folder and choosing
> Compile would do what you're asking, but I'll poke around and see if
> there's some obscure mechanism that does it.
>
> The best way is to use the Terminal and enter "touch
> /full/path/to/the/helpbook/folder" to mark the folder as changed, then
> Xcode will recopy the folder without having to do a full clean.
>
> Chris

Best,

John V.
 _______________________________________________
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

  • Follow-Ups:
    • Re: Solved. Re: updating help-book in Xcode
      • From: Marco S Hyman <email@hidden>
References: 
 >updating help-book in Xcode (From: John Velman <email@hidden>)
 >Solved. Re: updating help-book in Xcode (From: John Velman <email@hidden>)
 >Re: Solved. Re: updating help-book in Xcode (From: Chris Espinosa <email@hidden>)

  • Prev by Date: Re: Build Configuration Enhancement (Re: How to create dependent projects?)
  • Next by Date: Re: Solved. Re: updating help-book in Xcode
  • Previous by thread: Re: Solved. Re: updating help-book in Xcode
  • Next by thread: Re: Solved. Re: updating help-book in Xcode
  • Index(es):
    • Date
    • Thread