Version 31.1 by Pascal Robert on 2012/01/30 22:00

Show last authors
1 {{warning}}
2 This is deprecated information\!
3 {{/warning}}
4
5 == Who is this Guide for? ==
6
7 This guide is for you if
8
9 1. You are new to WebObjects
10 1. You are **not** new to software development and using the terminal in OS X
11 1. You use a Mac with OS X 10.6 Snow Leopard or higher
12 1. You just want to get started developing WebObjects "the right way"™
13
14 == Introduction ==
15
16 * WebObjects itself consists of the application runtime software
17 * Eclipse with the WOLips plugins are the de facto standard WebObjects development tools
18 * Support is provided by the very helpful and extremely intelligent ;-) community. So, sign up for the various developer mailing lists right away.
19
20 == First Install XCode ==
21
22 XCode is **not** used to develop WebObjects applications, but XCode installation includes software for development in general, such as command line tools, that are useful.
23
24 == Next Install and Configure WebObjects ==
25
26 Install WebObjects using the [[Apple WebObjects 5.4.3 Installer dmg>>http://support.apple.com/kb/DL688]] if you want "standard" OS X install paths.
27
28 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.
29
30 {{code title="Replace the apache adaptor with the Snow Leopard one"}}
31
32 sudo -s
33
34 cd /System/Library/WebObjects/Adaptors/Apache2.2
35 mv mod_WebObjects.so mod_WebObjects.so.obsolete
36 curl -C - -O http://wocommunity.org/documents/tools/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so
37
38 {{/code}}
39
40 {{code title="Configure Apache to use the WebObjects Adaptor"}}
41
42 cd /etc/apache2
43 cp httpd.conf httpd.conf.backup
44 echo "Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf" >> httpd.conf
45 apachectl restart
46
47 {{/code}}
48
49 {{code title="Install launchd tasks to keep WebObjects running always"}}
50
51 cd /Library/LaunchDaemons
52 curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.wotaskd.plist
53 curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.womonitor.plist
54
55 launchctl load com.apple.webobjects.wotaskd.plist
56
57 {{/code}}
58
59 == Install and Configure WebObjects Development Tools ==
60
61 Instructions for that step are right here:
62 [[WOL:Install WOLips with Eclipse Update Manager]]
63
64 == Hello World ==
65
66 Tutorial for that is here:
67 [[WOL:Create a new WO Application]]
68
69 == Where to go from here ==
70
71 === Wonder ===
72
73 Absolutely **essential** to add [[Wonder now>>WONDER:Tutorials]]. WIthout it, you will have "barebones and some bugs WebObjects". Wonder is a set of frameworks that fix the core WebObjects bugs and extend WebObjects functionality. it is where all active development of WebObjects is taking place. Even APple contribute to Wonder and use it themselves in the iTunes store, etc. You are really wasting you time if you try to develop in WebObjects without the addition of the Project Wonder frameworks. You only need the [[minimum integration>>WONDER:Integrate Wonder Into an Existing Application]] to get the core essential functionality and all the bug fixes to WebObjects.
74
75 === General Tutorials ===
76
77 [[Development Tutorials>>WOL:Tutorials]]
78
79 === The Community Mailing Lists ===
80
81 [[Mailing Lists>>WONDER:Mailing Lists]]