com.threerings.tools
Class CompiledConfigTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.threerings.tools.CompiledConfigTask
All Implemented Interfaces:
Cloneable

public class CompiledConfigTask
extends Task

Used to parse configuration information from an XML file and create the serialized representation that is used by the client and server.


Field Summary
protected  File _configdef
           
protected  File _dest
           
protected  ArrayList<FileSet> _filesets
           
protected  String _parser
           
protected  File _target
           
 
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
CompiledConfigTask()
           
 
Method Summary
 void addFileset(FileSet set)
           
 void execute()
           
protected  File getTarget(File source)
           
protected  void parse(CompiledConfigParser parser, File confdef, File target)
           
 void setConfigdef(File configdef)
           
 void setDest(File dest)
           
 void setParser(String parser)
           
 void setTarget(File target)
           
 
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

_configdef

protected File _configdef

_target

protected File _target

_dest

protected File _dest

_parser

protected String _parser

_filesets

protected ArrayList<FileSet> _filesets
Constructor Detail

CompiledConfigTask

public CompiledConfigTask()
Method Detail

setParser

public void setParser(String parser)

setConfigdef

public void setConfigdef(File configdef)

setTarget

public void setTarget(File target)

setDest

public void setDest(File dest)

addFileset

public void addFileset(FileSet set)

execute

public void execute()
             throws BuildException
Overrides:
execute in class Task
Throws:
BuildException

getTarget

protected File getTarget(File source)

parse

protected void parse(CompiledConfigParser parser,
                     File confdef,
                     File target)
              throws BuildException
Throws:
BuildException