com.threerings.media.tile.bundle.tools
Class DirectoryTileSetBundlerTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.threerings.media.tile.bundle.tools.TileSetBundlerTask
com.threerings.media.tile.bundle.tools.DirectoryTileSetBundlerTask
- All Implemented Interfaces:
- Cloneable
public class DirectoryTileSetBundlerTask
- extends TileSetBundlerTask
Ant task for creating tileset bundles that are placed in a specified directory instead
of wrapped up in a fancy jar file.
|
Field Summary |
protected File |
_deployDir
The directory in which we want to place our tile set files for deployment. |
| 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 |
_deployDir
protected File _deployDir
- The directory in which we want to place our tile set files for deployment.
DirectoryTileSetBundlerTask
public DirectoryTileSetBundlerTask()
setDeployDir
public void setDeployDir(File deployDir)
- Sets the path to the directory in which we'll be putting our bundle's files.
execute
public void execute()
throws BuildException
- Description copied from class:
TileSetBundlerTask
- Performs the actual work of the task.
- Overrides:
execute in class TileSetBundlerTask
- Throws:
BuildException
createBundler
protected TileSetBundler createBundler()
throws IOException
- Description copied from class:
TileSetBundlerTask
- Create the bundler to use during creation.
- Overrides:
createBundler in class TileSetBundlerTask
- Throws:
IOException
getTargetPath
protected String getTargetPath(File fromDir,
String path)
- Description copied from class:
TileSetBundlerTask
- Returns the target path in which our bundler will write the tile set.
- Overrides:
getTargetPath in class TileSetBundlerTask