Wiki source code of WebObjects Developer Quick Start Guide
Version 27.1 by Kieran Kelleher on 2009/12/06 12:51
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | {{warning title="Incomplete Page"}} | ||
2 | |||
3 | This is a Work in Progress page and is incomplete. Come back at a later date. (kieran) | ||
4 | |||
5 | {{/warning}} | ||
6 | |||
7 | == Who is this Guide for? == | ||
8 | |||
9 | This guide is for you if | ||
10 | |||
11 | 1. You are new to WebObjects | ||
12 | 1. You are **not** new to software development and using the terminal in OS X | ||
13 | 1. You use a Mac with OS X 10.6 Snow Leopard or higher | ||
14 | 1. You just want to get started developing WebObjects "the right way"™ | ||
15 | |||
16 | == Introduction == | ||
17 | |||
18 | * WebObjects itself consists of the application runtime software | ||
19 | * Eclipse with the WOLips plugins are the de facto standard WebObjects development tools | ||
20 | * Support is provided by the very helpful and extremely intelligent ;-) community. So, sign up for the various developer mailing lists right away. | ||
21 | |||
22 | == First Install XCode == | ||
23 | |||
24 | XCode is **not** used the develop WebObjects applications, but XCode installation includes software for development in general, such as command line tools, that are useful | ||
25 | |||
26 | == Next Install and Configure WebObjects == | ||
27 | |||
28 | Install WebObjects using the [[Apple WebObjects 5.4.3 Installer dmg>>http://support.apple.com/kb/DL688]] if you want "standard" install paths. | ||
29 | |||
30 | Then open terminal and perform the "extra" stuff you need to do to get things complete. you will need to do all this as 'root', hence the sudo --s at the start.-- | ||
31 | |||
32 | {{code title="Replace the apache adaptor with the Snow Leopard one"}} | ||
33 | |||
34 | sudo -s | ||
35 | |||
36 | cd /System/Library/WebObjects/Adaptors/Apache2.2 | ||
37 | mv mod_WebObjects.so mod_WebObjects.so.obsolete | ||
38 | curl -C - -O http://webobjects.mdimension.com/wonder/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so | ||
39 | |||
40 | {{/code}} | ||
41 | |||
42 | {{code title="Configure Apache to use the WebObjects Adaptor"}} | ||
43 | |||
44 | cd /etc/apache2 | ||
45 | cp httpd.conf httpd.conf.backup | ||
46 | echo "Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf" >> httpd.conf | ||
47 | apachectl restart | ||
48 | |||
49 | {{/code}} | ||
50 | |||
51 | {{code title="Install launchd tasks to keep WebObjects running always"}} | ||
52 | |||
53 | cd /Library/LaunchDaemons | ||
54 | curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.wotaskd.plist | ||
55 | curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.womonitor.plist | ||
56 | |||
57 | launchctl load com.apple.webobjects.wotaskd.plist | ||
58 | |||
59 | {{/code}} | ||
60 | |||
61 | == Configure WebObjects == | ||
62 | |||
63 | == Install and Configure WebObjects Development Tools == | ||
64 | |||
65 | == Hello World == | ||
66 | |||
67 | == Where to go from here == | ||
68 | |||
69 | * Install a database |