Phing - Cannot use gitinit
I'm searching for some examples of gitinit for Phing and I found the next
one:
http://phingdoc.pascal-martin.fr/en/phing.optionaltasks.gitinit.html
I made my changes and have this code:
<!-- Initialize normal repository -->
<gitinit repository="${repo.dir.resolved}" />
<!-- Initialize bare repository -->
<gitinit bare="true" repository="${repo.dir.resolved}" />
The problem is no matter the path I use in the value of the "repo.dir" the
result is always the same(with relative path or absolute path), I get this
error message:
"Execution of target "teste" failed fot the following reason: You must
specify readable directory as repository. [wrapped: You must specified
readable directory as repository.]"
No comments:
Post a Comment