public class WindowsLauncherCreator extends LauncherCreator
Constructor and Description |
---|
WindowsLauncherCreator(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 janelVersion,
String janelBits,
String[] janelCustomLines,
String janelDirectory) |
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 WindowsLauncherCreator(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 janelVersion, String janelBits, String[] janelCustomLines, String janelDirectory)
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 GUI.janelVersion
- the version of Janel, 3.0 or 4.2janelBits
- 32 or 64 bit Janel 4.2janelCustomLines
- an array of extra lines to be added to the launcher filejanelDirectory
- root or bin - where to put the binaries, and do we need to relativise the library directorypublic void createLauncher() throws IOException
createLauncher
in class LauncherCreator
IOException
- on creation failureCopyright © 2019 DevZendo.org. All rights reserved.