|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.antcontrib.cpptasks.platforms.WindowsPlatform
public final class WindowsPlatform
Platform specific behavior for Microsoft Windows.
Method Summary | |
---|---|
static void |
addVersionFiles(VersionInfo versionInfo,
LinkType linkType,
java.io.File outputFile,
boolean isDebug,
java.io.File objDir,
TargetMatcher matcher)
Adds source or object files to the bidded fileset to support version information. |
static short[] |
parseVersion(java.lang.String version)
Parse version string into array of four short values. |
static void |
writeResource(java.io.Writer writer,
VersionInfo versionInfo,
java.io.File outputFile,
boolean isDebug,
LinkType linkType)
Writes windows resource. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void addVersionFiles(VersionInfo versionInfo, LinkType linkType, java.io.File outputFile, boolean isDebug, java.io.File objDir, TargetMatcher matcher) throws java.io.IOException
versionInfo
- version informationlinkType
- link typeisDebug
- true if debug buildoutputFile
- name of generated executableobjDir
- directory for generated filesmatcher
- bidded fileset
java.io.IOException
- if unable to write version resourcepublic static short[] parseVersion(java.lang.String version)
version
- String version
public static void writeResource(java.io.Writer writer, VersionInfo versionInfo, java.io.File outputFile, boolean isDebug, LinkType linkType) throws java.io.IOException
writer
- writer, may not be nulversionInfo
- version informationoutputFile
- executable fileisDebug
- true if debuglinkType
- link type
java.io.IOException
- if error writing resource file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |