Full name:
org.eclipse.tycho:tycho-compiler-plugin:0.17.0:compile
Description:
Attributes:
| Name | Type | Since | Description |
|---|---|---|---|
| annotationProcessors | String[] | 0.16.0 | Qualified class names of annotation processors to run. If
specified, the normal
processor discovery process will be skipped. This parameter
requires a 1.6 VM or above and is used only if the compliance is
1.6 |
| compilerArgs | List | 0.17.0 | Arguments to be passed to the compiler. |
| compilerArgument | String | - | Unformatted argument string to be passed to the compiler if fork is set to true. This is because the list of valid arguments passed to a Java compiler varies based on the compiler version. |
| compilerArguments | Map | - | Deprecated. use compilerArgs instead. |
| compilerId | String | - | The compiler id of the compiler to use. Default value is: jdt. |
| compilerVersion | String | - | Version of the compiler to use, ex. "1.3", "1.5", if fork is set to
true |
| debug | boolean | - | Whether to include debugging information in the compiled class
files. The default value is true. Default value is: true. |
| encoding | String | - | The -encoding argument for the Java compiler |
| excludeResources | Set | - | A list of exclusion filters for non-java resource files which
should not be copied to the output directory. |
| excludes | Set | - | A list of exclusion filters for the compiler. |
| executable | String | - | The executable of the compiler to use when fork is true. |
| extraClasspathElements | Dependency[] | - | Transitively add specified maven artifacts to compile classpath in
addition to elements calculated according to OSGi rules. All
packages from additional entries will be accessible at compile
time. Useful when OSGi runtime classpath contains elements not
defined using normal dependency mechanisms. For example, when
Eclipse Equinox is started from application server with
-Dosgi.parentClassloader=fwk parameter. |
| 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. |
| generatedSourcesDirectory | File | 0.16.0 | The directory where source files generated by annotation processors
will be created. This parameter requires a 1.6 VM or above and is
used only if the compliance is 1.6. Default value is: ${project.build.directory}/generated-sources/annotations. |
| includes | Set | - | A list of inclusion filters for the compiler. |
| maxmem | String | - | maximum size, in megabytes, of the memory allocation pool, ex.
"128", "128m" if fork is set to true |
| meminitial | String | - | Initial size, in megabytes, of the memory allocation pool, ex.
"64", "64m" if fork is set to true |
| optimize | boolean | - | Optimize compiled code using the compiler's optimization methods Default value is: false. |
| outputFileName | String | - | Used to control the name of the output file when compiling a set of
sources to a single file. |
| proc | String | 0.16.0 | If only is specified, the annotation processors will run
but no compilation will be performed. If none is
specified, annotation processors will not be discovered or run;
compilation will proceed as if no annotation processors were found.
By default the compiler must search the classpath for annotation
processors, so specifying none may speed compilation if
annotation processing is not required. This parameter requires a
1.6 VM or above and is used only if the compliance is 1.6 |
| requireJREPackageImports | boolean | - | Whether a bundle is required to explicitly import non-java.*
packages from the JDK. This is the design-time equivalent to the
equinox runtime option osgi.compatibility.bootdelegation. Default value is: false. |
| showDeprecation | boolean | - | Output source locations where deprecated APIs are used Default value is: false. |
| showWarnings | boolean | - | Output warnings Default value is: false. |
| source | String | - | The -source argument for the Java compiler |
| staleMillis | int | - | The granularity in milliseconds of the last modification date for
testing whether a source needs recompilation Default value is: 0. |
| strictCompilerTarget | boolean | - | If set to false (the default) issue a warning if
effective compiler target level is incompatible with bundle minimal
execution environment. If set to true will fail the
build if effective compiler target and minimal BREE are
incompatible. Default value is: false. |
| target | String | - | The -target argument for the Java compiler |
| useJDK | JDKUsage | - | Which JDK to use for compilation. Default value is SYSTEM which
means the currently running JDK. If BREE is specified, MANIFEST
header Bundle-RequiredExecutionEnvironment is used to
define the JDK to compile against. In this case, you need to
provide a toolchains.xml
configuration file. The value of BREE will be matched against the
id of the toolchain elements in toolchains.xml. Example:
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<id>J2SE-1.5</id>
</provides>
<configuration>
<jdkHome>/path/to/jdk/1.5</jdkHome>
</configuration>
</toolchain>
</toolchains>
<configuration>
<jdkHome>/path/to/jdk/1.5</jdkHome>
<bootClassPath>
<includes>
<include>jre/lib/amd64/default/jclSC160/*.jar</include>
</includes>
<excludes>
<exclude>**/alt-*.jar</exclude>
</excludes>
</bootClassPath>
</configuration>
Default value is: SYSTEM. |
| verbose | boolean | - | Whether to output messages about what the compiler is doing Default value is: false. |
Unformatted argument string to be passed to the compiler if fork is set to true.
This is because the list of valid arguments passed to a Java compiler varies based on the compiler version.
Arguments to be passed to the compiler (prepending a dash) if fork is set to true.
This is because the list of valid arguments passed to a Java compiler varies based on the compiler version.
fork:
proc:
<toolchains>
<toolchain>
<type>jdk</type>
<provides>
<id>J2SE-1.5</id>
</provides>
<configuration>
<jdkHome>/path/to/jdk/1.5</jdkHome>
</configuration>
</toolchain>
</toolchains>
<configuration>
<jdkHome>/path/to/jdk/1.5</jdkHome>
<bootClassPath>
<includes>
<include>jre/lib/amd64/default/jclSC160/*.jar</include>
</includes>
<excludes>
<exclude>**/alt-*.jar</exclude>
</excludes>
</bootClassPath>
</configuration>