Important: The information in this document is obsolete and should not be used for new development.
If a project contains JAR files that are not located in a framework against which the project links or that are not located in /Library/WebObjects/Extensions, you must either add the JAR files to an application's class path or merge the JAR files at build time.
To merge JAR files at build time, first add a JAR file to your project and associate it with the aggregate target and at least the Application Server target or the Web Server target (both are possible if the JAR files are used in the client-side application of a Java Client application). Then, from the targets pop-up menu, select the target with which you associated the JAR files and choose Edit Active Target from the Project menu. In the Build Phases group, select Frameworks and Libraries. Select Merge for each JAR file, as shown in Figure 1-4. Make sure to repeat this process for each target with which you associate a JAR file.
Alternatively, you can add JAR files to an application's classpath by providing a colon-separated list of paths to JAR files in a target's OTHER_JAVA_CLASS_PATH build setting. This isn't a default build setting so you have to add it in the expert view setting of a project's target, as Figure 1-3 illustrates.
Last updated: 2002-12-01