public final class WindowsPlatform extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addVersionFiles(VersionInfo versionInfo,
LinkType linkType,
File outputFile,
boolean isDebug,
File objDir,
TargetMatcher matcher)
Adds source or object files to the bidded fileset to
support version information.
|
static short[] |
parseVersion(String version)
Parse version string into array of four short values.
|
static void |
writeResource(Writer writer,
VersionInfo versionInfo,
File outputFile,
boolean isDebug,
LinkType linkType)
Writes windows resource.
|
public static void addVersionFiles(VersionInfo versionInfo, LinkType linkType, File outputFile, boolean isDebug, File objDir, TargetMatcher matcher) throws IOException
versionInfo - version informationlinkType - link typeisDebug - true if debug buildoutputFile - name of generated executableobjDir - directory for generated filesmatcher - bidded filesetIOException - if unable to write version resourcepublic static short[] parseVersion(String version)
version - String versionpublic static void writeResource(Writer writer, VersionInfo versionInfo, File outputFile, boolean isDebug, LinkType linkType) throws IOException
writer - writer, may not be nulversionInfo - version informationoutputFile - executable fileisDebug - true if debuglinkType - link typeIOException - if error writing resource fileCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.