public class UnixScriptLauncherCreator extends LauncherCreator
Constructor and Description |
---|
UnixScriptLauncherCreator(org.apache.maven.plugin.AbstractMojo mojo,
File outputDirectory,
String osOutputSubDirectoryName,
String mainClassName,
String applicationName,
String libraryDirectory,
Set<org.apache.maven.artifact.Artifact> transitiveArtifacts,
Set<File> resourceDirectories,
Properties parameterProperties,
String[] systemProperties,
String[] vmArguments,
String[] narClassifierTypes) |
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 UnixScriptLauncherCreator(org.apache.maven.plugin.AbstractMojo mojo, File outputDirectory, String osOutputSubDirectoryName, String mainClassName, String applicationName, String libraryDirectory, Set<org.apache.maven.artifact.Artifact> transitiveArtifacts, Set<File> resourceDirectories, Properties parameterProperties, String[] systemProperties, String[] vmArguments, String[] narClassifierTypes)
mojo
- the parent mojo classoutputDirectory
- where to create the .app structureosOutputSubDirectoryName
- the name of the directory under the
output directory in which this lancher structure will be created, e.g
linux or macosxmainClassName
- 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:typespublic void createLauncher() throws IOException
createLauncher
in class LauncherCreator
IOException
- on creation failureCopyright © 2019 DevZendo.org. All rights reserved.