-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.xml
44 lines (38 loc) · 1.33 KB
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<project name="ibm.verify.integraion.webapp" basedir="." default="all">
<description>Sample ISVA web application</description>
<property name="dist.dir" value="dist"/>
<property name="war.dir" value="${dist.dir}/war"/>
<property name="web.dir" value="web"/>
<target name="init">
<mkdir dir="${dist.dir}"/>
<echo>Copying web into dist</echo>
<copydir dest="${dist.dir}/web" src="${web.dir}" />
</target>
<target name="clean">
<delete dir="${dist.dir}" />
</target>
<target name="buildwar">
<war basedir="${dist.dir}/web" destfile="${dist.dir}/LIBERTY_SecTestWeb.war"
webxml="${basedir}/LIBERTY-WEB-INF/web.xml">
<exclude name="BASIC-WEB-INF/**" />
<webinf dir="${basedir}/LIBERTY-WEB-INF/">
<include name="**/*" />
</webinf>
</war>
<war basedir="${dist.dir}/web" destfile="${dist.dir}/JBOSS_SecTestWeb.war"
webxml="${basedir}/JBOSS-WEB-INF/web.xml">
<exclude name="JBOSS-WEB-INF/**" />
<webinf dir="${basedir}/JBOSS-WEB-INF/">
<include name="**/*" />
</webinf>
</war>
<war basedir="${dist.dir}/web" destfile="${dist.dir}/TOMCAT_SecTestWeb.war"
webxml="${basedir}/TOMCAT-WEB-INF/web.xml">
<exclude name="TOMCAT-WEB-INF/**" />
<webinf dir="${basedir}/TOMCAT-WEB-INF/">
<include name="**/*" />
</webinf>
</war>
</target>
<target name="all" depends="clean,init,buildwar"/>
</project>