Reputation: 2190
During our build , we call ANT from our Python .For code checkout,We have two options to checkout code from Git.
Can anyone please brief about pros and cons of both approach. I am new to all three tech.
Thanks
Upvotes: 0
Views: 126
Reputation: 4462
I would make with ant - it standard tool for Java-platform. May be generate ant from python or other one. Lack of this manner is not flexible of ant by comparison with Python.
Lack of Python-based solution is greater complexity of deployment in future: for linux good practice make packet, for Windows you have install python and libs manually.
Upvotes: 1
Reputation: 2013
In the end it is the git executable which will be called to actually do the checkout. So either python calls git, or python calls ant which calls git. Just take the simplest, python which calls git via subprocess.
Upvotes: 1