|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTask
installtoolkit.wix.WixTask
public abstract class WixTask
Base task to wrap the execution of various tools from the WiX toolkit.
Field Summary | |
---|---|
protected boolean |
debug
|
protected Environment |
env
|
protected Path |
files
|
protected boolean |
newenvironment
|
protected boolean |
novalidate
|
protected boolean |
showlogo
|
protected boolean |
smalltables
|
protected int |
verboselevel
|
protected boolean |
warnaserror
|
protected int |
warnlevel
|
protected java.io.File |
wixdir
|
protected java.io.File |
workdir
|
Constructor Summary | |
---|---|
WixTask()
|
Method Summary | |
---|---|
void |
addEnv(Environment.Variable v)
Set enviromnment variables |
Path |
createFiles()
Files to process by the tool |
void |
execute()
|
protected abstract void |
fillCommandLine(Commandline cmdl)
This method must be implemented to fill additional commandline arguments |
protected abstract java.lang.String |
getExeName()
This method must be implemented in the concrete class to retirn the name of the executable. |
void |
setDebug(boolean debug)
Enable debug output |
void |
setNovalidate(boolean novalidate)
Supress validation of the source files |
void |
setSmalltables(boolean smalltables)
Use small table definitions |
void |
setVerboselevel(int verboselevel)
Set the verbose level |
void |
setWarnaserror(boolean warnaserror)
Thread warnings as errors |
void |
setWarnlevel(int warnlevel)
Set the warning level |
void |
setWixdir(java.io.File wixDir)
The directory containing the WiX binaries |
void |
setWorkdir(java.io.File workdir)
The directory to execute the tool |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected boolean debug
protected boolean showlogo
protected int warnlevel
protected int verboselevel
protected boolean warnaserror
protected boolean smalltables
protected boolean novalidate
protected java.io.File wixdir
protected java.io.File workdir
protected boolean newenvironment
protected Path files
protected Environment env
Constructor Detail |
---|
public WixTask()
Method Detail |
---|
protected abstract java.lang.String getExeName()
protected abstract void fillCommandLine(Commandline cmdl)
public void execute() throws BuildException
BuildException
Task#execute()
public void addEnv(Environment.Variable v)
public Path createFiles()
public void setDebug(boolean debug)
public void setWorkdir(java.io.File workdir)
public void setWixdir(java.io.File wixDir)
public void setNovalidate(boolean novalidate)
public void setSmalltables(boolean smalltables)
public void setVerboselevel(int verboselevel)
public void setWarnaserror(boolean warnaserror)
public void setWarnlevel(int warnlevel)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |