-
Notifications
You must be signed in to change notification settings - Fork 16
Incremental Compilation
Incremental compilation is available since Excelsior JET 15 for non x86-targets. It is implemented via maintaining so called Project Databases (PDB). A PDB is a directory that the AOT compiler creates at the very start of compilation and uses to store all its intermediate and auxiliary files.
To configure the PDB placement, add the following configuration to the plugin configuration section:
<pdb>
</pdb>
It may contain one of the following parameters:
-
<keepInBuildDir>true</keepInBuildDir>
- the PDB directory will be created in thetarget/jet/build
directory and thus will be cleaned on every clean build. By default, the parameter is set tofalse
. -
<baseDir>
pdb-base-directory
</baseDir>
- base directory for the PDB. IfkeepInBuildDir
is set tofalse
andspecificLocation
is not set, the PDB directory for the current project will be located in thegroupId
/projectName
subdirectory ofbaseDir
. You may set the parameter either directly from the plugin configuration or using either thejet.pdb.basedir
system property orJETPDBBASEDIR
environment variable. The default value forbaseDir
is${user.home}/.ExcelsiorJET/PDB
. -
<specificLocation>
pdb-location-directory
</specificLocation>
- in some cases, you may need to fully control the placement of the PDB. If this parameter is set to a valid directory pathname, the compiler will place the PDB for this project in that directory, possibly creating it first.
To clean the PDB for the current project, execute the following Maven command:
mvn jet:clean
As a result, all dependencies will be recompiled on the next build.
Compilation Settings:
- Incremental Compilation
- Dependency-Specific Settings
- Optimizations
- Target Executable
- Application Apperarance
- Raw Compiler Options
Packaging Settings:
- Package Contents
- System Properties And JVM Arguments
- Excelsior JET Runtime
- Excelsior Installer (Windows/Linux)
- OS X App Bundles And Installers
Application Type Specifics: