From b1dba764c201f4708b82767b2d91edb6e189ce6f Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Fri, 22 Jul 2011 10:09:18 -0400 Subject: [PATCH] Fixed (again) empty repository check (issue 13) --- src/com/gitblit/build/Build.java | 18 ++++++++++++++---- 1 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/com/gitblit/build/Build.java b/src/com/gitblit/build/Build.java index 8d2ed0a..66bf49a 100644 --- a/src/com/gitblit/build/Build.java +++ b/src/com/gitblit/build/Build.java @@ -49,6 +49,11 @@ */ public class Build { + /** + * BuildType enumeration representing compile-time or runtime. This is used + * to download dependencies either for Gitblit GO runtime or for setting up + * a development environment. + */ public static enum BuildType { RUNTIME, COMPILETIME; } @@ -320,6 +325,11 @@ System.out.print("] " + url); } + /** + * MavenObject represents a complete maven artifact (binary, sources, and + * javadoc). MavenObjects can be downloaded and checksummed to confirm + * authenticity. + */ private static class MavenObject { public static final MavenObject JCOMMANDER = new MavenObject("jCommander", "com/beust", @@ -329,10 +339,10 @@ "c7adc475ca40c288c93054e0f4fe58f3a98c0cb5"); public static final MavenObject JETTY = new MavenObject("Jetty", - "org/eclipse/jetty/aggregate", "jetty-webapp", "7.4.2.v20110526", 1000000, 680000, - 2720000, "56331143afa22d24d9faba96e86e6371b0686c7c", - "9f38230fd589e29c8be0fc3c80fb51c5093c2e1e", - "0d48212889c25252c5c14bef62703e28215d80cc"); + "org/eclipse/jetty/aggregate", "jetty-webapp", "7.4.3.v20110701", 1000000, 680000, + 2720000, "bde072b178f9650e2308f0babe58a4baaa469e3c", + "bc75f05dd4f7fa848720ac669b8b438ee4a6b146", + "dcd42f672e734521d1a6ccc0c2f9ecded1a1a281"); public static final MavenObject SERVLET = new MavenObject("Servlet 2.5", "javax/servlet", "servlet-api", "2.5", 105000, 158000, 0, -- Gitblit v1.9.1