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(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
ToolsetSettings properties) |
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.
|
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(hudson.model.AbstractBuild build, hudson.Launcher launcher, ToolsetSettings properties) throws ToolsetException
ToolsetException
public 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.Exception
public hudson.FilePath compile(hudson.FilePath[] input) throws Exception, ToolsetException
input
- set of source files.Exception
ToolsetException
public hudson.FilePath compile(hudson.FilePath[] input, hudson.FilePath output) throws Exception, ToolsetException
input
- set of source files.output
- object file.Exception
ToolsetException
public hudson.FilePath link(hudson.FilePath file) throws Exception, ToolsetException
file
- object file.Exception
ToolsetException
public hudson.FilePath link(hudson.FilePath[] input) throws Exception, ToolsetException
input
- set of object files.Exception
ToolsetException
public hudson.FilePath link(hudson.FilePath[] input, hudson.FilePath output) throws Exception, ToolsetException
input
- set of object files.output
- name of MSI package.Exception
ToolsetException
public hudson.FilePath link(hudson.FilePath input, hudson.FilePath output) throws Exception, ToolsetException
link
.input
- input FilePathoutput
- output FilePathException
ToolsetException
Copyright © 2004-2015 Berg Systeme. All Rights Reserved.