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
on 2008/02/26 19:30
Change comment:
Added woswitch method of maintaining a dual runtime environment
To version 46.1
edited by David Holt
on 2008/10/29 12:24
on 2008/10/29 12:24
Change comment:
Added comments about permissions for the launchdaemon scripts and launchctl
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. qdolan1 +XWiki.dholt - Content
-
... ... @@ -4,9 +4,9 @@ 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 -[[Install>>WOL:Install WOLips with Eclipse Update Manager]] WOLips from the [[nightly>>http://webobjects.mdimension.com/wolips/nightly]] buildserver9 +[[Install>>WOL:Install WOLips with Eclipse Update Manager]] WOLips from the [[stable>>http://webobjects.mdimension.com/wolips/stable]] build server. ([[nightly>>http://webobjects.mdimension.com/wolips/nightly]] only works with Eclipse 3.4, not recommended yet). 10 10 11 11 Start Eclipse and switch to the WOLips perspective. To achieve this, open the //Window// menu, select //Open Perspective// and select //Other...//. 12 12 ... ... @@ -124,6 +124,7 @@ 124 124 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 +(for OSX 10.5 make sure the permissions of this file are 644 system/wheel/everyone otherwise launchctl will throw a "dubious permissions" error when you try to load the plist with the commands that follow) 127 127 128 128 {{code}} 129 129 ... ... @@ -157,6 +157,7 @@ 157 157 {{/code}} 158 158 159 159 Create ///Library/LaunchDaemons/com.apple.webobjects.womonitor.plist// with: 161 +(for OSX 10.5 make sure the permissions of this file are 644 system/wheel/everyone otherwise launchctl will throw a "dubious permissions" error when you try to load the plist with the commands that follow) 160 160 161 161 {{code}} 162 162 ... ... @@ -190,6 +190,7 @@ 190 190 {{/code}} 191 191 192 192 Start the launchd daemons : 195 +(you may need to sudo here) 193 193 194 194 {{code}} 195 195 ... ... @@ -290,7 +290,7 @@ 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 292 293 -== Alternative 5.3 Installation method ==296 +== Alternative 5.3 / 5.4 development method == 294 294 295 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 296 ... ... @@ -300,7 +300,7 @@ 300 300 301 301 {{noformat}} 302 302 303 -# woswitch 53 306 +# ./woswitch.sh 53 304 304 305 305 {{/noformat}} 306 306 ... ... @@ -310,9 +310,9 @@ 310 310 311 311 {{noformat}} 312 312 313 -# ./woswitch 54 316 +# ./woswitch.sh 54 314 314 or 315 -# ./woswitch 53 318 +# ./woswitch.sh 53 316 316 317 317 {{/noformat}} 318 318 ... ... @@ -320,4 +320,4 @@ 320 320 321 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 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 toset ##NEXT//ROOT//##// appropriately.//326 +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.//