| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private File |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | execute()
Overrides org. Called by the project to let the task do its work. |
| public void | setBare(boolean
whether the repository should be initialized to a bare
repository or not. bare)Configure if the repository should be |
| public void |
| bare | back to summary |
|---|---|
| private boolean bare | |
| destination | back to summary |
|---|---|
| private File destination | |
| GitInitTask | back to summary |
|---|---|
| public GitInitTask() | |
| execute | back to summary |
|---|---|
| public void execute() throws BuildException Overrides org. Doc from org. Called by the project to let the task do its work. This method may be called more than once, if the task is invoked more than once. For example, if target1 and target2 both depend on target3, then running "ant target1 target2" will run all tasks in target3 twice.
| |
| setBare | back to summary |
|---|---|
| public void setBare(boolean bare) Configure if the repository should be
| |
| setDest | back to summary |
|---|---|
| public void setDest(File dest) Set the destination git repository.
| |