Wiki source code of WebObjects Developer Quick Start Guide
Last modified by Kieran Kelleher on 2012/07/19 22:32
Show last authors
author | version | line-number | content |
---|---|---|---|
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>>url:http://support.apple.com/kb/DL688||shape="rect"]] 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"}}sudo -s | ||
31 | |||
32 | cd /System/Library/WebObjects/Adaptors/Apache2.2 | ||
33 | mv mod_WebObjects.so mod_WebObjects.so.obsolete | ||
34 | curl -C - -O http://wocommunity.org/documents/tools/mod_WebObjects/Apache2.2/macosx/10.6/mod_WebObjects.so{{/code}} | ||
35 | |||
36 | {{code title="Configure Apache to use the WebObjects Adaptor"}}cd /etc/apache2 | ||
37 | cp httpd.conf httpd.conf.backup | ||
38 | echo "Include /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf" >> httpd.conf | ||
39 | apachectl restart{{/code}} | ||
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 | |||
51 | == Install and Configure WebObjects Development Tools == | ||
52 | |||
53 | Instructions for that step are right here: | ||
54 | [[doc:WOL.Home.WOLips.Install WOLips with Eclipse Update Manager.WebHome]] | ||
55 | |||
56 | == Hello World == | ||
57 | |||
58 | Tutorial for that is here: | ||
59 | [[doc:WOL.Home.Deprecated info.Create a new WO Application.WebHome]] | ||
60 | |||
61 | == Where to go from here == | ||
62 | |||
63 | === Wonder === | ||
64 | |||
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. | ||
66 | |||
67 | === General Tutorials === | ||
68 | |||
69 | [[Development Tutorials>>doc:documentation.Home.WOLips Tutorials.WebHome]] | ||
70 | |||
71 | === The Community Mailing Lists === | ||
72 | |||
73 | [[Mailing Lists>>doc:WEB.Home.Getting Help.Mailing Lists.WebHome]] |