Java Reference
In-Depth Information
Figure 9-17. Building the Javadoc API using a file to contain the Javadoc options
Once we have done this, we can create a single JAR file, holding all the necessary parts.
The following command line will perform this for us:
jar -cf submission.jar sampleproject.jar dvd_db.dvd src doc
â– 
Note We did not specify a manifest for this JAR file, as this JAR is only meant to be a container to get
your submission to the assessors—it is not meant to be an executable JAR file. So the default manifest file
that the jar tool creates for us will suit us perfectly.
An example of building the submission JAR file is shown in Figure 9-18.
Figure 9-18. Building the Javadoc API using a file to contain the Javadoc options
We are now ready to submit. Remember to refer to the information you received from
Sun for your specific submission instructions. If your instructions differ from the ones in this
Search WWH ::




Custom Search