forked from lookfirst/sardine
-
Notifications
You must be signed in to change notification settings - Fork 0
/
task.xml
66 lines (57 loc) · 1.43 KB
/
task.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
<?xml version="1.0"?>
<!--
Build file for the sardine task examples.
-->
<project name="sardineTask" basedir=".">
<target name="init">
<typedef resource="com/googlecode/sardine/ant/sardinetask.xml">
<classpath>
<fileset dir="./target">
<include name="sardine.jar"/>
</fileset>
<fileset dir="./lib">
<include name="*.jar"/>
</fileset>
</classpath>
</typedef>
</target>
<target name="delete" depends="init">
<sardine username="" password="">
<delete url="" />
</sardine>
</target>
<target name="move" depends="init">
<sardine username="" password="">
<move srcUrl="" dstUrl="" />
</sardine>
</target>
<target name="copy" depends="init">
<sardine username="" password="">
<copy srcUrl="" dstUrl="" />
</sardine>
</target>
<target name="createDirectory" depends="init">
<sardine username="" password="">
<createDirectory url="" />
</sardine>
</target>
<target name="exists" depends="init">
<sardine username="" password="">
<exists url="" property="sardine" />
</sardine>
</target>
<target name="put1" depends="init">
<sardine username="jon" password="stevens">
<put url="http://www.foo.com/">
<fileset dir="${somedir}">
<include name="*" />
</fileset>
</put>
</sardine>
</target>
<target name="put2" depends="init">
<sardine username="jon" password="stevens">
<put url="http://www.foo.com/" file="/tmp/foo" />
</sardine>
</target>
</project>