Type source

Specify a package-structured file tree containing Java source files. An associated JDK release number may be specified, to indicate the minimum release that the compiled class version must support.

Parameters accepted as attributes

Attribute Description Type Required?
base The root directory of the source tree. This directory must exist. File No. Either base or optionalBase must be specified.
optionalBase The root directory of the source tree. This directory may not exist. If it does not exist, thie attribute is ignored. File No. Either base or optionalBase must be specified.
release The minimum JDK release that this source supports. String No. If not specified, a default release is used.
packages The packages from the source tree that are to be included. String No. If not specified, all packages from the source tree are included.