Changes for page WO 5.4 Getting Started

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

From version 33.1
edited by Pascal Robert
on 2011/03/20 03:06
Change comment: There is no comment for this version
To version 30.1
edited by Timothy Worman
on 2013/05/01 19:19
Change comment: Migrated to Confluence 4.0

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.probert
1 +XWiki.tworman
Content
... ... @@ -1,36 +1,66 @@
1 -{{toc}}{{/toc}}
1 +{{warning}}
2 +This is deprecated information!
3 +{{/warning}}
2 2  
5 +{{toc maxLevel="1"/}}
6 +
7 += ProjectBuilder and XCode =
8 +
9 +ProjectBuilder and Xcode are no longer supported IDEs for WebObjects development or deployment. While legacy projects may still use it there is little, if any, support available for it. Existing projects (except Objective-C WebObjects projects, of course) should be [[migrated to WOLips>>doc:WOL.XcodeMigration]]. It isn't as hard as you might think, and WOLips is a much more powerful WebObjects IDE.
10 +
3 3  = Installing WebObjects and WOLips =
4 4  
5 -Download Xcode from ADC. Not useful for WebObjects deployment, but it will install tools like gcc and debugging tools that you might want useful.
13 +1. (((
14 +====== Download Golipse ======
6 6  
7 -Install [[Golipse>>https://github.com/rebeld/Golipse]]. Golipse will fetch the needed version of Eclipse, WOLips and other tools for WebObjects development.
16 +[[Golipse>>url:http://wocommunity.org/documents/tools/Golipse.app_build_14.zip||shape="rect"]] ([[source>>url:https://github.com/wocommunity/Golipse||shape="rect"]]) will fetch the needed version of Eclipse, WOLips and other tools for WebObjects development.
17 +)))
8 8  
9 -Install the WebObjects frameworks according to [[those instructions>>WOL:Using WOLips With Multiple Versions of WebObjects]].
19 +{{note title="32-bit computers"}}
20 +By default Golipse will download and install a 64-bit version of Eclipse. If you have an older 32-bit machine you can specify the download URL for the Eclipse package in 'Golipse > Preferences'. The latest 32-bit package is "http:~/~/ftp.osuosl.org/pub/eclipse/eclipse/downloads/drops/R-3.6.2-201102101200/eclipse-SDK-3.6.2-macosx-cocoa.tar.gz"
21 +{{/note}}
10 10  
11 -Start Eclipse and switch to the WOLips perspective. To achieve this, open the //Window// menu, select //Open Perspective// and select //Other...//.
23 +1. (((
24 +====== Install the WebObjects ======
12 12  
13 -[[image:PerpectiveMenu.png]]
26 +The best way to install the WebObjects frameworks is according to [[these instructions>>doc:WOL.Using WOLips With Multiple Versions of WebObjects]].
27 +)))
28 +1. (((
29 +====== Start Eclipse and switch to the WOLips perspective. ======
14 14  
15 -In the perspective choices, select //WOLips// and click //Ok//.
31 +* Under the //Window// menu, select //Open Perspective > Other...//.
32 +[[image:attach:PerpectiveMenu.png]]
33 +*
16 16  
17 -[[image:PerspectiveChoices.png]]
35 +====== Select //WOLips// and click //Ok//. ======
18 18  
37 +[[image:attach:PerspectiveChoices.png]]
38 +
39 +{{note title="WOLips Perspective"}}
19 19  If you don't switch to the WOLips perspective, you won't be able to create new WebObjects projects.
41 +{{/note}}
42 +)))
20 20  
21 -You are now ready to create projects or importing the examples. 
44 +{{info title="Xcode & WebObjects"}}
45 +Xcode is no longer the supported IDE for WebObjects development or deployment. However, downloading it and installing it will install tools debugging tools that you might find useful.
22 22  
23 -{{id value="javamonitor"}}{{/id}}
47 +* Apple Developer Site (Free): [[http:~~/~~/developer.apple.com/xcode/>>url:http://developer.apple.com/xcode/||shape="rect"]]
48 +* Mac OS X App Store (Free): [[http:~~/~~/itunes.apple.com/us/app/xcode/id448457090>>url:http://itunes.apple.com/us/app/xcode/id448457090||shape="rect"]]
49 +{{/info}}
24 24  
51 +
52 +
53 +{{id name="javamonitor"/}}
54 +
25 25  = Running Monitor and wotaskd on Mac OS X =
26 26  
27 -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.
57 +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.
28 28  
29 29  Make sure //Web Sharing// is enabled in the //Sharing// panel in //System Preferences// (note: 10.5 comes with Apache 2.2 as the default).
30 30  
31 31  Edit ///etc/apache2/httpd.conf// (if you did a fresh install, you may already have these - search httpd.conf first)
32 32  
33 -Search for rewrite//module, and above it, add this line~://
63 +Search for rewrite_module, and above it, add this line:
34 34  
35 35  {{code}}
36 36  
... ... @@ -67,10 +67,10 @@
67 67  
68 68  {{/code}}
69 69  
70 -If you run //ps auxw grep httpd// you should see apache now running
100 +If you run //ps auxw | grep httpd// you should see apache now running
71 71  
72 72  Create ///Library/LaunchDaemons/com.apple.webobjects.wotaskd.plist// with:
73 -(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)
103 + (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)
74 74  
75 75  {{code}}
76 76  
... ... @@ -104,7 +104,7 @@
104 104  {{/code}}
105 105  
106 106  Create ///Library/LaunchDaemons/com.apple.webobjects.womonitor.plist// with:
107 -(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)
137 + (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)
108 108  
109 109  {{code}}
110 110  
... ... @@ -138,7 +138,7 @@
138 138  {{/code}}
139 139  
140 140  Start the launchd daemons :
141 -(you may need to sudo here)
171 + (you may need to sudo here)
142 142  
143 143  {{code}}
144 144  
... ... @@ -147,7 +147,7 @@
147 147  
148 148  {{/code}}
149 149  
150 -If you run "ps auxw grep java" you should see wotaskd and java monitor now running. You should be able to connect to Monitor by this URL:
180 +If you run "ps auxw | grep java" you should see wotaskd and java monitor now running. You should be able to connect to Monitor by this URL:
151 151  
152 152  {{code}}
153 153