forked from liferay/alloy-taglibs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-common-web.xml
More file actions
30 lines (23 loc) · 842 Bytes
/
Copy pathbuild-common-web.xml
File metadata and controls
30 lines (23 loc) · 842 Bytes
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="build-common-web" xmlns:antelope="antlib:ise.antelope.tasks">
<import file="build-common.xml" />
<property name="temp.dir" value="${project.dir}/_temp" />
<target name="clean">
<delete dir="docroot/WEB-INF/classes" />
<delete dir="${temp.dir}" failonerror="false" />
<delete file="${project.dir}/${war.file}.war" failonerror="false" />
</target>
<target name="deploy" depends="clean, war">
<var name="dest.dir" value="${app.server.tomcat.deploy.dir}" />
<if>
<equals arg1="${deploy.liferay.source}" arg2="true" />
<then>
<var name="dest.dir" value="${lp.source.dir}/portal-web/third-party" />
</then>
</if>
<copy todir="${dest.dir}">
<fileset dir="${project.dir}" includes="*.war" />
</copy>
</target>
<target name="war" depends="compile"></target>
</project>