Modifier and Type | Field and Description |
---|---|
protected hudson.util.ArgumentListBuilder |
args |
protected File |
exec |
protected List<String> |
extensions |
protected hudson.Launcher |
launcher |
protected ToolsetLogger |
lg |
protected boolean |
nologo |
protected hudson.FilePath |
outputFile |
protected Map<String,String> |
parameters |
protected List<String> |
rejectedEnvVars |
protected ToolsetSettings |
settings |
protected List<hudson.FilePath> |
sourceFiles |
protected boolean |
verbose |
protected hudson.FilePath |
workspace |
protected boolean |
wxall |
Constructor and Description |
---|
WixCommand(hudson.Launcher launcher,
String ExeName,
ToolsetSettings settings,
hudson.EnvVars vars) |
Modifier and Type | Method and Description |
---|---|
void |
addExtension(String extensionName)
extension assembly or "class, assembly".
|
void |
addParameter(String name,
String value)
define a parameter for the preprocessor.
|
protected void |
addWorkspace(hudson.FilePath workspace) |
protected void |
check()
checks if command is properly configured.
|
protected abstract hudson.util.ArgumentListBuilder |
createCommand()
create command before execution. createCommand is used by execute().
|
boolean |
execute()
executes command and parses the output checking for errors.
|
boolean |
exists()
Checks if binary exists and toolset is properly installed.
|
hudson.FilePath |
getOutputFile()
Returns the output file generated by Wix command.
|
protected boolean |
isEnvVarRejected(String envVar,
String value) |
void |
setNologo(boolean nologo)
skip printing logo information.
|
void |
setOutputFile(hudson.FilePath outputFile)
specify output file (default: write to current directory).
|
void |
setVerbose(boolean verbose)
verbose output.
|
void |
setWxall(boolean wxall)
treat all warnings as errors.
|
String |
toString() |
protected ToolsetLogger lg
protected File exec
protected ToolsetSettings settings
protected List<hudson.FilePath> sourceFiles
protected boolean nologo
protected hudson.FilePath outputFile
protected boolean verbose
protected boolean wxall
protected hudson.Launcher launcher
protected hudson.FilePath workspace
protected hudson.util.ArgumentListBuilder args
public WixCommand(hudson.Launcher launcher, String ExeName, ToolsetSettings settings, hudson.EnvVars vars)
protected void addWorkspace(hudson.FilePath workspace)
public void addParameter(String name, String value)
name
- name of parameter.value
- value of parameter.public void addExtension(String extensionName)
extensionName
- public void setOutputFile(hudson.FilePath outputFile)
outputFile
- public hudson.FilePath getOutputFile()
public void setVerbose(boolean verbose)
verbose
- true enables verbose output (default: false)public void setWxall(boolean wxall)
wxall
- true enables. (default: false).public void setNologo(boolean nologo)
nologo
- set to false shows logo (default: true).protected abstract hudson.util.ArgumentListBuilder createCommand() throws ToolsetException
ToolsetException
public boolean exists() throws ToolsetException
ToolsetException
- if toolset is not configured.protected void check() throws ToolsetException
ToolsetException
public boolean execute() throws Exception, ToolsetException
Exception
ToolsetException
Copyright © 2004-2015 Berg Systeme. All Rights Reserved.