-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
30 lines (26 loc) · 822 Bytes
/
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
<?xml version="1.0" ?>
<project name="take" default="deploy">
<property name="jboss.home" value="C:/Users/Siwiec/Desktop/stuff/take/wildfly-10.1.0.Final" />
<path id="compile.classpath">
<fileset dir="WebContent/WEB-INF/lib">
<include name="*.jar" />
</fileset>
<fileset dir="${jboss.home}/common/lib">
<include name="*.jar" />
</fileset>
</path>
<target name="clean">
<delete dir="dist" />
</target>
<target name="init" depends="clean">
<mkdir dir="dist" />
</target>
<target name="war" depends="init">
<war destfile="dist/${ant.project.name}.war" webxml="WebContent/WEB-INF/web.xml">
<fileset dir="WebContent" />
</war>
</target>
<target name="deploy" depends="war">
<copy file="dist/${ant.project.name}.war" todir="${jboss.home}/standalone/deployments" />
</target>
</project>