org.nuiton.processor.ant
Class ProcessorTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.MatchingTask
org.nuiton.processor.ant.ProcessorTask
- All Implemented Interfaces:
- Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer
public class ProcessorTask
- extends org.apache.tools.ant.taskdefs.MatchingTask
Tache ant pour lutinprocessor.
To use this task, put this code in ant build file:
and use it with:
Created: 14 janv. 2004
- Version:
- $Revision: 382 $
Mise a jour: $Date: 2011-02-03 15:09:30 +0100 (Thu, 03 Feb 2011) $ par :
- Author:
- Benjamin Poussin Copyright Code Lutin
| Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
fileset |
| 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 |
| 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, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludesfile, setFollowSymlinks, setIncludesfile, setProject, XsetIgnore, XsetItems |
| 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 |
MSG_VERBOSE
public static final int MSG_VERBOSE
- See Also:
- Constant Field Values
srcDir
protected File srcDir
destDir
protected File destDir
includes
protected String[] includes
excludes
protected String[] excludes
files
protected String[] files
fileInPattern
protected String fileInPattern
fileOutPattern
protected String fileOutPattern
filters
protected String filters
encoding
protected String encoding
overwrite
protected boolean overwrite
verbose
protected boolean verbose
ProcessorTask
public ProcessorTask()
applyTransformationFilename
protected String applyTransformationFilename(String filename)
doExecute
protected void doExecute()
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
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
buildFileList
protected void buildFileList()
isNewer
protected boolean isNewer(String filein,
String fileout)
getExcludes
protected String[] getExcludes()
getIncludes
protected String[] getIncludes()
setIncludes
public void setIncludes(String[] includes)
setIncludes
public void setIncludes(String includes)
- Overrides:
setIncludes in class org.apache.tools.ant.taskdefs.MatchingTask
setExcludes
public void setExcludes(String[] excludes)
setExcludes
public void setExcludes(String excludes)
- Overrides:
setExcludes in class org.apache.tools.ant.taskdefs.MatchingTask
absoluteDestinationName
protected String absoluteDestinationName(String fileName)
absoluteSourceName
protected String absoluteSourceName(String fileName)
setVerbose
public void setVerbose(boolean verbose)
setOverwrite
public void setOverwrite(boolean overwrite)
setFileOutPattern
public void setFileOutPattern(String fileOutPattern)
setFileInPattern
public void setFileInPattern(String fileInPattern)
setSrcdir
public void setSrcdir(File srcDir)
setDestdir
public void setDestdir(File destDir)
setFilters
public void setFilters(String filters)
setEncoding
public void setEncoding(String encoding)
Copyright © 2009-2011 CodeLutin. All Rights Reserved.