Re: Subversion and Interface Builder
+1 for Mercurial. I use it regularly with iPhone and Mac development and have never had a problem. http://mercurial.berkwood.com/ - scroll for the Mac version. -Luther On Fri, Sep 11, 2009 at 10:26 AM, Jens Alfke j...@mooseyard.com wrote: On Sep 11, 2009, at 1:10 AM, Alexander Hartner wrote: Thanks for all the feedback on this. Have there been any new development with 10.6 in this regard. The .xib file format was added in 10.5 — it's a flat file, so no problems with directory versioning. You should switch to using that. I wonder what Apple themselves are using for version control ? SVN. (And FYI, most of the more modern distributed version-control systems like Mercurial and Git have learned their lesson and put their metadata in a single directory at the root, instead of splatting invisible directories all through your project hierarchy.) —Jens___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/lutherbaker%40gmail.com This email sent to lutherba...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Subversion and Interface Builder
Am 28.08.2009 um 01:04 schrieb Alexander Hartner: For some time now I have been struggling with interface builder's NIB files and subversion. Every time I localise the .svn folder seem to be removed or get broken in other ways. You must be missing something else. We're using NIBs and SVN together, and it's working just fine. Xcode has long ago been revved to be aware of .svn folders and similar things, and just transparently carries them along into the newly-saved file. Make sure you're using the newest version of Xcode (or at least the newest version intended for use with whatever version of MacOS X you're using) and a plain, vanilla SVN, not any modified or branched version that might somehow confuse Xcode. Also, you of course need to watch out for certain things, like copying NIBs (because then you're copying the .svn folder, which means it'll be treated as a separate checkout of the same folder, not as a copy, so if you check in changes to that, it'll go to the original folder and lead to conflicts or other screwiness). But I'm befuddled at what you're seeing. I think Xcode was still called Project Builder when they made that work with NIBs, .xcodeproj files etc. Cheers, -- Uli Kusterer The Witnesses of TeachText are everywhere... http://www.zathras.de ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Subversion and Interface Builder
On Aug 27, 2009, at 7:04 PM, Alexander Hartner wrote: Every time I localise the .svn folder seem to be removed or get broken in other ways. I don't know much about localization, but can you spell out exactly how you're doing it? It seems odd to me that sometimes the .svn folder would be removed and sometimes broken in other ways. --Andy ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Subversion and Interface Builder
Thanks for all the feedback on this. Have there been any new development with 10.6 in this regard. I wonder what Apple themselves are using for version control ? Thanks in advance Alex On 28 Aug 2009, at 00:04, Alexander Hartner wrote: For some time now I have been struggling with interface builder's NIB files and subversion. Every time I localise the .svn folder seem to be removed or get broken in other ways. I had a look online and found the suggestion below. Since this link is a little dated I am wondering if there are other solutions available. RTFD and pages files are also suffering similar issues as NIB files. As it stands now subversion does not work for me at all. If not subversion what other collaborative development tools do you suggest / use ? http://jerakeen.org/code/subversion_and_interface_builder/ The .svn folder vanishes (Working copy 'MainMenu.nib' not locked) It turns out that whenever you save a folder, IB will move the existing .nib file out the way, and create a new one, instead of changing the files in the folder. It'll keep the old version as a backup, if you have 'create backup files' turned on, or throw it away if not, but the crucial problem is that the newly-created folder doesn't have a .svn folder in it, and so subversion will get confused. Fortunately, there was this same problem with CVS, and so there's a (panther-only, apparently) fix for it - we tell XCode/IB that .svn files are also version control files, and should be special. $ defaults write com.apple.InterfaceBuilder \ VersionControlDirectory (CVS, .svn) Now IB knows that it must keep the .svn folder from the old copy of the nib, and put it in the new copy as well. I hate computers. But these two fixes have solved my immediate problem. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/alex%40j2anywhere.com This email sent to a...@j2anywhere.com smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Subversion and Interface Builder
On Sep 11, 2009, at 1:10 AM, Alexander Hartner wrote: Thanks for all the feedback on this. Have there been any new development with 10.6 in this regard. The .xib file format was added in 10.5 — it's a flat file, so no problems with directory versioning. You should switch to using that. I wonder what Apple themselves are using for version control ? SVN. (And FYI, most of the more modern distributed version-control systems like Mercurial and Git have learned their lesson and put their metadata in a single directory at the root, instead of splatting invisible directories all through your project hierarchy.) —Jens___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Subversion and Interface Builder
For some time now I have been struggling with interface builder's NIB files and subversion. Every time I localise the .svn folder seem to be removed or get broken in other ways. I had a look online and found the suggestion below. Since this link is a little dated I am wondering if there are other solutions available. RTFD and pages files are also suffering similar issues as NIB files. As it stands now subversion does not work for me at all. If not subversion what other collaborative development tools do you suggest / use ? http://jerakeen.org/code/subversion_and_interface_builder/ The .svn folder vanishes (Working copy 'MainMenu.nib' not locked) It turns out that whenever you save a folder, IB will move the existing .nib file out the way, and create a new one, instead of changing the files in the folder. It'll keep the old version as a backup, if you have 'create backup files' turned on, or throw it away if not, but the crucial problem is that the newly-created folder doesn't have a .svn folder in it, and so subversion will get confused. Fortunately, there was this same problem with CVS, and so there's a (panther-only, apparently) fix for it - we tell XCode/IB that .svn files are also version control files, and should be special. $ defaults write com.apple.InterfaceBuilder \ VersionControlDirectory (CVS, .svn) Now IB knows that it must keep the .svn folder from the old copy of the nib, and put it in the new copy as well. I hate computers. But these two fixes have solved my immediate problem. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Subversion and Interface Builder
Subversion (and CVS) create .svn/.cvs folders inside every folder in your hierarchy. I'd recommend a different version control system that creates one dot folder at the top of your hierarchy like Git or Mercurial. On Thu, Aug 27, 2009 at 5:04 PM, Alexander Hartner a...@j2anywhere.comwrote: For some time now I have been struggling with interface builder's NIB files and subversion. Every time I localise the .svn folder seem to be removed or get broken in other ways. I had a look online and found the suggestion below. Since this link is a little dated I am wondering if there are other solutions available. RTFD and pages files are also suffering similar issues as NIB files. As it stands now subversion does not work for me at all. If not subversion what other collaborative development tools do you suggest / use ? http://jerakeen.org/code/subversion_and_interface_builder/ The .svn folder vanishes (Working copy 'MainMenu.nib' not locked) It turns out that whenever you save a folder, IB will move the existing .nib file out the way, and create a new one, instead of changing the files in the folder. It'll keep the old version as a backup, if you have 'create backup files' turned on, or throw it away if not, but the crucial problem is that the newly-created folder doesn't have a .svn folder in it, and so subversion will get confused. Fortunately, there was this same problem with CVS, and so there's a (panther-only, apparently) fix for it - we tell XCode/IB that .svn files are also version control files, and should be special. $ defaults write com.apple.InterfaceBuilder \ VersionControlDirectory (CVS, .svn) Now IB knows that it must keep the .svn folder from the old copy of the nib, and put it in the new copy as well. I hate computers. But these two fixes have solved my immediate problem. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/jsallis%40gmail.com This email sent to jsal...@gmail.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Subversion and Interface Builder
Use XIB? --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com