Spiffy UI Framework

org.spiffyui.build
Class GzipListTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.spiffyui.build.GzipListTask
All Implemented Interfaces:
java.lang.Cloneable

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

This is a custom task for a list of GZIPed files from a list of uncompressed files


Field Summary
 
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
GzipListTask()
           
 
Method Summary
 void add(org.apache.tools.ant.types.ResourceCollection c)
          Add an arbitrary ResourceCollection.
 void addFilelist(org.apache.tools.ant.types.FileList list)
          List of files to compile.
 void addFileset(org.apache.tools.ant.types.FileSet set)
          Adds the file set of JavaScript files to compile
 void execute()
          Executes this task to run the compiler.
 void reset()
          Reset state to default.
 void setDest(java.io.File dir)
          Sepcify the location of the directory to output the compressed files
 
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
 

Constructor Detail

GzipListTask

public GzipListTask()
Method Detail

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet set)
Adds the file set of JavaScript files to compile

Parameters:
set - the set of files

addFilelist

public void addFilelist(org.apache.tools.ant.types.FileList list)
List of files to compile.

Parameters:
list - the list of files

setDest

public void setDest(java.io.File dir)
Sepcify the location of the directory to output the compressed files

Parameters:
dir - the output file directory

add

public void add(org.apache.tools.ant.types.ResourceCollection c)
Add an arbitrary ResourceCollection.

Parameters:
c - the ResourceCollection to add.
Since:
Ant 1.7

reset

public void reset()
Reset state to default.


execute

public void execute()
             throws org.apache.tools.ant.BuildException
Executes this task to run the compiler.

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - if there isn't enough information to run the GWT compiler

Spiffy UI Framework