Wiki source code of Framework Client-Side Classes
Version 11.1 by David Avendasora on 2008/07/07 09:19
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | If you are using any frameworks other than the Apple-provided WebObjects frameworks that include client-side classes, you will need to manually copy the framework's client-side .jar files into your WebServerResources/Java directory and add an entry to the ClasspathClient.txt file for each one. | ||
| 2 | |||
| 3 | WebObjects seems to be able to find its own client-side classes from within the Library/Frameworks directory, but it cannot find any others. | ||
| 4 | |||
| 5 | For example, I have a framework named MyFoundation.framework that has a couple classes in it that are used by the client-side of my application. In order for WO to find these classes, they must be in a Jar located in the MyApp.woa/Contents/WebServerResources/Java/. You will then need to make sure that the ClasspathClient.txt classpath file has an entry pointing to it. | ||
| 6 | |||
| 7 | {{code}} | ||
| 8 | |||
| 9 | APPROOT/WebServerResources/Java/MyFoundation.jar | ||
| 10 | |||
| 11 | {{/code}} |