test configuration
This commit is contained in:
parent
df89a9d79d
commit
1d8ba82673
@ -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"/>
|
||||
|
Loading…
Reference in New Issue
Block a user