public abstract class AbstractJfxToolsMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
deployDir
The directory contain deployment specific files, such as icons and splash screen images.
|
protected File |
jfxAppOutputDir
The 'app' output directory.
|
protected String |
jfxMainAppJarName
The name of the JavaFX packaged JAR to be built into the 'app' directory.
|
protected String |
mainClass
The main JavaFX application class that acts as the entry point to the JavaFX application.
|
protected org.apache.maven.project.MavenProject |
project
The Maven Project Object
|
protected Boolean |
verbose
Flag to turn on verbose logging.
|
| Constructor and Description |
|---|
AbstractJfxToolsMojo() |
| Modifier and Type | Method and Description |
|---|---|
com.sun.javafx.tools.packager.PackagerLib |
getPackagerLib() |
getLog, getPluginContext, setLog, setPluginContextprotected org.apache.maven.project.MavenProject project
protected Boolean verbose
protected String mainClass
protected File jfxAppOutputDir
protected String jfxMainAppJarName
protected String deployDir
The directory contain deployment specific files, such as icons and splash screen images. This directory is added to the classpath of the Mojo when it runs, so that any files within this directory are accessible to the JavaFX packaging tools.
This defaults to src/main/deploy and typically this is good enough. Just put your deployment specific files in this directory and they will be automatically picked up.
The most common usage for this is to provide platform specific icons for native bundles. In this case you need to follow the convention of the JavaFX packaging tools to ensure your icons get picked up.
Copyright © 2012-2013. All Rights Reserved.