freehep-aid:generate

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Automatically executes within the lifecycle phase: generate-sources

Required Parameters

Name Type Description
configDirectory File The source file directory.
generator String The generator to use to generate output files Possible choices are JavaInterfaceGenerator, JavaClassGenerator, CPPHeaderGenerator and PythonClassGenerator Default value is JavaInterfaceGenerator.
sourceDirectory File The configuration file directory.
staleMillis int The granularity in milliseconds of the last modification date for testing whether a source needs recompilation Default value is 0.
targetDirectory File The target directory into which to generate the output

Optional Parameters

Name Type Description
excludes Set A list of exclusion filters for AID.
includes Set A list of inclusion filters for AID. Defaults to **\/*.aid and **\/*.properties
timestampDirectory File The directory to store the timestampfile for the processed aid files. Defaults to targetDirectory.
timestampFile String The timestampfile for the processed aid files. Defaults to generator.

Parameter Details

configDirectory

The source file directory.

  • Type: java.io.File
  • Required: Yes
  • Expression: ${basedir}/src/main/aid

excludes A list of exclusion filters for AID.
  • Type: java.util.Set
  • Required: No

generator The generator to use to generate output files Possible choices are JavaInterfaceGenerator, JavaClassGenerator, CPPHeaderGenerator and PythonClassGenerator
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${aid.generator}
  • Default: JavaInterfaceGenerator

includes A list of inclusion filters for AID. Defaults to **\/*.aid and **\/*.properties
  • Type: java.util.Set
  • Required: No

sourceDirectory The configuration file directory.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${basedir}/src/main/aid

staleMillis The granularity in milliseconds of the last modification date for testing whether a source needs recompilation
  • Type: int
  • Required: Yes
  • Expression: ${aid.staleMillis}
  • Default: 0

targetDirectory The target directory into which to generate the output
  • Type: java.io.File
  • Required: Yes
  • Expression: ${project.build.directory}/generated-sources/aid

timestampDirectory The directory to store the timestampfile for the processed aid files. Defaults to targetDirectory.
  • Type: java.io.File
  • Required: No

timestampFile The timestampfile for the processed aid files. Defaults to generator.
  • Type: java.lang.String
  • Required: No