From 5c284113a1a458db0d3440de351034503b3d52b3 Mon Sep 17 00:00:00 2001
From: James Moger <james.moger@gitblit.com>
Date: Mon, 11 Jul 2011 16:29:20 -0400
Subject: [PATCH] Optionally display repository on-disk size on repositories page.

---
 src/com/gitblit/Launcher.java |   12 +++++++++---
 1 files changed, 9 insertions(+), 3 deletions(-)

diff --git a/src/com/gitblit/Launcher.java b/src/com/gitblit/Launcher.java
index 7865f24..da61649 100644
--- a/src/com/gitblit/Launcher.java
+++ b/src/com/gitblit/Launcher.java
@@ -30,9 +30,14 @@
 import com.gitblit.build.Build;
 
 /**
- * Launch helper class that adds all jars found in the local "lib" folder and
- * then calls the application main. Using this technique we do not have to
- * specify a classpath and we can dynamically add jars to the distribution.
+ * Launch helper class that adds all jars found in the local "lib" & "ext"
+ * folders and then calls the application main. Using this technique we do not
+ * have to specify a classpath and we can dynamically add jars to the
+ * distribution.
+ * 
+ * This class also downloads all runtime dependencies, if they are not found.
+ * 
+ * @author James Moger
  * 
  */
 public class Launcher {
@@ -52,6 +57,7 @@
 					+ protectionDomain.getCodeSource().getLocation().toExternalForm());
 		}
 
+		// download all runtime dependencies
 		Build.runtime();
 
 		// Load the JARs in the lib and ext folder

--
Gitblit v1.9.1