[r17253]: branches / TxnRedesign / examples-setup.xml Maximize Restore History

Download this file

examples-setup.xml    61 lines (47 with data), 1.8 kB

 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
<?xml version="1.0"?>
<!-- This build file sets up the example XML files provided in
the distribution.
Call it with
build.sh -f example-setup.xml
or
build.bat -f example-setup.xml
-->
<project basedir="." default="store" name="exist-ant-tasks">
<path id="classpath.core">
<fileset dir="lib/core">
<include name="*.jar"/>
</fileset>
<pathelement path="exist.jar"/>
<pathelement path="exist-optional.jar"/>
</path>
<typedef resource="org/exist/ant/antlib.xml"
uri="http://exist-db.org/ant">
<classpath refid="classpath.core"/>
</typedef>
<target name="store" xmlns:xmldb="http://exist-db.org/ant">
<xmldb:store uri="xmldb:exist://localhost:8080/exist/xmlrpc/db/shakespeare/plays"
createcollection="true">
<fileset dir="samples/shakespeare">
<include name="*.xml"/>
<include name="*.xsl"/>
</fileset>
</xmldb:store>
<xmldb:store uri="xmldb:exist://localhost:8080/exist/xmlrpc/db/shakespeare/plays"
type="binary">
<fileset dir="samples/shakespeare">
<include name="*.css"/>
</fileset>
</xmldb:store>
<xmldb:store uri="xmldb:exist://localhost:8080/exist/xmlrpc/db/library"
createcollection="true">
<fileset dir="samples" includes="biblio.rdf"/>
</xmldb:store>
<xmldb:store uri="xmldb:exist://localhost:8080/exist/xmlrpc/db/xinclude"
createcollection="true">
<fileset dir="samples/xinclude" includes="**.xml"/>
</xmldb:store>
<xmldb:store uri="xmldb:exist://localhost:8080/exist/xmlrpc/db">
<fileset dir="samples" includes="examples.xml"/>
</xmldb:store>
</target>
</project>