com.threerings.media.tile.bundle.tools
Class TileSetBundlerTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.threerings.media.tile.bundle.tools.TileSetBundlerTask
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
DirectoryTileSetBundlerTask

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

Ant task for creating tilset bundles.


Constructor Summary
TileSetBundlerTask()
           
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet set)
          Adds a nested <fileset> element.
 void execute()
          Performs the actual work of the task.
 void setConfig(File config)
          Sets the path to the bundler configuration file that we'll use when creating the bundle.
 void setKeepRawPngs(boolean keep)
          Note whether we are supposed to use the raw png files directly in the bundle or try to re-encode them.
 void setMapfile(File mapfile)
          Sets the path to the tileset id mapping file we'll use when creating the bundle.
 void setUncompressed(boolean uncompressed)
          Note whether we are supposed to leave the jar uncompressed rather than the normal process of zipping it at maximum compression.
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, 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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TileSetBundlerTask

public TileSetBundlerTask()
Method Detail

setConfig

public void setConfig(File config)
Sets the path to the bundler configuration file that we'll use when creating the bundle.


setMapfile

public void setMapfile(File mapfile)
Sets the path to the tileset id mapping file we'll use when creating the bundle.


addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)
Adds a nested <fileset> element.


setKeepRawPngs

public void setKeepRawPngs(boolean keep)
Note whether we are supposed to use the raw png files directly in the bundle or try to re-encode them.


setUncompressed

public void setUncompressed(boolean uncompressed)
Note whether we are supposed to leave the jar uncompressed rather than the normal process of zipping it at maximum compression.


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Performs the actual work of the task.

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright © 2011. All Rights Reserved.