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.

ParameterRequired?DescriptionDefault
compile.java.source.versionNoSpecify 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.modeNojavac debug mode, true or falsetrue
compile.java.target.versionNoSpecify a VM version for Generated class files (e.g., 1.1 or 1.2).${ant.java.version}
src.main.javaYesdirectory where sources to be compiled are
compile.java.includes.patternNoPattern describing files included in compilation process**/*.java
compile.java.excludes.patternNoPattern describing files excluded in compilation process
target.main.classesYesdestination 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: