Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XCode compile problems



On Nov 15, 2007, at 12:47 PM, Doug Zwick wrote:

Scott Forbes wrote:

Also I found that the source files can't be renamed or deleted
through the project window-- they must be changed in the Finder and
then have the src folder closed and reopened in the project to see
the changes.

This can occur in XCode 2.x as well, depending on whether or not "Folder References" were used when adding the source files to the project. If you selected "Recursively create groups for any added folders" you *can* edit file names through the XCode GUI, if you selected "Create Folder References for any added folders" you must use the Finder. With Folder References the contents of any folders are dynamically updated in XCode, which I find very useful with code stored in a SCM system (e.g. cvs, svn) and worked on my multiple developers (any files added or removed by others on the project are automatically picked up by XCode). With "Recursively create groups" the set of files known by XCode is static, determined when you added the files. Any changes occurring via the Finder, Terminal, SCM, etc. must be done manually in XCode.


In XCode 2.x, "Recursively create groups..." is the default. Perhaps they changed the default in XCode 3? I haven't switched over to XCode 3 yet, so I'm just speaking from my experience with XCode 2.x.

I also see this in XCode 2 Ant-based projects. The src folder is created automatically and there doesn't appear to be a way to set its Folder References state. I see the rationale for having it auto-update the src folder, but what I don't understand is why the delete/rename functionality was removed here, since the ability exists for other types of projects and it's allowed from the outside in any case. This and the build.xml version are relatively minor problems, but they do affect usability "right out of the box". I've filed bugs.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >Re: XCode compile problems (From: Doug Zwick <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.