com.threerings.media.tools
Class ResourceIndexerTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by 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.


Field Summary
protected  ArrayList<FileSet> _filesets
          A list of filesets that contain files to include in the index.
protected  String _indexFile
          The name of the file to which we should write the index.
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
ResourceIndexerTask()
           
 
Method Summary
 void addFileset(FileSet set)
          Adds a nested <fileset> element.
 void execute()
           
 void setIndexFile(String 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
 
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
 

Field Detail

_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.

Constructor Detail

ResourceIndexerTask

public ResourceIndexerTask()
Method Detail

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