Changes for page WO 5.4 Getting Started

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

From version 78.1
edited by Timothy Worman
on 2013/06/14 16:26
Change comment: There is no comment for this version
To version 73.1
edited by Pascal Robert
on 2012/01/21 22:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.tworman
1 +XWiki.probert
Content
... ... @@ -2,69 +2,55 @@
2 2  This is deprecated information!
3 3  {{/warning}}
4 4  
5 +{{toc maxLevel="1"}}{{/toc}}
5 5  
6 -
7 -{{toc maxLevel="1"/}}
8 -
9 9  = ProjectBuilder and XCode =
10 10  
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.
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>>WOL:XcodeMigration]]. It isn't as hard as you might think, and WOLips is a much more powerful WebObjects IDE.
12 12  
13 13  = Installing WebObjects and WOLips =
14 14  
15 -1. (((
16 -====== Download Golipse ======
13 +1. h6. Download Golipse
14 +[[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.
17 17  
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 -
21 21  {{note title="32-bit computers"}}
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"
17 +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"
23 23  {{/note}}
24 24  
25 -1. (((
26 -====== Install the WebObjects ======
20 +1. h6. Install the WebObjects
21 +The best way to install the WebObjects frameworks is according to [[these instructions>>WOL:Using WOLips With Multiple Versions of WebObjects]].
22 +1. h6. Start Eclipse and switch to the WOLips perspective.
23 +1*. Under the //Window// menu, select //Open Perspective > Other...//.
24 +[[image:PerpectiveMenu.png]]
25 +1*. h6. Select //WOLips// and click //Ok//.
26 +[[image:PerspectiveChoices.png]]
27 27  
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 -
41 41  {{note title="WOLips Perspective"}}
42 42  If you don't switch to the WOLips perspective, you won't be able to create new WebObjects projects.
43 43  {{/note}}
44 -)))
45 45  
46 46  {{info title="Xcode & WebObjects"}}
33 +
47 47  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.
35 +* Apple Developer Site (Free): [http://developer.apple.com/xcode/]
36 +* Mac OS X App Store (Free): [http://itunes.apple.com/us/app/xcode/id448457090]
48 48  
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"]]
51 51  {{/info}}
52 52  
40 +{{id value="javamonitor"}}{{/id}}
53 53  
54 -
55 -{{id name="javamonitor"/}}
56 -
57 57  = Running Monitor and wotaskd on Mac OS X =
58 58  
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.
44 +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.
60 60  
61 61  Make sure //Web Sharing// is enabled in the //Sharing// panel in //System Preferences// (note: 10.5 comes with Apache 2.2 as the default).
62 62  
63 63  Edit ///etc/apache2/httpd.conf// (if you did a fresh install, you may already have these - search httpd.conf first)
64 64  
65 -Search for rewrite_module, and above it, add this line:
50 +Search for rewrite//module, and above it, add this line~://
66 66  
67 67  {{code}}
53 +
68 68  LoadModule WebObjects_module /System/Library/WebObjects/Adaptors/Apache2.2/mod_WebObjects.so
69 69  
70 70  {{/code}}
... ... @@ -72,6 +72,7 @@
72 72  Go to the very end and add:
73 73  
74 74  {{code}}
61 +
75 75  Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
76 76  
77 77  {{/code}}
... ... @@ -79,6 +79,7 @@
79 79  Search for "Directory /" and comment out the Order and Deny lines:
80 80  
81 81  {{code}}
69 +
82 82  <Directory />
83 83   Options FollowSymLinks
84 84   AllowOverride None
... ... @@ -91,16 +91,18 @@
91 91  Restart apache
92 92  
93 93  {{code}}
82 +
94 94  sudo apachectl graceful
95 95  
96 96  {{/code}}
97 97  
98 -If you run //ps auxw | grep httpd// you should see apache now running
87 +If you run //ps auxw grep httpd// you should see apache now running
99 99  
100 100  Create ///Library/LaunchDaemons/com.apple.webobjects.wotaskd.plist// with:
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)
90 +(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)
102 102  
103 103  {{code}}
93 +
104 104  <?xml version="1.0" encoding="UTF-8"?>
105 105  <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
106 106  <plist version="1.0">
... ... @@ -131,9 +131,10 @@
131 131  {{/code}}
132 132  
133 133  Create ///Library/LaunchDaemons/com.apple.webobjects.womonitor.plist// with:
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)
124 +(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)
135 135  
136 136  {{code}}
127 +
137 137  <?xml version="1.0" encoding="UTF-8"?>
138 138  <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
139 139  <plist version="1.0">
... ... @@ -164,17 +164,19 @@
164 164  {{/code}}
165 165  
166 166  Start the launchd daemons :
167 - (you may need to sudo here)
158 +(you may need to sudo here)
168 168  
169 169  {{code}}
161 +
170 170  launchctl load /Library/LaunchDaemons/com.apple.webobjects.wotaskd.plist
171 171  launchctl load /Library/LaunchDaemons/com.apple.webobjects.womonitor.plist
172 172  
173 173  {{/code}}
174 174  
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:
167 +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:
176 176  
177 177  {{code}}
170 +
178 178  http://localhost:56789
179 179  
180 180  {{/code}}