forked from eXist-db/exist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathextensions-build.xml
85 lines (69 loc) · 2.62 KB
/
extensions-build.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
74
75
76
77
78
79
80
81
82
83
84
85
<?xml version="1.0" encoding="UTF-8"?>
<project basedir="." default="all" name="existdb">
<!--
all Build and test everything; create a distribution, optionally install.
clean Delete all generated files and directories.
deploy Deploy the code, usually to a remote server.
dist Produce the distributables.
distclean Clean up the distribution files only.
docs Generate all documentation.
init Initialize the build: create directories, call <tstamp> and other common actions.
install Perform a local installation.
javadocs Generate the Javadoc pages.
printerdocs Generate printable documents.
test Run the unit tests.
uninstall Remove a local installation.
-->
<property name="existhome.dir" location="../.."/>
<target name="all" description="Compile sources, create jars">
<echo>${ant.project.name}</echo>
<echo>basedir=${basedir}</echo>
<echo>existhome.dir=${existhome.dir}</echo>
<!-- <include name="extensions/indexes/*/extension.xml"/>
<include name="extensions/extension.xml"/>
<include name="extensions/*/extension.xml"/>
<include name="extensions/exquery/*/extension.xml"/> -->
<subant target="all">
<fileset dir="${existhome.dir}/">
<include name="extensions/**/extension.xml"/>
</fileset>
</subant>
</target>
<target name="clean" description="Clean generated files (classes, jars)">
<echo>${existhome.dir}</echo>
<echo>${basedir}</echo>
<subant target="clean">
<fileset dir="${existhome.dir}">
<include name="extensions/**/extension.xml"/>
</fileset>
</subant>
</target>
<target name="dist" description="Create jar files.">
<subant target="dist">
<fileset dir="${existhome.dir}/">
<include name="extensions/**/extension.xml"/>
</fileset>
</subant>
</target>
<target name="compile" description="Compile sources">
<subant target="compile">
<include name="extensions/**/extension.xml"/>
</subant>
</target>
<target name="clean-all" description="Clean download, data etc."> </target>
<target name="init" description="Initialize the build."> </target>
<target name="test" description="Run tests on extensions.">
<subant target="test">
<fileset dir="${existhome.dir}/">
<include name="extensions/**/extension.xml"/>
</fileset>
</subant>
</target>
<target name="javadoc" description="Generate javadoc for extensions.">
<subant target="javadoc">
<fileset dir="${existhome.dir}/">
<include name="extensions/**/extension.xml"/>
</fileset>
</subant>
</target>
</project>