Changes for page WO 5.4 Getting Started
Last modified by D Tim Cummings on 2013/06/14 16:27
From version 70.1
edited by Pascal Robert
on 2007/11/29 14:10
on 2007/11/29 14:10
Change comment:
There is no comment for this version
To version 72.1
edited by Kieran Kelleher
on 2008/03/05 22:52
on 2008/03/05 22:52
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. probert1 +XWiki.kieran - Content
-
... ... @@ -4,7 +4,7 @@ 4 4 5 5 Download Xcode 3 from [[ADC>>http://developer.apple.com/leopard/devcenter/]], the WebObjects frameworks are included in this package. You will have to make a custom install and select //WebObjects// in the package list since WebObjects is not part of the default installation. 6 6 7 -Install [[Eclipse 3.3. 1.1>>http://www.eclipse.org/downloads/download.php?file=//eclipse/downloads/drops/R-3.3.1.1-200710231652/eclipse-SDK-3.3.1.1-macosx-carbon.tar.gz]] (yes that's an extra.1) which fixes thepermgen space bug from 3.3.17 +Install [[Eclipse 3.3.2>>http://download.eclipse.org/eclipse/downloads/drops/R-3.3.2-200802211800/index.php]] 8 8 9 9 [[Install>>WOL:Install WOLips with Eclipse Update Manager]] WOLips from the [[nightly>>http://webobjects.mdimension.com/wolips/nightly]] build server 10 10 ... ... @@ -276,9 +276,11 @@ 276 276 {{code}} 277 277 278 278 bash-3.2# cat wo53 279 -for framework in `ls /System/Library/Frameworks/WebObjects53`; do rm /System/Library/Frameworks/$framework; ln \-sf /System/Library/Frameworks/WebObjects53/$framework /System/Library/Frameworks/$framework; done 279 +for framework in `ls /System/Library/Frameworks/WebObjects53`; do rm /System/Library/Frameworks/$framework; \ 280 +ln -sf /System/Library/Frameworks/WebObjects53/$framework /System/Library/Frameworks/$framework; done 280 280 bash-3.2# cat wo54 281 -for framework in `ls /System/Library/Frameworks/WebObjects54`; do rm /System/Library/Frameworks/$framework; ln \-sf /System/Library/Frameworks/WebObjects54/$framework /System/Library/Frameworks/$framework; done 282 +for framework in `ls /System/Library/Frameworks/WebObjects54`; do rm /System/Library/Frameworks/$framework; \ 283 +ln -sf /System/Library/Frameworks/WebObjects54/$framework /System/Library/Frameworks/$framework; done 282 282 283 283 {{/code}} 284 284 ... ... @@ -287,3 +287,35 @@ 287 287 Now go ahead and run wo53, which should now give you WO 5.3 framework symlinks. 288 288 289 289 You may need to do a clean build of your projects in Eclipse If things are setup properly, you should not get any Java errors you didn't already have. 292 + 293 +== Alternative 5.3 / 5.4 development method == 294 + 295 +The [[^woswitch]] script can be used as an alternative method to installing and using WO 5.3 for development, without the need to touch or move any of the installed WO 5.4 frameworks. This script will download and install the WebObjects 5.3.3 runtime into /Developer/WebObjects53 and maintain two copies of your ,,/Library/wobuild.properties so you can quickly switch WOLips development between the two different runtime versions.,, 296 + 297 +To use the script for the first time, ensure that you have WebObjects 5.4 installed, and have run WOLips at least once to create your ,,/Library/wobuild.properties file. Also ensure that the script has been set executable with ##chmod __x woswitch__##,, 298 + 299 +Then run it like this: 300 + 301 +{{noformat}} 302 + 303 +# ./woswitch.sh 53 304 + 305 +{{/noformat}} 306 + 307 +This can take quite some time the first time as it downloads, extracts and sets the WO 5.3 runtime up. After this is done, switching between the two runtimes is almost instant. 308 + 309 +To switch between the two runtimes, quit WOLips and run 310 + 311 +{{noformat}} 312 + 313 +# ./woswitch.sh 54 314 +or 315 +# ./woswitch.sh 53 316 + 317 +{{/noformat}} 318 + 319 +Then run WOLips again. 320 + 321 +One thing to remember is that when you are installing frameworks they need to be installed into the appropriate location for the runtime you are targeting. For WO 5.4 you need to install them into ##/Library/WebObjects/Frameworks## and for WO 5.3 they need to go into ##/Developer/WebObjects53/Library/Frameworks##. 322 + 323 +Keep in mind that these changes are specific to WOLips and woproject only. If you run anything outside of WOLips you will also need to manually set ##NEXT//ROOT//##// appropriately.//