Re: Xcode (3.1), Subversion, and multiple source trees
Re: Xcode (3.1), Subversion, and multiple source trees
- Subject: Re: Xcode (3.1), Subversion, and multiple source trees
- From: "Doug Knowles" <email@hidden>
- Date: Mon, 15 Sep 2008 09:59:19 -0400
Simon,
Thanks for the tip. Once I read the doc (and had a context for it), svn:externals was quite simple to set up.
I also had to re-configure the projects scattered throughout my source tree to use a common root directory (MacRoot), but once done, everyone working on the project was ready to go.
Thanks again!
Doug Knowles
On Tue, Sep 9, 2008 at 10:24 AM, Simon Wilson
<email@hidden> wrote:
Doug,
As I understand it, to achieve this, we would need to re-organize our Subversion repository to move the two source trees under a common root directory. The only way I can see to do this is to create a branch of the XplatformRoot subtree
Have you looked into using svn:externals references to pull the XplatformRoot projects into your MacRoot working copy?
Regards,
Simon Wilson
http://www.zennaware.com
Subversion Client for Mac OS X
On Sep 9, 2008, at 16:16:08, Doug Knowles wrote:
Hi, all,
I'm working on an application with multiple Xcode projects and two distinct source trees: a Mac-specific tree and a common cross-platform tree, something like this:
XplatformRoot
. frameworkLib
. utilLib
. systemLib
MacRoot
. apps
. . desktopApp
. . . desktopApp.xcodeproj
. . auxApp
. . . auxApp.xcodeProj
. frameworkLib
. . framework.xcodeproj
. utilLib
. . util.xcodeproj
. systemLib
. . system.xcodeproj
The projects in the MacRoot tree include sources from the XplatformRoot tree as needed.
We'd like to manage the source with Subversion via Xcode, but apparently Xcode only works on the current project source tree. I found a couple of threads from last year that suggested that we could re-define the project root(s) as the common parent directory of XplatformRoot and MacRoot, but apparently that common parent directory has to be a Subversion working directory as well.
As I understand it, to achieve this, we would need to re-organize our Subversion repository to move the two source trees under a common root directory. The only way I can see to do this is to create a branch of the XplatformRoot subtree (which needs to stand alone in our repository), and keep the branch in sync with the cross-platform truck via merging.
Is this the right approach? Or am I missing an easier solution?
TIA,
Doug Knowles
_______________________________________________
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
_______________________________________________
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