public final class Toolset extends Object
Toolset checks the existence for the WIX Toolset on the buildsystem. If not available an exception is thrown.
It is used to compile and link wsx-files in a batch mannor triggered by the WixToolsetBuilder.
| Constructor and Description |
|---|
Toolset(ToolsetSettings properties)
constructor with global settings.
|
Toolset(ToolsetSettings properties,
hudson.EnvVars vars)
constructor with global settings and environment variables.
|
| Modifier and Type | Method and Description |
|---|---|
hudson.FilePath |
compile(hudson.FilePath file)
Compiles the given source file.
|
hudson.FilePath |
compile(hudson.FilePath[] input)
Compiles a set of source files.
|
hudson.FilePath |
compile(hudson.FilePath[] input,
hudson.FilePath output)
Compiles a set of source files into a given object file.
|
void |
link()
Deprecated.
use link(FilePath).
|
hudson.FilePath |
link(hudson.FilePath file)
Links the given object file into an MSI package.
|
hudson.FilePath |
link(hudson.FilePath[] input)
Links a set of given object files into an MSI package.
|
hudson.FilePath |
link(hudson.FilePath[] input,
hudson.FilePath output)
Links a set of given object files into an MSI package.
|
hudson.FilePath |
link(hudson.FilePath input,
hudson.FilePath output)
Wrapper method for
link. |
void |
setArchitecture(String cpu) |
public Toolset(ToolsetSettings properties) throws ToolsetException
properties - global settings.ToolsetExceptionpublic Toolset(ToolsetSettings properties, hudson.EnvVars vars) throws ToolsetException
properties - global settings.vars - environment variables.ToolsetExceptionpublic void setArchitecture(String cpu)
public hudson.FilePath compile(hudson.FilePath file)
throws ToolsetException,
Exception
file - source file to compile.ToolsetException - throws an exception if process fails.Exceptionpublic hudson.FilePath compile(hudson.FilePath[] input)
throws Exception,
ToolsetException
input - set of source files.ExceptionToolsetExceptionpublic hudson.FilePath compile(hudson.FilePath[] input,
hudson.FilePath output)
throws Exception,
ToolsetException
input - set of source files.output - object file.ExceptionToolsetExceptionpublic void link()
throws ToolsetException,
Exception
ToolsetExceptionExceptionpublic hudson.FilePath link(hudson.FilePath file)
throws Exception,
ToolsetException
file - object file.ExceptionToolsetExceptionpublic hudson.FilePath link(hudson.FilePath[] input)
throws Exception,
ToolsetException
input - set of object files.ExceptionToolsetExceptionpublic hudson.FilePath link(hudson.FilePath[] input,
hudson.FilePath output)
throws Exception,
ToolsetException
input - set of object files.output - name of MSI package.ExceptionToolsetExceptionpublic hudson.FilePath link(hudson.FilePath input,
hudson.FilePath output)
throws Exception,
ToolsetException
link.input - input FilePathoutput - output FilePathExceptionToolsetExceptionCopyright © 2004-2014 Berg Systeme. All Rights Reserved.