From 81f881a10f2c8456cc4ebfa26327e15655db4646 Mon Sep 17 00:00:00 2001 From: James Moger Date: Thu, 9 Jun 2011 19:06:09 -0400 Subject: [PATCH] Build script improvements for release management. --- .gitignore | 1 + build.xml | 36 +++++++++++++++---- docs/{page_footer.html => doc_footer.html} | 0 docs/doc_header.html | 39 +++++++++++++++++++++ docs/site_footer.html | 7 ++++ docs/{page_header.html => site_header.html} | 0 src/com/gitblit/Build.java | 8 +++++ 7 files changed, 85 insertions(+), 6 deletions(-) rename docs/{page_footer.html => doc_footer.html} (100%) create mode 100644 docs/doc_header.html create mode 100644 docs/site_footer.html rename docs/{page_header.html => site_header.html} (100%) diff --git a/.gitignore b/.gitignore index 87e1b32c..1819e8ea 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /site /git /target +/build.properties diff --git a/build.xml b/build.xml index 7b22a6ba..c41b788a 100644 --- a/build.xml +++ b/build.xml @@ -6,9 +6,12 @@ - + - + + + + @@ -70,7 +73,7 @@ - + @@ -158,10 +161,10 @@ - + - + @@ -274,7 +277,7 @@ - + @@ -295,4 +298,25 @@ + + + + + + + + + + + + + + + + diff --git a/docs/page_footer.html b/docs/doc_footer.html similarity index 100% rename from docs/page_footer.html rename to docs/doc_footer.html diff --git a/docs/doc_header.html b/docs/doc_header.html new file mode 100644 index 00000000..71ba8415 --- /dev/null +++ b/docs/doc_header.html @@ -0,0 +1,39 @@ + + + + Gitblit + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file diff --git a/docs/site_footer.html b/docs/site_footer.html new file mode 100644 index 00000000..e1a57381 --- /dev/null +++ b/docs/site_footer.html @@ -0,0 +1,7 @@ +
+ + + \ No newline at end of file diff --git a/docs/page_header.html b/docs/site_header.html similarity index 100% rename from docs/page_header.html rename to docs/site_header.html diff --git a/src/com/gitblit/Build.java b/src/com/gitblit/Build.java index 3948fd18..a98169e5 100644 --- a/src/com/gitblit/Build.java +++ b/src/com/gitblit/Build.java @@ -85,6 +85,9 @@ public class Build { downloadFromEclipse(MavenObject.JGIT, BuildType.COMPILETIME); downloadFromEclipse(MavenObject.JGIT_HTTP, BuildType.COMPILETIME); + + // needed for site publishing + downloadFromApache(MavenObject.COMMONSNET, BuildType.RUNTIME); } public static void buildSettingKeys() { @@ -394,6 +397,11 @@ public class Build { "e528f593b19b04d500992606f58b87fcfded8883", "d0ffadd0a4ab909d94a577b5aad43c13b617ddcb"); + public static final MavenObject COMMONSNET = new MavenObject("commons-net", "commons-net", "commons-net", + "1.4.0", 181000, 0, 0, "eb47e8cad2dd7f92fd7e77df1d1529cae87361f7", + "", + ""); + public final String name; public final String group; public final String artifact; -- 2.39.5