diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2009-10-31 19:39:18 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2009-11-02 17:55:55 -0800 |
commit | 7e8dc53881a4f7babbab9cd9979a49edb7ad03f1 (patch) | |
tree | 454ee570ae7863ac3f48ecf7cc3aa2052dc3806f /org.eclipse.jgit.console/build.properties | |
parent | 27a497f83e683d384d379ee75570f8c25a7aa624 (diff) | |
download | jgit-7e8dc53881a4f7babbab9cd9979a49edb7ad03f1.tar.gz jgit-7e8dc53881a4f7babbab9cd9979a49edb7ad03f1.zip |
Prompt for passwords from the console in jgit command line tools
If we are on a Java 6 JVM we should have the Console class available,
unless the user has redirected /dev/null to stdin. When there is a
console present we would prefer to use that for command line prompts
as that is what the user expects from a command line tool.
Change-Id: Ibaf87bb5540371d94d96d1b7e94ca002f752e5bd
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit.console/build.properties')
-rw-r--r-- | org.eclipse.jgit.console/build.properties | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/org.eclipse.jgit.console/build.properties b/org.eclipse.jgit.console/build.properties new file mode 100644 index 0000000000..aa1a008269 --- /dev/null +++ b/org.eclipse.jgit.console/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.properties |