| Modifier and Type | Field and Description |
|---|---|
protected StringBuffer |
cmd |
protected File |
exec |
protected List<String> |
extensions |
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 boolean |
wxall |
| Constructor and Description |
|---|
WixCommand(String ExeName,
ToolsetSettings settings,
hudson.EnvVars vars) |
WixCommand(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 |
addRejectedEnvVar(String envVar) |
protected void |
appendExtensions() |
protected void |
appendParameters() |
protected void |
appendSources() |
protected void |
check()
checks if command is properly configured.
|
protected void |
clean()
creates new StringBuffer.
|
protected abstract void |
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.
|
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.
|
protected ToolsetLogger lg
protected File exec
protected ToolsetSettings settings
protected StringBuffer cmd
protected List<hudson.FilePath> sourceFiles
protected boolean nologo
protected hudson.FilePath outputFile
protected boolean verbose
protected boolean wxall
public WixCommand(ToolsetSettings settings, hudson.EnvVars vars)
public WixCommand(String ExeName, ToolsetSettings settings, hudson.EnvVars vars)
protected void addRejectedEnvVar(String envVar)
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 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 void createCommand()
throws ToolsetException
ToolsetExceptionpublic boolean exists()
throws ToolsetException
ToolsetException - if toolset is not configured.protected void appendExtensions()
protected void appendParameters()
protected void appendSources()
protected void clean()
protected void check()
throws ToolsetException
ToolsetExceptionpublic boolean execute()
throws Exception,
ToolsetException
ExceptionToolsetExceptionCopyright © 2004-2014 Berg Systeme. All Rights Reserved.