public class GitInitTask
extends org.apache.tools.ant.Task
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(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(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
Copyright © 2018 Eclipse JGit Project. All rights reserved.