Last modified by Pascal Robert on 2010/09/19 10:28

From version 3.1
edited by Quinton Dolan
on 2007/07/12 21:06
Change comment: There is no comment for this version
To version 5.1
edited by Kieran Kelleher
on 2008/07/29 06:50
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Programming__WebObjects-Web Applications-Development-WebObjects and Subversion
1 +Web Applications-Development-WebObjects and Subversion
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.qdolan
1 +XWiki.kieran
Content
... ... @@ -1,7 +1,32 @@
1 -== Ryan ==
1 +== Introduction ==
2 2  
3 +Subversion is a commonly used Source Code Management ("SCM") tool. **You should be using a SCM tool even if you are developing on your own!** A Subversion setup consists of a number of "parts"
4 +
5 +* A source code repository.
6 +** If you are part of a team, this may just be provided to you as a URL that you use to access the repository. Otherwise you can easily create your own repository.
7 +* The Subversion binaries
8 +** The Subversion binaries need to be installed on your system - normally Subversion (aka "svn") is pre-installed on OS X, or at least it is installed when you install the developer tools. There are also excellent 3rd party binary installations available with Subversion extras included.
9 +* Eclipse Plugin.
10 +** Subversion on its own is a command line tool. There are many GUI clients available. For WebObjects development, it makes most sense to use an Eclipse plugin. You can use Subversive plugin or the Subclipse plugin.
11 +
12 +== Resources ==
13 +
14 +* [[Subversive Installation Tips>>http://lists.apple.com/archives/Webobjects-dev/2008/Jul/msg00638.html]]
15 +* [[Collabnet Subversion Binaries>>http://www.collab.net/downloads/community/]]
16 +* [[Setting up a Subversion Repository in OS X>>http://homepage.mac.com/kelleherk/iblog/C1837526061/E20070705124145/index.html]]
17 +* [[Subclipse Repository Access>>http://homepage.mac.com/kelleherk/iblog/C1837526061/E20070705125504/index.html]]
18 +* [[Initial WebObjects Project Import into Repository>>http://homepage.mac.com/kelleherk/iblog/C1837526061/E20070705143638/index.html]]
19 +
20 +== Ryan ==
21 +
3 3  Notes about using subversion with WebObjects, Interface Builder, and Mac OS X.
4 4  
24 +{{warning title="Slightly out of date information below"}}
25 +
26 +The information below is slightly out of date since WebObjects development is now standardized to Eclipse tools
27 +
28 +{{/warning}}
29 +
5 5  9/2/2005
6 6  
7 7  Versions Used:
... ... @@ -16,10 +16,10 @@
16 16  
17 17  I also found the book "Version Control with Subversion" by Ben Collins-Sussman, Brian W. Fitzpatrick, and C. Michael Pilato to be very helpful.
18 18  
19 -* When creating the repository it seems preferable to use the file system rather than the Berkeley DB. To do this, pass the ---fs--type fsfs flag to the create command.
20 -For example: svnadmin create ---fs--type fsfs /path/to/repos
44 +* When creating the repository it seems preferable to use the file system rather than the Berkeley DB. To do this, pass the -fs-type fsfs flag to the create command.
45 +For example: svnadmin create -fs-type fsfs /path/to/repos
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 -* 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: //
47 +* 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 24  {{noformat}}
25 25  
... ... @@ -34,8 +34,8 @@
34 34  {{noformat}}
35 35  
36 36  $ cat /usr/local/bin/svn
37 -#!/bin/sh
38 -umask 002
62 +#!/bin/sh
63 +umask 002
39 39  /usr/local/bin/svn-real "$@"
40 40  
41 41  {{/noformat}}
... ... @@ -48,12 +48,6 @@
48 48  
49 49  * 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.
50 50  
51 -* 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).
76 +* 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).
52 52  
53 -That's it! Good luck and enjoy subversion.
54 -
55 -== Peter Vandoros ==
56 -
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]].
58 -
59 -Category:WebObjects
78 +That's it Good luck and enjoy subversion.