org.apache.ant.dotnet.wix
Class TallowTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.ant.dotnet.wix.TallowTask
All Implemented Interfaces:
java.lang.Cloneable

public class TallowTask
extends org.apache.tools.ant.Task

Task to run the tallow on packaging content to create a wxs file

See Also:
http://sf.net/projects/wix

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
TallowTask()
           
 
Method Summary
 void addSources(org.apache.tools.ant.types.DirSet ds)
          A set of source files.
 org.apache.tools.ant.types.Commandline.Argument createArg()
          Adds a command-line argument for tallow.exe.
 void execute()
           
 void setSource(java.io.File f)
          The main source file.
 void setTarget(java.io.File f)
          The main target file.
 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.
 
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

TallowTask

public TallowTask()
Method Detail

setVm

public void setVm(java.lang.String value)
Set the name of the executable for the virtual machine.

Parameters:
value - the name of the executable for the virtual machine

setSource

public void setSource(java.io.File f)
The main source file.

tallow may include more directories than this one, the main source is the one passed on the command line.

Parameters:
File - object of the main source file.

setTarget

public void setTarget(java.io.File f)
The main target file.

Parameters:
File - object of the main target file.

addSources

public void addSources(org.apache.tools.ant.types.DirSet ds)
A set of source files.


setWixHome

public void setWixHome(java.io.File f)
Sets the installation directory of WiX.

If omitted, Ant will assume that WiX's executables can be found on the PATH.


createArg

public org.apache.tools.ant.types.Commandline.Argument createArg()
Adds a command-line argument for tallow.exe.

Returns:
new command line argument created.

execute

public void execute()
Overrides:
execute in class org.apache.tools.ant.Task