James Moger
2013-11-29 79cad53bba094cffa1d25581edbf4972a5158cd4
build.xml
@@ -8,14 +8,14 @@
      documentation @ http://gitblit.github.io/moxie
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   -->
   <property name="moxie.version" value="0.8.0" />
   <property name="moxie.version" value="0.9.1" />
   <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" />
   
   <!-- Download Moxie from it's Maven repository to user.home -->
   <mkdir dir="${moxie.dir}" />
   <get src="${moxie.url}/org/moxie/moxie-toolkit/${moxie.version}/${moxie.jar}"
   <get src="${moxie.url}/com/gitblit/moxie/moxie-toolkit/${moxie.version}/${moxie.jar}"
      dest="${moxie.dir}" skipexisting="true" verbose="true" />
   
   <!-- Register Moxie tasks -->
@@ -451,6 +451,7 @@
         <resource file="${project.resources.dir}/commit_merge_16x16.png" />
         <resource file="${project.resources.dir}/commit_divide_16x16.png" />
         <resource file="${project.resources.dir}/star_16x16.png" />
         <resource file="${project.resources.dir}/mirror_16x16.png" />
         <resource file="${project.resources.dir}/blank.png" />
         <resource file="${project.src.dir}/log4j.properties" />
         <resource>
@@ -558,9 +559,6 @@
      <delete>
         <fileset dir="${project.targetDirectory}">
            <include name="javadoc/**" />
            <include name="gbapi-${project.version}.jar" />
            <include name="gbapi-${project.version}-sources.jar" />
            <include name="gbapi-${project.version}-javadoc.jar" />
      </fileset>
      </delete>
   </target>
@@ -663,6 +661,7 @@
         <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/gitblit.properties" />
         
         <regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='http://code.google.com/p/gitblit/issues/detail?id=$3'&gt;issue $3&lt;/a&gt;" />
         <regex searchPattern="\b(pr|pull request)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='https://github.com/gitblit/gitblit/pull/$3'&gt;pull request #$3&lt;/a&gt;" />
         
         <!-- Set the logo from the mx:doc resources -->
         <logo file="${project.resources.dir}/gitblt_25_white.png" />
@@ -711,9 +710,12 @@
      Package and deploy RELEASE artifacts to the Maven repository
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   -->
   <target name="buildMavenArtifacts" depends="prepare">
      <mx:package />
   <target name="buildMavenArtifacts" depends="buildApiLibrary">
      <mx:package />
      <mx:deploy basedir="${maven.directory}" allowsnapshots="false" />
      <mx:deploy basedir="${maven.directory}" allowsnapshots="false"
         name="Gitblit API" description="Gitblit JSON/RSS API client library"
         tags="api" artifactid="gbapi" />
   </target>
@@ -952,7 +954,8 @@
            <properties token="%PROPERTIES%" file="${project.distrib.dir}/data/gitblit.properties" />
            
            <regex searchPattern="\b(issue)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='http://code.google.com/p/gitblit/issues/detail?id=$3'&gt;issue $3&lt;/a&gt;" />
            <regex searchPattern="\b(pr|pull request)(\s*[#]?|-){0,1}(\d+)\b" replacePattern="&lt;a href='https://github.com/gitblit/gitblit/pull/$3'&gt;pull request #$3&lt;/a&gt;" />
            <!-- Set the logo from the mx:doc resources -->
            <logo file="${project.resources.dir}/gitblt_25_white.png" />
            <favicon file="${project.resources.dir}/gitblt-favicon.png" />
@@ -1003,6 +1006,8 @@
               <include name="sendmail-html.groovy" />
               <include name="jenkins.groovy" />
               <include name="protect-refs.groovy" />
               <include name="blockpush.groovy" />
               <include name="localclone.groovy" />
               <include name="fogbugz.groovy" />
               <include name="thebuggenie.groovy" />
            </fileset>