Little enhancements of the look of the main page.

The build date is included in the footer.
This commit is contained in:
Maxime Sinclair
2011-03-31 16:20:15 +02:00
parent 0f34349037
commit 48266b302d
4 changed files with 48 additions and 11 deletions

View File

@@ -1,6 +1,6 @@
<project default="main" basedir=".">
<target name="main" depends="clean,compile,war">
<target name="main" depends="clean,war">
</target>
<taskdef name="junit"
@@ -41,10 +41,27 @@
<javac srcdir="src" destdir="content/WEB-INF/classes" debug="${debug}" classpathref="project-classpath" />
</target>
<target name="war">
<target name="prepare" depends="init">
<!-- So that we can use the ${TSTAMP}, ${DSTAMP} -->
<tstamp />
<filter token="timestamp" value="${DSTAMP}"/>
<copy todir="${target}/root" filtering="true" >
<fileset dir="content">
<include name="*.jsp*"/>
</fileset>
</copy>
<copy todir="${target}/root" filtering="false" >
<fileset dir="content">
<exclude name="*.jsp*"/>
<exclude name="*-INF/**"/>
</fileset>
</copy>
</target>
<target name="war" depends="prepare, compile">
<war destfile="${target}/plantuml.war" webxml="content/WEB-INF/web.xml">
<classes dir="content/WEB-INF/classes" />
<fileset dir="content" excludes="WEB-INF/**"/>
<fileset dir="${target}/root" />
<lib dir="content/WEB-INF/lib" />
</war>
</target>