Plugin compile-java v0.1
Overview
This module provides java compilation feature.
Parameters
The following property values can be changed to tune the behavior of this plugin.
Required parameters must be defined upon import, or the build will fail.
| Parameter | Required? | Description | Default |
|---|---|---|---|
| compile.java.source.version | No | Specify a value of the -source command-line switch; will be ignored by all implementations prior to javac1.4 (or modern when Ant is not running in a 1.3 VM) and jikes | ${ant.java.version} |
| javac.debug.mode | No | javac debug mode, true or false | true |
| compile.java.target.version | No | Specify a VM version for Generated class files (e.g., 1.1 or 1.2). | ${ant.java.version} |
| src.main.java | Yes | directory where sources to be compiled are | |
| compile.java.includes.pattern | No | Pattern describing files included in compilation process | **/*.java |
| compile.java.excludes.pattern | No | Pattern describing files excluded in compilation process | |
| target.main.classes | Yes | destination directory for compiled test classes |
Build Phases
This plugin adds targets to each of the following build phases:
- validate
-
- init
- compile
-
- compile
Extra Targets
This plugin defines some extra Ant targets not attached to any build phase:
- doit