-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild_deploy.xml
More file actions
21 lines (16 loc) · 945 Bytes
/
Copy pathbuild_deploy.xml
File metadata and controls
21 lines (16 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0" encoding="UTF-8"?>
<project name="Deploy" basedir="." default="deploy_temp">
<property name="deploy.timestamp_dir" value="${DSTAMP}${TSTAMP}" />
<property name="deploy.dir" value="${project.basedir}" />
<property name="deploy.dry_run" value="false" />
<property name="deploy.source" value="." />
<property name="deploy.destination" value="/var/www" />
<property name="deploy.option" value="-aCvz " />
<taskdef classpath="${deploy.dir}" classname="Deploy" name="deploy" />
<target name="deploy_temp">
<deploy source="${deploy.source}" destination="${deploy.destination}" dryRun="${deploy.dry_run}" option="${deploy.option}"/>
</target>
<target name="deploy_staging">
<deploy source="${deploy.source}" destination="root@tcf.dyndns-web.com:${deploy.destination}" dryRun="${deploy.dry_run}" option="${deploy.option}"/>
</target>
</project>