Changes for page Development-WebObjects and Subversion
Last modified by Pascal Robert on 2010/09/19 10:28
From version 1.1
edited by smmccraw
on 2007/07/08 09:46
on 2007/07/08 09:46
Change comment:
There is no comment for this version
To version 3.1
edited by Quinton Dolan
on 2007/07/12 21:06
on 2007/07/12 21:06
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. smmccraw1 +XWiki.qdolan - Content
-
... ... @@ -21,36 +21,31 @@ 21 21 * There are at least three different ways to authenticate to the repository. I used the svn+ssh method although I'm sure the others would work as well. 22 22 * If you use the ssh+svn method, it's helpful to provide a virtual repository path so that end users don't have to type the entire path. For example, in my authorized//keys file, my key begins with: // 23 23 24 -{{ panel}}24 +{{noformat}} 25 25 26 - 26 +command="/usr/local/bin/svnserve -t -r /Users/svn/svnrep/" ssh-dss 27 27 28 -{{/ panel}}28 +{{/noformat}} 29 29 30 30 This allows users to use a path like "svn+ssh:~/~/server-name/project-name" rather than "svn+ssh:~/~/server-name/Users/svn/svnrep/project-name". 31 31 32 32 * When using ssh with multiple users, in order to prevent file permission issues, each subversion command on the server should be wrapped by a shell script which first calls umask, ie: 33 33 34 -{{ panel}}34 +{{noformat}} 35 35 36 - 37 - 38 - 39 - 36 +$ cat /usr/local/bin/svn 37 +#!/bin/sh 38 +umask 002 39 +/usr/local/bin/svn-real "$@" 40 40 41 -{{/ panel}}41 +{{/noformat}} 42 42 43 43 So this means you should rename each command and create a shell script wrapper which calls the actual command. 44 44 45 45 * If you create trunk, branches, and tags directories as suggested in the book, you should only checkout the trunk. 46 46 * The subversion support in XCode has a few problems, and I have had better luck using the free "svnx" which is available on the web. 47 +[[http://www.lachoseinteractive.net/en/community/subversion/svnx/features/]] 47 47 48 -{{panel}} 49 - 50 - http://www.lachoseinteractive.net/en/community/subversion/svnx/features/ 51 - 52 -{{/panel}} 53 - 54 54 * Subversion leaves ".svn" directories in each directory that it's managing which causes problems with earlier versions of Interface Builder and EOModeler which delete all of these directories upon save. Make sure you're using the latest version available of each of these tools. 55 55 56 56 * If you're developing a Java Client program using Interface Builder, your nib file will contain a java file buried under several directories. Each of these directories contains an ".svn" directory which even the newer versions of Interface Builder delete. In order to correct this problem, you'll have to download and install the "SubversionPalette.palette"; from http:~/~/www.rtlabs.com/downloads/. Even though this is apparently fairly old, it still seems to work (9/2005). ... ... @@ -59,8 +59,6 @@ 59 59 60 60 == Peter Vandoros == 61 61 62 -I have ported the EOModeler fix from http: ~/~/www.rtlabs.com/downloads/ to Windows. Get it from http:~/~/wocode.com/cgi-bin/WebObjects/WOCode.woa/wa/ShareCodeItem?itemId=451.57 +I have ported the EOModeler fix from [[http://www.rtlabs.com/downloads/]] to Windows. Get it from [[http://wocode.com/cgi-bin/WebObjects/WOCode.woa/wa/ShareCodeItem?itemId=451]]. 63 63 64 64 Category:WebObjects 65 - 66 -[[pl__Subversion]]