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