test configuration

This commit is contained in:
Peter Hormanns 2012-04-05 13:35:31 +00:00
parent df89a9d79d
commit 1d8ba82673

View File

@ -33,6 +33,7 @@
<delete dir="${build.home}" />
<delete dir="${dist.home}" />
<delete file="webapp/WEB-INF/web.xml" />
<delete file="webapp/META-INF/context.xml" />
</target>
<target name="deploy" depends="war">
@ -55,7 +56,7 @@
</target>
<target name="war" depends="enhance">
<copy file="conf/WEB-INF/${target}-web.xml" todir="webapp/WEB-INF/">
<copy file="conf/WEB-INF/${target}-web.xml" tofile="webapp/WEB-INF/web.xml">
<filterset>
<filter token="LOGIN_HOST" value="${cas.domain.name}"/>
<filter token="LOGIN_PORT" value="${cas.https.port}"/>
@ -63,9 +64,9 @@
<filter token="CONFIG_PORT" value="${hsar.https.port}"/>
</filterset>
</copy>
<copy file="conf/WEB-INF/${target}-context.xml" todir="webapp/META-INF/">
<copy file="conf/META-INF/${target}-context.xml" tofile="webapp/META-INF/context.xml">
</copy>
<war destfile="build/hsar.war" basedir="webapp">
<war destfile="build/hsar.war" basedir="webapp" needxmlfile="false">
<lib dir="lib">
<include name="**/*.jar"/>
<exclude name="**/servlet*.jar"/>