Browse Source

Restore web.xml version stamping

tags/v1.3.0
James Moger 11 years ago
parent
commit
9985ed23ae
1 changed files with 7 additions and 3 deletions
  1. 7
    3
      build.xml

+ 7
- 3
build.xml View File

<prepareDataDirectory toDir="${webinf}/data" /> <prepareDataDirectory toDir="${webinf}/data" />
<!-- Build the WAR web.xml from the prototype web.xml --> <!-- Build the WAR web.xml from the prototype web.xml -->
<mx:webxml sourcefile="${project.src.dir}/WEB-INF/web.xml" destfile="${webinf}/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 --> <!-- Gitblit jar -->
<mx:genjar destfile="${webinf}/lib/gitblit.jar" includeresources="false" excludeclasspathjars="true"> <mx:genjar destfile="${webinf}/lib/gitblit.jar" includeresources="false" excludeclasspathjars="true">
<!-- Build the Express web.xml from the prototype web.xml and gitblit.properties --> <!-- Build the Express web.xml from the prototype web.xml and gitblit.properties -->
<!-- THIS FILE IS NOT OVERRIDDEN ONCE IT IS BUILT!!! --> <!-- THIS FILE IS NOT OVERRIDDEN ONCE IT IS BUILT!!! -->
<mx:webxml sourcefile="${project.src.dir}/WEB-INF/web.xml" destfile="${webinf}/web.xml" <mx:webxml sourcefile="${project.src.dir}/WEB-INF/web.xml" destfile="${webinf}/web.xml"
propertiesFile="${project.distrib.dir}/data/gitblit.properties"
skip="server.*" />
propertiesFile="${project.distrib.dir}/data/gitblit.properties"
skip="server.*">
<replace token="@gb.version@" value="${project.version}" />
</mx:webxml>
<!-- Gitblit classes --> <!-- Gitblit classes -->
<mx:genjar destfile="${webinf}/lib/gitblit.jar" includeresources="false" excludeclasspathjars="true"> <mx:genjar destfile="${webinf}/lib/gitblit.jar" includeresources="false" excludeclasspathjars="true">

Loading…
Cancel
Save