|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.ant.dotnet.wix.WixTask
public class WixTask
Task to run the WiX utility to create MSI files from an XML description.
http://sf.net/projects/wix
Nested Class Summary | |
---|---|
static class |
WixTask.Mode
|
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
WixTask()
|
Method Summary | |
---|---|
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. |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WixTask()
Method Detail |
---|
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |