Developing Web Applications With Ant by Richard Hightower - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

Creating a Project Directory Structure for the Application

The directory structure of the Hello World Java application is as follows:

Hello World Application root
| build.xml
|
+---src
| |
| +---xptoolkit
| HelloWorld.java
|
\---META-INF

MANIFEST.MF

Notice the addition of the META-INF directory, which holds the name of the manifest file we will use to make the application's JAR file executable. The only other file that this project needs is not shown; the file is greetmodel.jar, which is created by the model project (the reason for this will become obvious in the following sections).