Re: X-Code and Subversion
Re: X-Code and Subversion
- Subject: Re: X-Code and Subversion
- From: David Blanton <email@hidden>
- Date: Fri, 12 Jun 2009 12:49:51 -0600
NIce description now,
how , what, when is the project established in ~/src/Projname ...
On Jun 12, 2009, at 11:15 AM, Jack Repenning wrote:
On Jun 12, 2009, at 12:31 AM, Clark Williams wrote:
Does anyone know of a good tutorial for creating a SVN project
under X-Code?
I don't think you can do this entirely from within Xcode (yet).
Here, at any rate, is how I do it:
1. In Xcode, create the new Project somewhere (ideally, somewhere
*other* than where you actually want it eventually to be). For
instance, most of my projects, most of the time, are in ~/src/
ProjectName, but at this point I have Xcode create ~/foo/
ProjectName. For simplicity's sake, don't do any work in the
project, yet, just let Xcode create the basic structure.
2. In Terminal, cd into the folder directly above your new
ProjectName directory:
% cd ~/foo
3. Using the command-line Subversion tool, import this into your
repository (which I'm assuming already exists):
% svn import ProjectName http://host.domain/path/to/repo/reponame/trunk/
(You can remove foo/ProjectName now)
4. Now, back in Xcode, go to "SCM: Repositories", configure your
repository if it's not there already, and browse until you see that
newly created folder ProjectName.
5. Select it.
6. Click "Checkout", and follow the directions.
7. Eventually, it'll offer to open the new project file; do so.
8. I like to right-click on the "Detail" column labels, and make
sure the "SCM" column is displaye.
-==-
Jack Repenning
email@hidden
Project Owner
SCPlugin
http://scplugin.tigris.org
"Subversion for the rest of OS X"
_______________________________________________
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