javafxc:testCompile

Full name:

org.easytesting:javafxc-maven-plugin:1.0b2:testCompile

Description:

Compiles JavaFX test code by delegating to JavaFX's own compiler Ant task.

Attributes:

  • Requires a Maven 2.0 project to be executed.
  • Requires dependency resolution of artifacts in scope: test.
  • Binds by default to the lifecycle phase: test-compile.

Required Parameters

Name Type Since Description
testSourceDirectory File - The test source directory.
Default value is: ${basedir}/src/test/javafx.

Optional Parameters

Name Type Since Description
automaticallyAddJfxJars boolean - If set to true the JavaFX jars are automatically added to the classpath for compilation
Default value is: true.
debug boolean - Set to true to include debugging information in the compiled class files.
Default value is: true.
deprecation boolean - Sets whether to show source locations where deprecated APIs are used.
Default value is: false.
encoding String - The source files character encoding.
Default value is: UTF-8.
failOnError boolean - Indicates whether the build will continue even if there are compilation errors; defaults to true.
Default value is: true.
fork boolean - Allows running the compiler in a separate process. If false it uses the built in compiler, while if true it will use an executable.
Default value is: false.
forkExecutable String - Sets the executable of the compiler to use when fork is true.
javaFxHome String - The location of the JavaFX home directory. If a value is not set, this goal will try to obtained from the environment variable "JAVAFX_HOME".
memoryMaximumSize String - The maximum memory size.
Default value is: 256m.
optimize boolean - Set to true to optimize the compiled code using the compiler's optimization methods.
Default value is: false.
overwrites Set - A list of exclusion filters for the compiler.
skip boolean - Set this to 'true' to bypass unit tests entirely. Its use is NOT RECOMMENDED, but quite convenient on occasion.
source String - The -source argument for the JavaFX compiler.
Default value is: 1.6.
target String - The -target argument for the JavaFX compiler.
Default value is: 1.6.
unchecked boolean - Set to true to show compiler warnings related to unchecked operations ("-Xlint:unchecked").
Default value is: true.
verbose boolean - Set to true to show messages about what the compiler is doing.
Default value is: false.

Parameter Details

automaticallyAddJfxJars:

If set to true the JavaFX jars are automatically added to the classpath for compilation
  • Type: boolean
  • Required: No
  • Expression: ${javafx.compiler.automatically.add.javafx.jars}
  • Default: true

debug:

Set to true to include debugging information in the compiled class files.
  • Type: boolean
  • Required: No
  • Expression: ${javafx.compiler.debug}
  • Default: true

deprecation:

Sets whether to show source locations where deprecated APIs are used.
  • Type: boolean
  • Required: No
  • Expression: ${javafx.compiler.showDeprecation}
  • Default: false

encoding:

The source files character encoding.
  • Type: java.lang.String
  • Required: No
  • Expression: ${javafx.compiler.encoding}
  • Default: UTF-8

failOnError:

Indicates whether the build will continue even if there are compilation errors; defaults to true.
  • Type: boolean
  • Required: No
  • Expression: ${javafx.compiler.failOnError}
  • Default: true

fork:

Allows running the compiler in a separate process. If false it uses the built in compiler, while if true it will use an executable.
  • Type: boolean
  • Required: No
  • Expression: ${javafx.compiler.fork}
  • Default: false

forkExecutable:

Sets the executable of the compiler to use when fork is true.
  • Type: java.lang.String
  • Required: No
  • Expression: ${javafx.compiler.executable}

javaFxHome:

The location of the JavaFX home directory. If a value is not set, this goal will try to obtained from the environment variable "JAVAFX_HOME".
  • Type: java.lang.String
  • Required: No
  • Expression: ${javafx.home}

memoryMaximumSize:

The maximum memory size.
  • Type: java.lang.String
  • Required: No
  • Expression: ${javafx.compiler.memorymaximumsize}
  • Default: 256m

optimize:

Set to true to optimize the compiled code using the compiler's optimization methods.
  • Type: boolean
  • Required: No
  • Expression: ${javafx.compiler.optimize}
  • Default: false

overwrites:

A list of exclusion filters for the compiler.
  • Type: java.util.Set
  • Required: No

skip:

Set this to 'true' to bypass unit tests entirely. Its use is NOT RECOMMENDED, but quite convenient on occasion.
  • Type: boolean
  • Required: No
  • Expression: ${maven.test.skip}

source:

The -source argument for the JavaFX compiler.
  • Type: java.lang.String
  • Required: No
  • Expression: ${javafx.compiler.source}
  • Default: 1.6

target:

The -target argument for the JavaFX compiler.
  • Type: java.lang.String
  • Required: No
  • Expression: ${javafx.compiler.target}
  • Default: 1.6

testSourceDirectory:

The test source directory.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${javafx.compiler.testSourceDirectory}
  • Default: ${basedir}/src/test/javafx

unchecked:

Set to true to show compiler warnings related to unchecked operations ("-Xlint:unchecked").
  • Type: boolean
  • Required: No
  • Expression: ${javafx.compiler.unchecked}
  • Default: true

verbose:

Set to true to show messages about what the compiler is doing.
  • Type: boolean
  • Required: No
  • Expression: ${javafx.compiler.verbose}
  • Default: false