-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodule-deploy.xml
73 lines (63 loc) · 2.19 KB
/
module-deploy.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<!--
This build file provides deployment service
for the FigisFactsheets module.
Public targest :
deploy
-->
<project default="deploy" name="module-deploy">
<property name="build.deploy.home.dir" value="${build.deploy.target}/webapps/figis"/>
<property name="build.deploy.module" value="FigisFactsheets"/>
<property name="build.deploy.jars.dir" value="${build.deploy.home.dir}/WEB-INF/lib"/>
<property name="build.deploy.properties.dir" value="${build.deploy.home.dir}/WEB-INF/properties"/>
<echoproperties prefix="build.deploy."/>
<target name="check-target-property">
<fail message="build.deploy.target undefined" unless="build.deploy.target"/>
</target>
<!--
================================================
deploy
================================================
-->
<target name="deploy"
description="Module deployment"
depends="check-target-property, deploy-jars">
</target>
<!--
deploy-jars
-->
<target name="deploy-jars">
<mkdir dir="${build.deploy.jars.dir}"/>
<copy todir="${build.deploy.jars.dir}" includeEmptyDirs="no" failonerror="false" overwrite="true">
<fileset dir="${build.dist.jars.dir}">
<include name="*.jar"/>
</fileset>
</copy>
</target>
<!--
deploy-porperties
-->
<!--
<target name="deploy-properties">
<mkdir dir="${build.deploy.properties.dir}"/>
<copy todir="${build.deploy.properties.dir}" includeEmptyDirs="no" failonerror="false">
<fileset dir="${build.dist.src.properties.dir}">
<include name="DomainPaths.properties"/>
<include name="RefObjects.properties"/>
<include name="TableAccessorFactory.properties"/>
<include name="uploadcfg.properties"/>
</fileset>
</copy>
<mkdir dir="${build.deploy.properties.dir}/common"/>
<copy todir="${build.deploy.properties.dir}/common" includeEmptyDirs="no" failonerror="false">
<fileset dir="${build.dist.src.properties.dir}">
<include name="**"/>
<exclude name="DomainPaths.properties"/>
<exclude name="RefObjects.properties"/>
<exclude name="TableAccessorFactory.properties"/>
<exclude name="uploadcfg.properties"/>
</fileset>
</copy>
</target>
-->
</project>