public class WixTask
extends org.apache.tools.ant.Task
http://sf.net/projects/wix
Modifier and Type | Class and Description |
---|---|
static class |
WixTask.Mode |
Constructor and Description |
---|
WixTask() |
Modifier and Type | Method and Description |
---|---|
void |
addCandleParameter(AbstractBuildTask.Property t)
A parameter to pass to candle.exe.
|
void |
addLightParameter(AbstractBuildTask.Property t)
A parameter to pass to light.exe.
|
void |
addMoreSources(org.apache.tools.ant.types.FileSet fs)
A set of additional source files (include files in the case of
candle, or media/files/whatever in the case of light).
|
void |
addSources(org.apache.tools.ant.types.FileSet fs)
A set of source files.
|
org.apache.tools.ant.types.Commandline.Argument |
createCandleArg()
Adds a command-line argument for candle.exe.
|
org.apache.tools.ant.types.Commandline.Argument |
createLightArg()
Adds a command-line argument for light.exe.
|
void |
execute() |
void |
setMode(WixTask.Mode m)
Whether to run candle, light or both.
|
void |
setSource(java.io.File f)
The main source file.
|
void |
setTarget(java.io.File f)
The main target file.
|
void |
setUseLit(boolean b)
Instructs the task to use lit.exe rather than light.exe as "compiler".
|
void |
setVm(java.lang.String value)
Set the name of the executable for the virtual machine.
|
void |
setWixHome(java.io.File f)
Sets the installation directory of WiX.
|
void |
setWixobjDestDir(java.io.File f)
Sets the destination directory for wixobj files generated by candle.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setVm(java.lang.String value)
value
- the name of the executable for the virtual machinepublic void setSource(java.io.File f)
candle
may include more files than this one,
the main source is the one passed on the command line.
File
- object of the main source file.public void setTarget(java.io.File f)
File
- object of the main target file.public void addSources(org.apache.tools.ant.types.FileSet fs)
public void addMoreSources(org.apache.tools.ant.types.FileSet fs)
Unlike the files specified as sources, these will not be passed on the command line, they only help Ant to determine whether the target is out-of-date.
public void setWixHome(java.io.File f)
If omitted, Ant will assume that WiX's executables can be found on the PATH.
public void setMode(WixTask.Mode m)
public void setWixobjDestDir(java.io.File f)
Let's candle decide and assumes they'll be created in the current working directory.
public final void addCandleParameter(AbstractBuildTask.Property t)
public final void addLightParameter(AbstractBuildTask.Property t)
public org.apache.tools.ant.types.Commandline.Argument createLightArg()
public org.apache.tools.ant.types.Commandline.Argument createCandleArg()
public void setUseLit(boolean b)
public void execute()
execute
in class org.apache.tools.ant.Task