Wiki source code of Working with the Jars in WebObjects Extensions
Version 21.1 by chuckhill on 2007/01/29 22:08
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | 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. | ||
2 | |||
3 | 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**. | ||
4 | |||
5 | Expand the tree like this: | ||
6 | [[image:UserLibraries.jpg]] | ||
7 | |||
8 | |||
9 | \\Enter **WebObjectsExtensions** as the library name: | ||
10 | [[image:LibraryName.jpg]] | ||
11 | |||
12 | |||
13 | \\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): | ||
14 | [[image:FinalLibraries.jpg]] | ||
15 | |||
16 | {{warning title="Watch for Updates"}} | ||
17 | |||
18 | 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. | ||
19 | |||
20 | {{/warning}} |