From 155bf78e3377910d29b2c912f58c0f496cb428e8 Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 14 Apr 2011 19:44:47 -0400 Subject: [PATCH] Generate Keys class from gitblit.properties as part of build process. --- src/com/gitblit/Constants.java | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/com/gitblit/Constants.java b/src/com/gitblit/Constants.java index 186193e..75f1bad 100644 --- a/src/com/gitblit/Constants.java +++ b/src/com/gitblit/Constants.java @@ -5,17 +5,19 @@ public final static String NAME = "Git:Blit"; public final static String VERSION = "0.0.1"; - + public final static String ADMIN_ROLE = "admin"; - + public final static String PULL_ROLE = "pull"; - + public final static String PUSH_ROLE = "push"; + + public final static String PROPERTIES_FILE = "gitblit.properties"; public static String getGitBlitVersion() { return NAME + " v" + VERSION; } - + public static String getJGitVersion() { return "JGit 0.11.3"; } -- Gitblit v1.9.1