-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
34 lines (20 loc) · 1 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
<project name="miniblogportlet" basedir="." default="install">
<!-- Properties -->
<property file="build.properties" />
<!-- Targets -->
<target name="clean">
<ant antfile="minibloglib/build.xml" inheritAll="false" target="clean" />
<ant antfile="miniblogportlet/build.xml" inheritAll="false" target="clean" />
</target>
<target name="build" depends="clean">
<ant antfile="miniblogportlet/build.xml" inheritAll="false" target="war" />
</target>
<target name="install" depends="build">
<copy file="minibloglib/minibloglib.jar" todir="${jboss.epp.home}/jboss-as/server/${jboss.epp.instance}/lib" />
<copy file="miniblogportlet/miniblogportlet.war" todir="${jboss.epp.home}/jboss-as/server/${jboss.epp.instance}/deploy" />
</target>
<target name="uninstall">
<delete file="${jboss.epp.home}/jboss-as/server/${jboss.epp.instance}/lib/minibloglib.jar" />
<delete file="${jboss.epp.home}/jboss-as/server/${jboss.epp.instance}/deploy/miniblogportlet.war" />
</target>
</project>