Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321237

Summary: Add Ant tasks for common Git commands
Product: [Technology] JGit Reporter: Chris Aniszczyk <caniszczyk>
Component: JGitAssignee: Chris Aniszczyk <caniszczyk>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: bluesoldier, gunnar, KetanPadegaonkar, nfalco79, pwebster
Version: unspecifiedKeywords: noteworthy
Target Milestone: 1.0.0   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Bug Depends on:    
Bug Blocks: 349056    

Description Chris Aniszczyk CLA 2010-07-29 11:18:41 EDT
To help with bug 289838 and other cases where people want to use Ant and work with Git, we should look at providing a <git> Ant task that uses JGit.
Comment 1 Ketan Padegaonkar CLA 2011-02-12 11:23:00 EST
Hey, I think this looks like a good bug to 'fix' to be able to get my hands dirty with JGit!

Any volunteers to flesh out initial set of ant tasks that need support ?
Comment 2 Chris Aniszczyk CLA 2011-02-12 12:16:55 EST
I'd start with clone and checkout.

However, there may be some other better fruit for you tackle :)
Comment 3 Ketan Padegaonkar CLA 2011-04-25 13:29:41 EDT
I've pushed changes to http://egit.eclipse.org/r/#change,3241

Would love to hear any comments.
Comment 4 Ketan Padegaonkar CLA 2011-04-25 17:19:18 EDT
I should mention that this will involve a CQ for ant (CQ 2476).
Comment 5 Chris Aniszczyk CLA 2011-04-25 18:03:09 EDT
Neat. This will be looked at after 0.12

I'll look at splitting up the changesets to be under 250 lines so we can get this in quicker.
Comment 6 Chris Aniszczyk CLA 2011-04-27 17:39:28 EDT
CQ created: http://dev.eclipse.org/ipzilla/show_bug.cgi?id=5111
Comment 7 Chris Aniszczyk CLA 2011-04-27 17:39:56 EDT
I'll look at cleaning things up for the next release.
Comment 8 Chris Aniszczyk CLA 2011-05-05 12:39:55 EDT
Thank you Ketan for your initial contribution, it helped get things off the ground. I added a new org.eclipse.jgit.ant bundle to JGit and we're good.

http://egit.eclipse.org/r/#change,3337

For any other additional Ant tasks, please open new bugs.