public final class MacOSXAppLauncherCreator extends LauncherCreator
Modifier and Type | Field and Description |
---|---|
static String |
APPLE_STUB |
static String |
UNIVERSAL_STUB |
Constructor and Description |
---|
MacOSXAppLauncherCreator(org.apache.maven.plugin.AbstractMojo mojo,
File outputDirectory,
String mainClassName,
String applicationName,
String libraryDirectory,
Set<org.apache.maven.artifact.Artifact> transitiveArtifacts,
Set<File> resourceDirectories,
Properties parameterProperties,
String[] systemProperties,
String[] vmArguments,
String[] narClassifierTypes,
String launcherType,
String fileType,
String iconsFileName,
String bundleSignature,
String bundleOsType,
String bundleTypeName,
String stubType) |
Modifier and Type | Method and Description |
---|---|
void |
createLauncher()
Create a launcher specific to a given platform.
|
copyFile, copyInterpolatedPluginResource, copyInterpolatedProjectResource, copyPluginResource, copyProjectResource, copyTransitiveArtifacts, getApplicationName, getLibraryDirectory, getMainClassName, getMojo, getOutputDirectory, getParameterProperties, getResourceDirectories, getSystemProperties, getTransitiveArtifacts, getTransitiveJarOrNarArtifactFileNames, getVmArguments, makeExecutable
public static final String APPLE_STUB
public static final String UNIVERSAL_STUB
public MacOSXAppLauncherCreator(org.apache.maven.plugin.AbstractMojo mojo, File outputDirectory, String mainClassName, String applicationName, String libraryDirectory, Set<org.apache.maven.artifact.Artifact> transitiveArtifacts, Set<File> resourceDirectories, Properties parameterProperties, String[] systemProperties, String[] vmArguments, String[] narClassifierTypes, String launcherType, String fileType, String iconsFileName, String bundleSignature, String bundleOsType, String bundleTypeName, String stubType)
mojo
- the parent mojo classoutputDirectory
- where to create the .app structuremainClassName
- the main classapplicationName
- the name of the applicationlibraryDirectory
- where the libraries are storedtransitiveArtifacts
- the set of transitive artifact dependenciesresourceDirectories
- the project's resource directoriesparameterProperties
- the plugin configuration parameters, as propertiessystemProperties
- an array of name=value system propertiesvmArguments
- an array of arguments to the VMnarClassifierTypes
- an array of NAR classifier:typeslauncherType
- the launcher type, Console or GUIfileType
- the file type (currently unused)iconsFileName
- the name of the icons filebundleSignature
- the bundle signaturebundleOsType
- the bundle OS typebundleTypeName
- the bundle type namestubType
- the stub type, Apple or Universalpublic void createLauncher() throws IOException
createLauncher
in class LauncherCreator
IOException
- on creation failureCopyright © 2019 DevZendo.org. All rights reserved.