]> source.dussan.org Git - jgit.git/commit
Restore AwtCredentialsProvider to enable debugging pgm in Eclipse 60/46260/1
authorMatthias Sohn <matthias.sohn@sap.com>
Wed, 22 Apr 2015 10:53:35 +0000 (12:53 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Wed, 22 Apr 2015 10:53:35 +0000 (12:53 +0200)
commitff798f13da5f6e57bb8480c57e8db486c9007174
treec9a855878800e58aa4183b897fb766867348d47c
parent12e38d72758b486f19ccfa6c830d1ef95dfb1d11
Restore AwtCredentialsProvider to enable debugging pgm in Eclipse

In 6c1f7393882baf8464859136a70199ea96fcae0f the AWT based credentials
provider was dropped because we don't support Java 5 any longer so we
can always use the ConsoleCredentialsProvider which requires Java 6.
This broke debugging org.eclipse.jgit.pgm since Eclipse doesn't support
using a system console authenticator [1].

[1] see https://bugs.eclipse.org/bugs/show_bug.cgi?id=148831

Change-Id: Iba71001a7762e73d6579ba9dfa5a08ddaba777ea
org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Main.java
org.eclipse.jgit.ui/src/org/eclipse/jgit/awtui/AwtCredentialsProvider.java [new file with mode: 0644]