James Moger
2011-07-18 333f550a87c9cd8f5632a712d7f932cb436c10df
src/com/gitblit/build/Build.java
@@ -35,6 +35,18 @@
import com.gitblit.Constants;
import com.gitblit.utils.StringUtils;
/**
 * The Build class downloads runtime and compile-time jar files from the Apache
 * or Eclipse Maven repositories.
 *
 * It also generates the Keys class from the gitblit.properties file.
 *
 * Its important that this class have minimal compile dependencies since its
 * called very early in the build script.
 *
 * @author James Moger
 *
 */
public class Build {
   public static enum BuildType {
@@ -95,6 +107,10 @@
      downloadFromApache(MavenObject.COMMONSNET, BuildType.RUNTIME);
   }
   /**
    * Builds the Keys class based on the gitblit.properties file and inserts
    * the class source into the project source folder.
    */
   public static void buildSettingKeys() {
      // Load all keys
      Properties properties = new Properties();
@@ -297,7 +313,7 @@
      String anim = "==========";
      int width = Math.round(anim.length() * progress);
      System.out.print("\r[");
      System.out.print(anim.substring(0, width));
      System.out.print(anim.substring(0, Math.min(width, anim.length())));
      for (int i = 0; i < anim.length() - width; i++) {
         System.out.print(' ');
      }
@@ -368,10 +384,10 @@
            237000, 0, 0, "c94f54227b08100974c36170dcb53329435fe5ad", "", "");
      public static final MavenObject MARKDOWNPAPERS = new MavenObject("MarkdownPapers",
            "org/tautua/markdownpapers", "markdownpapers-core", "1.0.0", 87000, 58000, 278000,
            "feda63bd149f3315da210e397d45d02277038ad5",
            "a9a6c4d163af81e265a15138fcaeafa9829c6054",
            "f932656266a7f9593488d3f89e815d0af44d0853");
            "org/tautua/markdownpapers", "markdownpapers-core", "1.1.0", 87000, 58000, 278000,
            "b879b4720fa642d3c490ab559af132daaa16dbb4",
            "d98c53939815be2777d5a56dcdc3bbc9ddb468fa",
            "4c09d2d3073e85b973572292af00bd69681df76b");
      public static final MavenObject BOUNCYCASTLE = new MavenObject("BouncyCastle",
            "org/bouncycastle", "bcprov-jdk16", "1.46", 1900000, 1400000, 4670000,