com.threerings.media.tools
Class ResourceIndexerTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.threerings.media.tools.ResourceIndexerTask
- All Implemented Interfaces:
- Cloneable
public class ResourceIndexerTask
- extends Task
Creates a file that lists all the resources in a fileset out to an index file.
| 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 |
_filesets
protected ArrayList<FileSet> _filesets
- A list of filesets that contain files to include in the index.
_indexFile
protected String _indexFile
- The name of the file to which we should write the index.
ResourceIndexerTask
public ResourceIndexerTask()
addFileset
public void addFileset(FileSet set)
- Adds a nested <fileset> element.
setIndexFile
public void setIndexFile(String file)
execute
public void execute()
throws BuildException
- Overrides:
execute in class Task
- Throws:
BuildException