Git Ant Tasks jars

September 27, 2011 by Mike Henke    1 Comment
Posted under: Ant · Git

The JGit project from Eclipse has been working on Eclipse and Git integration. Their user guide mentions an ant task but doesn't show where to download the needed jars. If you knew a little java, you could grab the source and compile a couple from jgit's github account.

<taskdef resource="org/eclipse/jgit/ant/ant-tasks.properties">
<classpath>
    <pathelement location="path/to/org.eclipse.jgit.ant-VERSION.jar"/>
    <pathelement location="path/to/org.eclipse.jgit-VERSION.jar"/>
    <pathelement location="path/to/jsch-0.1.44-1.jar"/>
</classpath>
</taskdef>

I googled around and found them.