public class MacOSXScriptLauncherCreator extends UnixScriptLauncherCreator
| Constructor and Description |
|---|
MacOSXScriptLauncherCreator(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) |
| 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, makeExecutablepublic MacOSXScriptLauncherCreator(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)
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 GUIpublic void createLauncher()
throws IOException
createLauncher in class UnixScriptLauncherCreatorIOException - on creation failureCopyright © 2019 DevZendo.org. All rights reserved.