July 2007
Intermediate to advanced
600 pages
19h 14m
English
| 5.1 | Working with files |
| 5.2 | Introducing mappers |
| 5.3 | Modifying files as you go |
| 5.4 | Preparing to package |
| 5.5 | Creating JAR files |
| 5.6 | Testing with JAR files |
| 5.7 | Creating Zip files |
| 5.8 | Packaging for Unix |
| 5.9 | Working with resources |
| 5.10 | Summary |
We can now compile and test our diary classes, using Ant, <javac>, and <junit>. This code can be turned into a JAR library. It can be used inside our application, or it can be redistributed for other people to use.
This brings us and our build file to the next problem: packaging a program for reuse and redistribution. We want to take the compiled classes and create a JAR file that can itself be bundled into some source and binary redistribution packages—such as Zip and ...
Read now
Unlock full access