installtoolkit.wix
Class FilesFragmentGeneratorTask

java.lang.Object
  extended by Task
      extended by installtoolkit.wix.FilesFragmentGeneratorTask

public class FilesFragmentGeneratorTask
extends Task

Task to generate a WiX fragment file containing a file hierachie build from a directory structure.

Author:
Christian Elberfeld

Constructor Summary
FilesFragmentGeneratorTask()
           
 
Method Summary
 void addDesktop(Shortcut s)
          Shortcut to place on the desktop
 void addStartmenue(Shortcut s)
          Shortcut to place in the startmenue
 Path createConfigfiles()
          Fileset with configuration files
 void execute()
           
 void setDebug(boolean debug)
          Enable debug output
 void setDestdir(java.io.File destdir)
          The directory to create the file
 void setDirectoryid(java.lang.String directoryid)
          The id of the directory to reference
 void setDiskid(java.lang.String diskid)
          The diskid for the generated files
 void setFeatureid(java.lang.String featureid)
          The id of the feature to reference
 void setFilename(java.lang.String filename)
          The name of the fragment file
 void setFragmentid(java.lang.String fragmentid)
          The id of the fragment
 void setIdprefix(java.lang.String idprefix)
          Prefix for generated IDs
 void setSrcdir(java.io.File srcdir)
          Directory containing the the files to include
 void setStartmenuefolder(java.lang.String startmenuefolder)
          The folder inside the startmenue to place the shortcuts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilesFragmentGeneratorTask

public FilesFragmentGeneratorTask()
Method Detail

execute

public void execute()
             throws BuildException
Throws:
BuildException
See Also:
Task#execute()

createConfigfiles

public Path createConfigfiles()
Fileset with configuration files


addDesktop

public void addDesktop(Shortcut s)
Shortcut to place on the desktop


addStartmenue

public void addStartmenue(Shortcut s)
Shortcut to place in the startmenue


setDebug

public void setDebug(boolean debug)
Enable debug output


setDestdir

public void setDestdir(java.io.File destdir)
The directory to create the file


setFilename

public void setFilename(java.lang.String filename)
The name of the fragment file


setDirectoryid

public void setDirectoryid(java.lang.String directoryid)
The id of the directory to reference


setFeatureid

public void setFeatureid(java.lang.String featureid)
The id of the feature to reference


setFragmentid

public void setFragmentid(java.lang.String fragmentid)
The id of the fragment


setSrcdir

public void setSrcdir(java.io.File srcdir)
Directory containing the the files to include


setDiskid

public void setDiskid(java.lang.String diskid)
The diskid for the generated files


setStartmenuefolder

public void setStartmenuefolder(java.lang.String startmenuefolder)
The folder inside the startmenue to place the shortcuts


setIdprefix

public void setIdprefix(java.lang.String idprefix)
Prefix for generated IDs



Copyright 2006-2006 null. All Rights Reserved.