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:
- java.lang.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: 283 $
Mise a jour: $Date: 2009-10-10 16:04:48 +0200 (sam., 10 oct. 2009) $ par : $Author: tchemit $
- 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 |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSG_VERBOSE
public static final int MSG_VERBOSE
- See Also:
- Constant Field Values
srcDir
protected java.io.File srcDir
destDir
protected java.io.File destDir
includes
protected java.lang.String[] includes
excludes
protected java.lang.String[] excludes
files
protected java.lang.String[] files
fileInPattern
protected java.lang.String fileInPattern
fileOutPattern
protected java.lang.String fileOutPattern
filters
protected java.lang.String filters
overwrite
protected boolean overwrite
verbose
protected boolean verbose
ProcessorTask
public ProcessorTask()
setVerbose
public void setVerbose(boolean verbose)
setOverwrite
public void setOverwrite(boolean overwrite)
setFileOutPattern
public void setFileOutPattern(java.lang.String fileOutPattern)
setFileInPattern
public void setFileInPattern(java.lang.String fileInPattern)
setSrcdir
public void setSrcdir(java.io.File srcDir)
setDestdir
public void setDestdir(java.io.File destDir)
setFilters
public void setFilters(java.lang.String filters)
applyTransformationFilename
protected java.lang.String applyTransformationFilename(java.lang.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(java.lang.String filein,
java.lang.String fileout)
getExcludes
protected java.lang.String[] getExcludes()
getIncludes
protected java.lang.String[] getIncludes()
setIncludes
public void setIncludes(java.lang.String[] includes)
setIncludes
public void setIncludes(java.lang.String includes)
- Overrides:
setIncludes in class org.apache.tools.ant.taskdefs.MatchingTask
setExcludes
public void setExcludes(java.lang.String[] excludes)
setExcludes
public void setExcludes(java.lang.String excludes)
- Overrides:
setExcludes in class org.apache.tools.ant.taskdefs.MatchingTask
absoluteDestinationName
protected java.lang.String absoluteDestinationName(java.lang.String fileName)
absoluteSourceName
protected java.lang.String absoluteSourceName(java.lang.String fileName)
Copyright © 2009 CodeLutin. All Rights Reserved.