$ sudo mkdir -p /Library/WebObjects/Versions/WebObjects543 $ curl -O https://wocommunity.org/tools/WOInstaller.jar $ sudo java -jar WOInstaller.jar 5.4.3 /Library/WebObjects/Versions/WebObjects543
Step 3: Link the Framework to WOlips through the properties configuration file
Running the script from step 2 installs the WO framework to the
/Library/WebObjects/Versions/WebObjects543 directory on your system. Below is the contents for a configuration file that matches this setup. Create a new file called
~/Library/Application Support/WOLips/wolips.543.properties. Copy
properties if it's not already there. Copy the code below (after modification) into that file.
wo.system.root=/Library/WebObjects/Versions/WebObjects543/System wo.user.frameworks=/Users/YOUR_USER_NAME_HERE/Library/Frameworks wo.system.frameworks=/Library/WebObjects/Versions/WebObjects543/System/Library/Frameworks wo.bootstrapjar=/Library/WebObjects/Versions/WebObjects543/System/Library/WebObjects/JavaApplications/wotaskd.woa/WOBootstrap.jar wo.network.frameworks=/Network/Library/Frameworks wo.api.root=/Library/WebObjects/ADC%20Reference%20Library/documentation/WebObjects/Reference/API wo.network.root=/Network wo.extensions=/Library/WebObjects/Versions/WebObjects543/Library/WebObjects/Extensions wo.user.root=/Users/YOUR_USER_NAME_HERE wo.local.frameworks=/Library/WebObjects/Versions/WebObjects543/Library/Frameworks wo.dir.local.library.frameworks=/Library/WebObjects/Versions/WebObjects543/Library/Frameworks wo.apps.root=/Library/WebObjects/Versions/WebObjects543/Library/WebObjects/Applications wo.local.root=/Library/WebObjects/Versions/WebObjects543 wo.dir.user.home.library.frameworks=/Users/YOUR_USER_NAME_HERE/Library/Frameworks
Place this file in
~/Library/Application Support/WOLips, this directory should already exist and contain the default wolips.properties file.
The second part of this step is to link the WOlips plugin with the WO framework installed on your system. This is done through the tab found at Eclipse menu -> Preferences -> WOlips.
It is important to realize that if you change the WOlips Properties File to "wolips.543.properties" and then hit "apply" it will write out the (now stale) field values to that file. This could potentially clobber your new wolips.543.properties file with the default values. If you suspect this has happened, close the WOlips preferences and inspect the wolips.543.properties file.
If it's not already prefilled, change the "WOlips Properties File" to
properties and click OK.
At this point, you should have a functioning WebObjects platform to work with, visit <hello world link> to test your first WebObjects application.