Changes for page WO 5.4 Getting Started

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

From version 74.1
edited by D Tim Cummings
on 2011/11/21 00:34
Change comment: There is no comment for this version
To version 78.1
edited by Timothy Worman
on 2013/06/14 16:26
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.timcu
1 +XWiki.tworman
Content
... ... @@ -1,52 +1,70 @@
1 -{{toc maxLevel="1"}}{{/toc}}
1 +{{warning}}
2 +This is deprecated information!
3 +{{/warning}}
2 2  
5 +
6 +
7 +{{toc maxLevel="1"/}}
8 +
3 3  = ProjectBuilder and XCode =
4 4  
5 -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>>WOL:XcodeMigration]]. It isn't as hard as you might think, and WOLips is a much more powerful WebObjects IDE.
11 +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.
6 6  
7 7  = Installing WebObjects and WOLips =
8 8  
9 -1. h6. Download Golipse
10 -[[Golipse>>https://github.com/downloads/rebeld/Golipse/Golipse.app_build_13.zip]] ([[source>>https://github.com/rebeld/Golipse]]) will fetch the needed version of Eclipse, WOLips and other tools for WebObjects development.
15 +1. (((
16 +====== Download Golipse ======
11 11  
18 +[[Golipse>>url:http://wocommunity.org/documents/tools/Golipse.app_build_22.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.
19 +)))
20 +
12 12  {{note title="32-bit computers"}}
13 -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"
22 +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"
14 14  {{/note}}
15 15  
16 -1. h6. Install the WebObjects
17 -The best way to install the WebObjects frameworks is according to [[these instructions>>WOL:Using WOLips With Multiple Versions of WebObjects]].
18 -1. h6. Start Eclipse and switch to the WOLips perspective.
19 -1*. Under the //Window// menu, select //Open Perspective > Other...//.
20 -[[image:PerpectiveMenu.png]]
21 -1*. h6. Select //WOLips// and click //Ok//.
22 -[[image:PerspectiveChoices.png]]
25 +1. (((
26 +====== Install the WebObjects ======
23 23  
28 +The best way to install the WebObjects frameworks is according to [[these instructions>>doc:WOL.Using WOLips With Multiple Versions of WebObjects]].
29 +)))
30 +1. (((
31 +====== Start Eclipse and switch to the WOLips perspective. ======
32 +
33 +* Under the //Window// menu, select //Open Perspective > Other...//.
34 +[[image:attach:PerpectiveMenu.png]]
35 +*
36 +
37 +====== Select //WOLips// and click //Ok//. ======
38 +
39 +[[image:attach:PerspectiveChoices.png]]
40 +
24 24  {{note title="WOLips Perspective"}}
25 25  If you don't switch to the WOLips perspective, you won't be able to create new WebObjects projects.
26 26  {{/note}}
44 +)))
27 27  
28 28  {{info title="Xcode & WebObjects"}}
29 -
30 30  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.
31 -* Apple Developer Site (Free): [http://developer.apple.com/xcode/]
32 -* Mac OS X App Store (Free): [http://itunes.apple.com/us/app/xcode/id448457090]
33 33  
49 +* Apple Developer Site (Free): [[http:~~/~~/developer.apple.com/xcode/>>url:http://developer.apple.com/xcode/||shape="rect"]]
50 +* 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"]]
34 34  {{/info}}
35 35  
36 -{{id value="javamonitor"}}{{/id}}
37 37  
54 +
55 +{{id name="javamonitor"/}}
56 +
38 38  = Running Monitor and wotaskd on Mac OS X =
39 39  
40 -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.
59 +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.
41 41  
42 42  Make sure //Web Sharing// is enabled in the //Sharing// panel in //System Preferences// (note: 10.5 comes with Apache 2.2 as the default).
43 43  
44 44  Edit ///etc/apache2/httpd.conf// (if you did a fresh install, you may already have these - search httpd.conf first)
45 45  
46 -Search for rewrite//module, and above it, add this line~://
65 +Search for rewrite_module, and above it, add this line:
47 47  
48 48  {{code}}
49 -
50 50  LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so
51 51  
52 52  {{/code}}
... ... @@ -54,7 +54,6 @@
54 54  Go to the very end and add:
55 55  
56 56  {{code}}
57 -
58 58  Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
59 59  
60 60  {{/code}}
... ... @@ -62,7 +62,6 @@
62 62  Search for "Directory /" and comment out the Order and Deny lines:
63 63  
64 64  {{code}}
65 -
66 66  <Directory />
67 67   Options FollowSymLinks
68 68   AllowOverride None
... ... @@ -75,18 +75,16 @@
75 75  Restart apache
76 76  
77 77  {{code}}
78 -
79 79  sudo apachectl graceful
80 80  
81 81  {{/code}}
82 82  
83 -If you run //ps auxw grep httpd// you should see apache now running
98 +If you run //ps auxw | grep httpd// you should see apache now running
84 84  
85 85  Create ///Library/LaunchDaemons/com.apple.webobjects.wotaskd.plist// with:
86 -(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)
101 + (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)
87 87  
88 88  {{code}}
89 -
90 90  <?xml version="1.0" encoding="UTF-8"?>
91 91  <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
92 92  <plist version="1.0">
... ... @@ -117,10 +117,9 @@
117 117  {{/code}}
118 118  
119 119  Create ///Library/LaunchDaemons/com.apple.webobjects.womonitor.plist// with:
120 -(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)
134 + (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)
121 121  
122 122  {{code}}
123 -
124 124  <?xml version="1.0" encoding="UTF-8"?>
125 125  <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
126 126  <plist version="1.0">
... ... @@ -151,19 +151,17 @@
151 151  {{/code}}
152 152  
153 153  Start the launchd daemons :
154 -(you may need to sudo here)
167 + (you may need to sudo here)
155 155  
156 156  {{code}}
157 -
158 158  launchctl load /Library/LaunchDaemons/com.apple.webobjects.wotaskd.plist
159 159  launchctl load /Library/LaunchDaemons/com.apple.webobjects.womonitor.plist
160 160  
161 161  {{/code}}
162 162  
163 -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:
175 +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:
164 164  
165 165  {{code}}
166 -
167 167  http://localhost:56789
168 168  
169 169  {{/code}}