Working with the Jars in WebObjects Extensions

Version 22.1 by chuckhill on 2007/01/29 22:08

There are some classpath variables that are used by all projects and which must be defined in Eclipse. To do this, go to Window - Preferences. No, I don't know why they put it under the Window menu. You may get an error the first time you do this. If this happens, close the Preferences window and open it again.

In order to make running an application in Eclipse more closely match running from the command line, we will create a User Library to match the jar files in /Library/WebObjects/Extensions.

Expand the tree like this:
UserLibraries.jpg


Enter WebObjectsExtensions as the library name:
LibraryName.jpg


Click Add Jars and select all the jars in /Library/WebObjects/Extensions.  The result should look like this (you may not have this exact same set of jars but if you have followed the other instructions you should have the ones that are needed):
FinalLibraries.jpg

Warning
Watch for Updates

This is a *static* list of jars.  If anything is added to or modified in */Library/WebObjects/Extensions*, you will need to manually edit this User Library.