• 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: touching files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: touching files


  • Subject: Re: touching files
  • From: Chris Espinosa <email@hidden>
  • Date: Fri, 24 Feb 2006 07:32:54 -0800

On Feb 24, 2006, at 2:43 AM, Niels Bogaards wrote:

I don't understand the Touch function you find in the contextual menu for project files. As far as I understood touch, it should tell the IDE that at least that file needs to be recompiled (and it should be smart enough to notice that files that include the touched file also are dirty). However, in XCode (2.2.1) I can touch as much as I want, but only actually modifying the file will trigger a recompile.


If the Touch command isn't working for you, please file a bug with specific steps of how you're trying to use it.  Note that currently Touch only works with source files, not headers, resources, etc. that may be processed by Xcode, but not compiled by gcc.

Is there another way to signal to XCode a file needs to be compiled? (and ofcourse I don't really want to be touching files by hand, but XCode often misses dirty files when they are updated from cvs)


It's possible that if your SCM operation is restoring the file to a version that has a timestamp earlier than the last successful build, then that might clear the dirty flag and cause what you're seeing.  But step-by-step instructions on how to reproduce would be a great help.

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

  • Follow-Ups:
    • Re: touching files
      • From: Niels Bogaards <email@hidden>
    • Re: touching files
      • From: Andreas Mayer <email@hidden>
References: 
 >touching files (From: Niels Bogaards <email@hidden>)

  • Prev by Date: Re: ppc i386
  • Next by Date: Re: touching files
  • Previous by thread: touching files
  • Next by thread: Re: touching files
  • Index(es):
    • Date
    • Thread