James Moger
2014-06-16 74029cbbe0d3466167985d90d2ae6aa3ed4dadcd
build.xml
@@ -8,7 +8,7 @@
      documentation @ http://gitblit.github.io/moxie
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   -->
   <property name="moxie.version" value="0.9.1" />
   <property name="moxie.version" value="0.9.2" />
   <property name="moxie.url" value="http://gitblit.github.io/moxie/maven" />
   <property name="moxie.jar" value="moxie-toolkit-${moxie.version}.jar" />
   <property name="moxie.dir" value="${user.home}/.moxie" />
@@ -174,7 +174,18 @@
      <property name="go.dir" value="${project.outputDirectory}/go" />   
      <delete dir="${go.dir}" />
      <local name="webinf" />
      <property name="webinf" value="${project.compileOutputDirectory}/WEB-INF" />
      <prepareDataDirectory toDir="${go.dir}/data" />
      <!-- Copy the web.xml from the prototype web.xml -->
      <copy todir="${webinf}" overwrite="true">
         <fileset file="${project.src.dir}/WEB-INF/web.xml" />
         <filterset>
            <filter token="gb.version" value="${project.version}" />
         </filterset>
      </copy>
      
      <!-- Build jar -->
      <mx:jar destfile="${go.dir}/gitblit.jar" includeresources="true">
@@ -240,10 +251,13 @@
      <!-- Prepare the data directory -->
      <prepareDataDirectory toDir="${webinf}/data" />
      <!-- Build the WAR web.xml from the prototype web.xml -->
      <mx:webxml sourcefile="${project.src.dir}/WEB-INF/web.xml" destfile="${webinf}/web.xml">
         <replace token="@gb.version@" value="${project.version}" />
      </mx:webxml>
      <!-- Copy the web.xml from the prototype web.xml -->
      <copy todir="${webinf}" overwrite="true">
         <fileset file="${project.src.dir}/WEB-INF/web.xml" />
         <filterset>
            <filter token="gb.version" value="${project.version}" />
         </filterset>
      </copy>
      <!-- Gitblit jar -->
      <mx:jar destfile="${webinf}/lib/gitblit.jar" includeresources="false" />
@@ -544,6 +558,10 @@
               <link name="Gitblit GO (Linux/OSX)" src="${gc.url}gitblit-${project.releaseVersion}.tar.gz" />
               <link name="Gitblit WAR" src="${gc.url}gitblit-${project.releaseVersion}.war" />
               <divider />
               <link name="Gitblit GO (Docker)" src="https://registry.hub.docker.com/u/jmoger/gitblit/" />
               <divider />
               <link name="Plugins Registry" src="http://plugins.gitblit.com" />
               <divider />
               <link name="Gitblit Manager" src="${gc.url}manager-${project.releaseVersion}.zip" />
               <link name="Federation Client" src="${gc.url}fedclient-${project.releaseVersion}.zip" />
               <divider />
@@ -558,7 +576,7 @@
            <menu name="links">
               <link name="dev.gitblit.com (self-hosted)" src="https://dev.gitblit.com" />
               <divider />
               <link name="Plugin Registry" src="http://plugins.gitblit.com" />
               <link name="Plugins Registry" src="http://plugins.gitblit.com" />
               <divider />
               <link name="Github" src="${project.scmUrl}" />
               <link name="Issues" src="${project.issuesUrl}" />
@@ -844,7 +862,7 @@
               <menu name="links">
                  <link name="dev.gitblit.com (self-hosted)" src="https://dev.gitblit.com" />
                  <divider />
                  <link name="Plugin Registry" src="http://plugins.gitblit.com" />
                  <link name="Plugins Registry" src="http://plugins.gitblit.com" />
                  <divider />
                  <link name="Github" src="${project.scmUrl}" />
                  <link name="Issues" src="${project.issuesUrl}" />