From 81f881a10f2c8456cc4ebfa26327e15655db4646 Mon Sep 17 00:00:00 2001 From: James Moger Date: Thu, 9 Jun 2011 19:06:09 -0400 Subject: Build script improvements for release management. --- .gitignore | 1 + build.xml | 36 ++++++++++++++++++++++++++++++------ docs/doc_footer.html | 7 +++++++ docs/doc_header.html | 39 +++++++++++++++++++++++++++++++++++++++ docs/page_footer.html | 7 ------- docs/page_header.html | 40 ---------------------------------------- docs/site_footer.html | 7 +++++++ docs/site_header.html | 40 ++++++++++++++++++++++++++++++++++++++++ src/com/gitblit/Build.java | 8 ++++++++ 9 files changed, 132 insertions(+), 53 deletions(-) create mode 100644 docs/doc_footer.html create mode 100644 docs/doc_header.html delete mode 100644 docs/page_footer.html delete mode 100644 docs/page_header.html create mode 100644 docs/site_footer.html create mode 100644 docs/site_header.html 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/doc_footer.html b/docs/doc_footer.html new file mode 100644 index 00000000..e1a57381 --- /dev/null +++ b/docs/doc_footer.html @@ -0,0 +1,7 @@ + + + + \ No newline at end of file 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/page_footer.html b/docs/page_footer.html deleted file mode 100644 index e1a57381..00000000 --- a/docs/page_footer.html +++ /dev/null @@ -1,7 +0,0 @@ -
- - - \ No newline at end of file diff --git a/docs/page_header.html b/docs/page_header.html deleted file mode 100644 index 7b8f63d5..00000000 --- a/docs/page_header.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - Gitblit - - - - - - - - - - - - - - - - - - - - - - Fork me on GitHub - - -
\ 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/site_header.html b/docs/site_header.html new file mode 100644 index 00000000..7b8f63d5 --- /dev/null +++ b/docs/site_header.html @@ -0,0 +1,40 @@ + + + + Gitblit + + + + + + + + + + + + + + + + + + + + + + Fork me on GitHub + + +
\ No newline at end of file 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; -- cgit v1.2.3