org.openanzo.util.properties
Class PropertiesDefinitionTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by org.openanzo.util.properties.PropertiesDefinitionTask
All Implemented Interfaces:
org.apache.tools.ant.types.selectors.SelectorContainer

public class PropertiesDefinitionTask
extends org.apache.tools.ant.taskdefs.MatchingTask

Ant Task for running property definition generator

Author:
Matthew Roy ( mroy@cambridgesemantics.com )

Constructor Summary
PropertiesDefinitionTask()
          Create a new composition task
 
Method Summary
 void addFileset(org.apache.tools.ant.types.FileSet fileSet)
          Add a set of files to parse
 void execute()
           
 void parseFile(java.lang.String fileName)
          Parse a properties file
 void setDestdir(java.io.File destinationFolder)
          Set the destination file
 void setWikiDestdir(java.io.File destinationFolder)
          Set the wikiDestinationFolder file
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertiesDefinitionTask

public PropertiesDefinitionTask()
Create a new composition task

Method Detail

setDestdir

public void setDestdir(java.io.File destinationFolder)
Set the destination file

Parameters:
destinationFolder - directory where the property classes is written

setWikiDestdir

public void setWikiDestdir(java.io.File destinationFolder)
Set the wikiDestinationFolder file

Parameters:
destinationFolder - directory where the wiki text is written

addFileset

public void addFileset(org.apache.tools.ant.types.FileSet fileSet)
Add a set of files to parse

Parameters:
fileSet - a set of files to parse

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

parseFile

public void parseFile(java.lang.String fileName)
Parse a properties file

Parameters:
fileName - file to parse


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.