public class GitInitTask
extends org.apache.tools.ant.Task
Modifier and Type | Field and Description |
---|---|
private boolean |
bare |
private java.io.File |
destination |
Constructor and Description |
---|
GitInitTask() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
void |
setBare(boolean bare)
Configure if the repository should be
bare |
void |
setDest(java.io.File dest)
Set the destination git repository.
|
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 setDest(java.io.File dest)
dest
- the destination directory that should be initialized with the
git repository.public void setBare(boolean bare)
bare
bare
- whether the repository should be initialized to a bare
repository or not.public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException