← Project Builder for Java (Legacy) — Apple guide, October 10, 2003

Project Builder for Java (Legacy) — Apple guide, October 10, 2003

From the originals

13 scans

Machine-transcribed text and image descriptions. Check the linked original for uncertain words or fine print.

These are transcribed pages from the documents, not the full publications. Open the original for the remaining pages.

PDF page 12

Template name Application type Java Swing Application Swing application Java JNI Application JNI (Java Native Interface) application Java AWT Applet AWT (Abstract Window Toolkit) applet Java AWT Application AWT application Project Builder has a powerful and flexible build system that facilitates the potentially complex tasks involved in building and deploying products, which include applications, libraries, frameworks, JAR files, and so on. The main elements involved in building products are targets. A project can contain more than one product, each produced by a target. In the case of text-based application projects, such as Java tool projects, the target is a JAR file created by the project’s only target. In general, a target encompasses instructions on how to build a product, which can be an application or a component of one. Build settings are properties that tell Project Builder how to build a product. Build phases are concrete steps Project Builder takes to build a target; for example, compiling source files into object files and linking object files to create an executable file. For more information, see “Targets” (page 19), “Build Settings” (page 17), and “Build Phases” (page 30). The Tool Template The Java Tool template provides the files needed to create a simple, text-based application. It includes source files for the class with the main method, the JAR manifest, and the man page. Figure 1-2 shows the files that make up a Java tool project. Figure 1-2 The files of a Java tool project 1 2 3 4 The following list describes the files of a Java tool project named Hammer: 1. Hammer.java : Java source file that contains the main method. Project Builder names this file after the project. 2. Manifest : File that contains information that Project Builder adds to the MANIFEST.MF file of the generated JAR file. 3. Hammer.1 : Source for the man page that documents the tool. 12 The Tool Template Legacy Document | 2003-10-10 | © 2003 Apple Computer, Inc. All Rights Reserved. CHAPTER 1 Application Development

Reading notes: Figure 1-2 caption and numbered callouts (1-4) appear out of reading order in the extracted text

Printed product names
Java Swing Application · Java JNI Application · Java AWT Applet · Java AWT Application · Project Builder · Hammer · Java Tool template
Printed dates
2003-10-10 · 2003
Languages
English