Changes for page Getting the Wonder Source Code
Last modified by Bastian Triller on 2013/10/05 10:40
From version 141.1
edited by azebchuk
on 2008/07/14 04:52
on 2008/07/14 04:52
Change comment:
There is no comment for this version
To version 166.1
edited by Kieran Kelleher
on 2010/08/14 19:55
on 2010/08/14 19:55
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. azebchuk1 +XWiki.kieran - Content
-
... ... @@ -2,27 +2,29 @@ 2 2 3 3 Instead of downloading the Wonder binaries, working from the latest source code directly can have some advantages such as: 4 4 5 -* Ability to browse the source code and learn from the wisdom and experience of the WO committers 5 +* Ability to conveniently browse and search the source code and learn from the wisdom and experience of the WO committers 6 6 * Put breakpoints in and step through Wonder source when debugging your projects 7 7 * Provide opportunities to submit patches to bugs you might find in Wonder 8 8 * Add logging statements in Wonder source so you can better understand what is going when tracking down hard to find bugs 9 +* Work with specific versions of Wonder in a project - good practice for quality control, especially for teams 9 9 10 10 == Downloading Wonder Source from Subversion == 11 11 12 -* Decideon a directory where you willmaintain thelatestWondersourcetreeon yourhard drive.Ihavea directory',,/WonderLatest'inmyhomefolder.,,13 -* Opena terminalshell andnavigate to the directory13 +* Open a terminal shell and navigate to the directory where you want to maintain the WonderSource directory and decide on a name of the folder that will contain the Wonder source. For this example, we will use the name //WonderSource// 14 +* Perform initial checkout of Wonder source tree from Subversion head using the following command. This checks out the source into the directory //WonderSource//, automatically creating //WonderSource// if it does not exist. 14 14 15 15 {{noformat}} 16 16 17 -c d~/WonderLatest18 +svn co http://wonder.svn.sourceforge.net/svnroot/wonder/trunk/Wonder WonderSource 18 18 19 19 {{/noformat}} 20 20 21 -* Nextperform initialcheckoutofWondersourcetreefrom Subversionheadusingthe followingcommand. This createsa folder named Wonder22 +* As often as you prefer you can keep this up to date as follows: 22 22 23 23 {{noformat}} 24 24 25 -svn co https://wonder.svn.sourceforge.net/svnroot/wonder 26 +cd /path/to/WonderSource 27 +svn up 26 26 27 27 {{/noformat}} 28 28 ... ... @@ -30,9 +30,17 @@ 30 30 31 31 * Follow the "Building with Ant" instructions in the BUILD.txt document in the Wonder directory 32 32 35 +{{warning title="WebObjects 5.4.X Compatability"}} 36 + 37 +The default instructions in Wonder's BUILD.txt produce binaries that are compatable with WO 5.3.3. If you are using WO 5.4.X, then you need to add the "-Dwonder.patch=54" option to the ant commands. For example: 38 + 39 +ant \-Dwonder.patch=54 frameworks; sudo ant \-Dwonder.patch=54 frameworks.install 40 + 41 +{{/warning}} 42 + 33 33 == Concepts == 34 34 35 -This complete procedure results in you having 45 +This complete procedure results in you having 36 36 37 37 * a Wonder directory with the whole Wonder source tree (directories, projects, frameworks, example apps, miscellaneous, etc.) inside. 38 38 * The binary Wonder frameworks ("ant frameworks") will be installed in /Library/Frameworks.