Changes for page WO 5.4 Getting Started

Last modified by D Tim Cummings on 2013/06/14 16:27

From version 68.1
edited by Quinton Dolan
on 2008/02/26 19:30
Change comment: Added woswitch method of maintaining a dual runtime environment
To version 69.1
edited by Pascal Robert
on 2007/11/29 14:10
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.qdolan
1 +XWiki.probert
Content
... ... @@ -276,11 +276,9 @@
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; \
280 -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; ln \-sf /System/Library/Frameworks/WebObjects53/$framework /System/Library/Frameworks/$framework; done
281 281  bash-3.2# cat wo54
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
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
284 284  
285 285  {{/code}}
286 286  
... ... @@ -289,35 +289,3 @@
289 289  Now go ahead and run wo53, which should now give you WO 5.3 framework symlinks.
290 290  
291 291  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 Installation 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 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 54
314 -or
315 -# ./woswitch 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 manually to set ##NEXT//ROOT//##// appropriately.//