Last modified by Kieran Kelleher on 2012/07/19 22:32

Hide last authors
Pascal Robert 30.1 1 {{warning}}
Pascal Robert 33.1 2 This is deprecated information!
Kieran Kelleher 16.1 3 {{/warning}}
4
Pascal Robert 10.1 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
Kieran Kelleher 26.1 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
Pascal Robert 33.1 18 * Support is provided by the very helpful and extremely intelligent community. So, sign up for the various developer mailing lists right away.
Kieran Kelleher 26.1 19
Pascal Robert 10.1 20 == First Install XCode ==
21
Pascal Robert 30.1 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.
Pascal Robert 10.1 23
Pascal Robert 30.1 24 == Next Install and Configure WebObjects ==
Kieran Kelleher 26.1 25
Pascal Robert 33.1 26 Install WebObjects using the [[Apple WebObjects 5.4.3 Installer dmg>>url:http://support.apple.com/kb/DL688||shape="rect"]] if you want "standard" OS X install paths.
Pascal Robert 10.1 27
Pascal Robert 33.1 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.
Pascal Robert 30.1 29
Bastian Triller 35.1 30 {{code title="Replace the apache adaptor with the Snow Leopard one"}}sudo -s
Pascal Robert 30.1 31
32 cd /System/Library/WebObjects/Adaptors/Apache2.2
33 mv mod_WebObjects.so mod_WebObjects.so.obsolete
Bastian Triller 35.1 34 curl -C - -O http://wocommunity.org/documents/tools/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so{{/code}}
Pascal Robert 30.1 35
Bastian Triller 35.1 36 {{code title="Configure Apache to use the WebObjects Adaptor"}}cd /etc/apache2
Pascal Robert 30.1 37 cp httpd.conf httpd.conf.backup
38 echo "Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf" >> httpd.conf
Bastian Triller 35.1 39 apachectl restart{{/code}}
Pascal Robert 30.1 40
41 {{code title="Install launchd tasks to keep WebObjects running always"}}
42
43 cd /Library/LaunchDaemons
44 curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.wotaskd.plist
45 curl -C - -O http://www.greenislandconsulting.com/webobjects/com.apple.webobjects.womonitor.plist
46
47 launchctl load com.apple.webobjects.wotaskd.plist
48
49 {{/code}}
50
Kieran Kelleher 24.1 51 == Install and Configure WebObjects Development Tools ==
Kieran Kelleher 22.1 52
Pascal Robert 30.1 53 Instructions for that step are right here:
Denis Frolov 37.1 54 [[doc:WOL.Home.WOLips.Install WOLips with Eclipse Update Manager.WebHome]]
Pascal Robert 30.1 55
Pascal Robert 10.1 56 == Hello World ==
57
Pascal Robert 30.1 58 Tutorial for that is here:
Denis Frolov 36.1 59 [[doc:WOL.Home.Deprecated info.Create a new WO Application.WebHome]]
Pascal Robert 30.1 60
Pascal Robert 10.1 61 == Where to go from here ==
62
Pascal Robert 30.1 63 === Wonder ===
64
Kieran Kelleher 40.1 65 Absolutely **essential** to add [[Wonder now>>doc:documentation.Home.Wonder Tutorials.WebHome]]. 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>>doc:documentation.Home.How-tos.Integrate Wonder Into an Existing Application.WebHome]] to get the core essential functionality and all the bug fixes to WebObjects.
Pascal Robert 30.1 66
67 === General Tutorials ===
68
Theodore Petrosky 39.1 69 [[Development Tutorials>>doc:documentation.Home.WOLips Tutorials.WebHome]]
Pascal Robert 30.1 70
71 === The Community Mailing Lists ===
72
Bastian Triller 35.1 73 [[Mailing Lists>>doc:WEB.Home.Getting Help.Mailing Lists.WebHome]]