Last modified by Bastian Triller on 2013/10/05 10:40

From version 112.1
edited by David Avendasora
on 2011/04/25 10:24
Change comment: There is no comment for this version
To version 114.1
edited by David Avendasora
on 2011/04/25 12:42
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Download Wonder Source, Build, Install and Upgrade
1 +Downloading, Building, Installing and Upgrading Wonder Source Code
Content
... ... @@ -9,17 +9,20 @@
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 -== Source Frameworks Initial Installation ==
12 +== Download Project Wonder Source Code ==
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 get a local copy of the repository (a "clone" in Git terms) allowing us 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 checkout a local copy of the repository (a "clone" in Git terms) allowing you 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 own hard-drive.
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.
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
22 22  
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 +
23 23  {{code}}
24 24  git clone git://github.com/projectwonder/wonder.git WonderSource
25 25  {{/code}}
... ... @@ -35,8 +35,12 @@
35 35  
36 36  {{/note}}
37 37  
38 -1. Build the frameworks from the source.
41 +== Build Frameworks ==
39 39  
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 +
40 40  {{code}}
41 41  ant frameworks
42 42  {{/code}}
... ... @@ -47,29 +47,42 @@
47 47  sudo ant frameworks.install
48 48  {{/code}}
49 49  
50 -œ
57 +== Built Frameworks Upgrade Installation ==
51 51  
52 -== Source Frameworks Upgrade Installation ==
53 -
54 54  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.
55 55  
56 -{{code title="Updating your Source"}}
61 +1. Navigate to the Roots directory that was automatically created by the initial Source installation procedure above
57 57  
58 -# Navigate to the Roots directory that was automatically created by the initial Source installation procedure above
63 +{{code}}
59 59  cd ~/Roots/
65 +{{/code}}
60 60  
61 -# Delete all installed frameworks whose names match the built frameworks in this Roots build folder
67 +1. Delete all installed frameworks whose names match the built frameworks in this Roots build folder
68 +
69 +{{code}}
62 62  for FRAMEWORK in `echo *.framework`; do sudo rm -r /Library/Frameworks/${FRAMEWORK}; done
71 +{{/code}}
63 63  
64 -# Navigate to the original Wonder source directory that you created above during initial source installation
73 +1. Navigate to the original Wonder source directory that you created above during initial source installation
74 +
75 +{{code}}
65 65  cd /path/to/WonderSource
77 +{{/code}}
66 66  
67 -# Pull the changes you do not have and merge them with your local repository
79 +1. Pull the changes you do not have and merge them with your local repository
80 +
81 +{{code}}
68 68  git pull
83 +{{/code}}
69 69  
70 -# Clean, build and install the frameworks
71 -ant clean; ant frameworks; sudo ant frameworks.install
85 +1. Clean, build and install the frameworks
72 72  
87 +{{code}}
88 +
89 +ant clean
90 +ant frameworks
91 +sudo ant frameworks.install
92 +
73 73  {{/code}}
74 74  
75 75  {{info}}