Changes for page WO 5.4 Getting Started
Last modified by D Tim Cummings on 2013/06/14 16:27
From version 65.1
edited by Quinton Dolan
on 2008/02/26 19:32
on 2008/02/26 19:32
Change comment:
There is no comment for this version
To version 61.1
edited by Pascal Robert
on 2007/11/29 14:04
on 2007/11/29 14:04
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. qdolan1 +XWiki.probert - Content
-
... ... @@ -80,11 +80,12 @@ 80 80 81 81 Monitor and wotaskd are installed, but the launchd scripts to start them are not installed. You can grab them from a 10.5 Server installation, or follow those instructions. 82 82 83 -Make sure //Web Sharing//is enabled in the//Sharing//panel in //SystemPreferences//(note: 10.5 comes with Apache 2.2 as the default).83 +Make sure Web Sharing is enabled in the Sharing Prefs Panel 84 84 85 -Edit ///etc/apache2/httpd.conf// (if you did a fresh install, you may already have these - search httpd.conf first) 85 +Note: /etc/httpd is out, /etc/apache2 is in 86 +Edit /etc/apache2/httpd.conf (if you did a fresh install, you may already have these - search httpd.conf first) 86 86 87 - Search for rewrite//module, and above it, addthis line~://88 +search for rewrite//module, and above it, add a// 88 88 89 89 {{code}} 90 90 ... ... @@ -92,7 +92,7 @@ 92 92 93 93 {{/code}} 94 94 95 - Go to the very end and add:96 +go to the very end and add 96 96 97 97 {{code}} 98 98 ... ... @@ -121,7 +121,7 @@ 121 121 122 122 {{/code}} 123 123 124 - If you run//ps auxw grep httpd//you should see apache now running125 +if you run "ps auxw grep httpd" you should see apache now running 125 125 126 126 Create ///Library/LaunchDaemons/com.apple.webobjects.wotaskd.plist// with: 127 127 ... ... @@ -156,7 +156,7 @@ 156 156 157 157 {{/code}} 158 158 159 -Create ///Library/LaunchDaemons/com.apple.webobjects.womonitor.plist// with: 160 + Create ///Library/LaunchDaemons/com.apple.webobjects.womonitor.plist// with: 160 160 161 161 {{code}} 162 162 ... ... @@ -208,10 +208,9 @@ 208 208 209 209 = Developing with both WebObjects 5.4 and 5.3 = 210 210 211 -(Mike Schrag) The following can be done a couple ways, but this is just how I happened to have things setup in betas, so I kept it (it worked for me): 212 +The following can be done a couple ways, but this is just how I happened to have things setup in betas, so I kept it (it worked for me): 213 + Make a ///System/Library/Frameworks/WebObjects54// folder, and move the following frameworks from the 5.4 install into it: 212 212 213 -Make a ///System/Library/Frameworks/WebObjects54// folder, and move the following frameworks from the 5.4 install into it: 214 - 215 215 {{code}} 216 216 217 217 JavaDTWGeneration.framework ... ... @@ -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 / 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 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.//