java.lang.Cloneable
public class CheckEol
extends org.apache.tools.ant.Task
The goal is to check whether we have problems with Subversion's svn:eol-style property or Git's autocrlf setting when files are committed on one OS and then checked on another one.
Constructor | Description |
---|---|
CheckEol() |
Modifier and Type | Method | Description |
---|---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet fs) |
Sets the files to be checked
|
void |
execute() |
Perform the check
|
void |
setMode(java.lang.String mode) |
Sets the line ending mode.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void addFileset(org.apache.tools.ant.types.FileSet fs)
fs
- The fileset to be checked.public void setMode(java.lang.String mode)
mode
- The line ending mode (either LF or CRLF)public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- if an error occurs during execution of
this task.Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.