Changes for page Getting the Wonder Source Code
Last modified by Bastian Triller on 2013/10/05 10:40
From version 114.1
edited by David Avendasora
on 2011/04/25 12:42
on 2011/04/25 12:42
Change comment:
There is no comment for this version
To version 112.1
edited by David Avendasora
on 2011/04/25 10:24
on 2011/04/25 10:24
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Download ing, Building, Installingand Upgrading Wonder Source Code1 +Download Wonder Source, Build, Install and Upgrade - Content
-
... ... @@ -9,20 +9,17 @@ 9 9 * Add logging statements in Wonder source so you can better understand what is going when tracking down hard to find bugs 10 10 * Discover the many Hidden Treasures of Wonder. 11 11 12 -== Download Project WonderSourceCode==12 +== Source Frameworks Initial Installation == 13 13 14 14 {{tip title="Now with more Git"}} 15 -As of March 25th, 2011 the Wonder source code is now maintained on [GitHub|https://github.com/] at [https://github.com/projectwonder]. So you'll need to be familiar with the [Git|http://git-scm.com/] Source Code Management system. You will use it to checkout a local copy of the repository (a "clone" in Git terms) allowingyou to have direct access to the Wonder source.15 +As of March 25th, 2011 the Wonder source code is now maintained on [GitHub|https://github.com/] at [https://github.com/projectwonder]. So you'll need to be familiar with the [Git|http://git-scm.com/] Source Code Management system. You will use it to get a local copy of the repository (a "clone" in Git terms) allowing us to have direct access to the Wonder source. 16 16 {{/tip}} 17 17 18 -Open a terminal and navigate to a directory where you want to maintain a source "working copy" and just use the following easy-peasy commands to clone Wonder source to your computer.18 +Open a terminal and navigate to a directory where you want to maintain a source "working copy" and just use the following easy-peasy commands to clone Wonder source to your own hard-drive. 19 19 20 20 1. Clone the source repository from github into a new directory named "WonderSource". 21 +1. Note the URL shown here is the public read-only URL. Committers should use the SSH form of the URL for read-write 21 21 22 -{{note title="Read Only"}} 23 -Note the URL shown here is the public read-only URL. Committers should use the SSH form of the URL for read-write 24 -{{/note}} 25 - 26 26 {{code}} 27 27 git clone git://github.com/projectwonder/wonder.git WonderSource 28 28 {{/code}} ... ... @@ -38,12 +38,8 @@ 38 38 39 39 {{/note}} 40 40 41 - ==BuildFrameworks==38 +1. Build the frameworks from the source. 42 42 43 -Assuming you now have a "cloned" copy of the Wonder source code, you can build the frameworks to the default (##/Roots##) with the following command: 44 - 45 -1. Build the frameworks from the "cloned" source. 46 - 47 47 {{code}} 48 48 ant frameworks 49 49 {{/code}} ... ... @@ -54,42 +54,29 @@ 54 54 sudo ant frameworks.install 55 55 {{/code}} 56 56 57 - == Built Frameworks Upgrade Installation ==50 +œ 58 58 52 +== Source Frameworks Upgrade Installation == 53 + 59 59 Assuming you already cloned and installed Wonder from source using the method outlined above, you can use the following procedure pull the latest changes into your local repository. 60 60 61 - 1. Navigate tothe Rootsdirectorythat was automatically created by theinitialSourceinstallation procedure above56 +{{code title="Updating your Source"}} 62 62 63 - {{code}}58 +# Navigate to the Roots directory that was automatically created by the initial Source installation procedure above 64 64 cd ~/Roots/ 65 -{{/code}} 66 66 67 -1. Delete all installed frameworks whose names match the built frameworks in this Roots build folder 68 - 69 -{{code}} 61 +# Delete all installed frameworks whose names match the built frameworks in this Roots build folder 70 70 for FRAMEWORK in `echo *.framework`; do sudo rm -r /Library/Frameworks/${FRAMEWORK}; done 71 -{{/code}} 72 72 73 -1. Navigate to the original Wonder source directory that you created above during initial source installation 74 - 75 -{{code}} 64 +# Navigate to the original Wonder source directory that you created above during initial source installation 76 76 cd /path/to/WonderSource 77 -{{/code}} 78 78 79 -1. Pull the changes you do not have and merge them with your local repository 80 - 81 -{{code}} 67 +# Pull the changes you do not have and merge them with your local repository 82 82 git pull 83 -{{/code}} 84 84 85 -1. Clean, build and install the frameworks 70 +# Clean, build and install the frameworks 71 +ant clean; ant frameworks; sudo ant frameworks.install 86 86 87 -{{code}} 88 - 89 -ant clean 90 -ant frameworks 91 -sudo ant frameworks.install 92 - 93 93 {{/code}} 94 94 95 95 {{info}}