James Moger
2014-06-17 41dd02a437c174ed71fd6c8b3d76000bbbcbc3bd
Fix WAR web.xml generation regression
2 files modified
15 ■■■■■ changed files
build.moxie 2 ●●● patch | view | raw | blame | history
build.xml 13 ●●●●● patch | view | raw | blame | history
build.moxie
@@ -3,7 +3,7 @@
#
# Specify minimum Moxie version required to build
requires: 0.9.2
requires: 0.9.3
# Project Metadata
name: Gitblit
build.xml
@@ -8,7 +8,7 @@
        documentation @ http://gitblit.github.io/moxie
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    -->
    <property name="moxie.version" value="0.9.2" />
    <property name="moxie.version" value="0.9.3" />
    <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" />
@@ -251,13 +251,10 @@
        <!-- Prepare the data directory -->
        <prepareDataDirectory toDir="${webinf}/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 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>
        <!-- Gitblit jar -->
        <mx:jar destfile="${webinf}/lib/gitblit.jar" includeresources="false" />