Interface builder bug with WebObjects and subversion
Interface builder bug with WebObjects and subversion
- Subject: Interface builder bug with WebObjects and subversion
- From: Ryan Poling <email@hidden>
- Date: Thu, 1 Sep 2005 14:59:22 -0700
FYI: in case anyone else out there is trying to use subversion with a
java client application, the following bug report I filed with apple
may be of some interest.
Summary:
Projects under version control with subversion place a '.svn'
directory inside every directory being managed. Earlier versions of
Interface Builder apparently removed the .svn directory at the top
level of the nib file upon save. Although this bug has been
corrected, a similar bug still exists when used in conjunction with
WebObjects.
When saving a nib for a 'Java Client' WebObjects program, a directory
structure is created within the nib file to store the Java code
translation of the interface. Unfortunately, every time the nib is
saved, this directory structure is recreated from scratch which
removes all of the .svn directories within it. This makes it very
difficult to use subversion (or any other non wrapper source code
management tool) with Interface Builder. Please alter this in some
way which preserves the .svn directories!
Steps to Reproduce:
1. Take a Java Client WebObjects application using nib files and
import it into a subversion repository.
2. Check out a new copy of the project from the repository.
3. Open a nib file (you may need to issue 'chmod -R u+w *.nib' first
in order to correct another bug).
4. Make a small change and save the nib.
5. Note that the .svn directories in all of the subdirectories
leading down to the '_WhateverInterfaceController_EOArchive.java'
file have been deleted.
6. Issue an 'svn status' command and note that the status is listed
as '~' for the top level of this directory structure. It is no longer
possible to commit changes to this EOArchive.java file.
Expected Results:
The .svn directories should not be deleted.
Actual Results:
The .svn directories are deleted.
Regression:
Only tested with the latest version of Interface Builder (2.5.1
(439)) and subversion (version 1.2.3). From what I've read, I imagine
this problem is present in all versions of Interface Builder.
Notes:
The only work around I can think of would be to zip the nib files and
commit only those zip files instead of the actual nib files.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden