Wiki source code of Usage for Other *NIX

Last modified by Filippo Laurìa on 2013/05/08 11:53

Show last authors
1 These are some brief notes about usage Eclipse / wolips on a generic *NIX platform such as LINUX. As I have just transcribed this from an email, I can't be too sure that it is correct – please feel free to augment with detail.
2
3 1. Install Java (I installed jdk 1.5 aka 5)
4 1. Install Eclipse with WOLips (as described [[here>>url:http://wiki.wocommunity.org/display/WOL/Install+WOLips+with+Eclipse+Update+Manager||shape="rect"]]. Be sure to read **ALL warnings and hints** for //Ubuntu users//)
5 1. Create directories to store Frameworks and resources. This could be anywhere on your disc, but concrete examples are given here.
6 11. {{code language="none"}}/WO/Library/Frameworks/{{/code}} – Into this directory, put all the third party frameworks that you need. Examples of "third party" frameworks might be {{code language="none"}}OpenBaseEOAdaptor.framework{{/code}}, {{code language="none"}}PostgresqlPlugIn.framework{{/code}}, {{code language="none"}}LEWOStuff.framework{{/code}} etc...
7 11. {{code language="none"}}/WO/System/Library/Frameworks/{{/code}} – Into this directory put all of the standard WebObjects frameworks.
8 11*. {{code language="none"}}JavaEOAccess.framework{{/code}}
9 11*. {{code language="none"}}JavaEOControl.framework{{/code}}
10 11*. {{code language="none"}}JavaFoundation.framework{{/code}}
11 11*. {{code language="none"}}JavaJDBCAdaptor.framework{{/code}}
12 11*. {{code language="none"}}JavaWebObjects.framework{{/code}}
13 11*. {{code language="none"}}JavaWOExtensions.framework{{/code}}
14 11*. {{code language="none"}}JavaXML.framework{{/code}}
15 11. {{code language="none"}}/WO/Project/{{/code}} – Into this directory put
16 111. {{code language="none"}}woproject.jar{{/code}}
17 11. {{code language="none"}}/WO/API{{/code}} – Into this directory, put the javadoc for WO.
18 1. Create a new properties file in {{code language="none"}}~/Library/wobuild.properties{{/code}}. This should look something like this;
19
20 {{noformat}}
21
22 wo.woroot=/
23 wo.dir.local=/
24 wo.dir.user.home.library=/home/username/Library
25 wo.dir.library=/WO/System/Library
26 wo.wosystemroot=/WO/System
27 wo.dir.local.library=/WO/Library
28 wo.dir.library.frameworks=/WO/System/Library/Frameworks
29 wo.dir.user.home.library.frameworks=/home/username/Library/Frameworks
30 wo.dir.root=/
31 wo.dir.local.library.frameworks=/WO/Library/Frameworks
32 wo.dir.system=/WO/System
33 wo.wolocalroot=/
34 wo.dir.reference.api=/WO/API/
35
36 {{/noformat}}
37
38 === Notes on Ubuntu ===
39
40 If doing WOLIPS development on Ubuntu utilize the Synaptic Package Manager to install Eclipse.
41 I made the mistake of just trying to download Eclipse, which will take you down this SWT hell whenever you try to use the WebObjects/WOD editor.
42 – Jonathan Miller
43
44 If you want to //just download eclipse//, it is strongly recommended to download **eclipse Indigo (3.7)**. Once you downloaded it, you have to install **WOLips eclipse plugin v3.7** (as described [[here>>url:http://wiki.wocommunity.org/display/WOL/Install+WOLips+with+Eclipse+Update+Manager||shape="rect"]]). Don't worry if you get an error concerning //MOZILLA_FIVE_HOME environment variable//, you can easily fix this problem installing **Web-Kit GTK** packet from a shell with the following command:
45
46 {{noformat}}
47
48 $ sudo apt-get install libwebkitgtk-1.0-0
49
50 {{/noformat}}