build.xml 1.43 KB
Newer Older
1
<?xml version="1.0" encoding="UTF-8"?>
Mathias Goebel's avatar
Mathias Goebel committed
2
<project default="xar" name="SADE">
Mathias Goebel's avatar
JENKINS    
Mathias Goebel committed
3
    <property environment="env"/>
Mathias Goebel's avatar
Mathias Goebel committed
4
    <property file="build.properties"/>
Mathias Goebel's avatar
Mathias Goebel committed
5
    <property name="build.dir" value="build"/>
6
    <xmlproperty file="expath-pkg.xml.tmpl"/>
Mathias Goebel's avatar
Mathias Goebel committed
7

Mathias Goebel's avatar
Mathias Goebel committed
8
    <target name="xar">
Mathias Goebel's avatar
Mathias Goebel committed
9
        <copy file="expath-pkg.xml.tmpl" tofile="expath-pkg.xml" filtering="true" overwrite="true">
Mathias Goebel's avatar
JENKINS    
Mathias Goebel committed
10
11
            <filterset>
                <filter token="project.version" value="${project.version}"/>
Mathias Goebel's avatar
Mathias Goebel committed
12
13
14
                <filter token="project.title" value="${project.title}"/>
                <filter token="project.abbrev" value="${project.abbrev}"/>
                <filter token="project.namespace" value="${project.namespace}"/>
Mathias Goebel's avatar
JENKINS    
Mathias Goebel committed
15
            </filterset>
Mathias Goebel's avatar
Mathias Goebel committed
16
        </copy>
Mathias Goebel's avatar
Mathias Goebel committed
17
        <mkdir dir="${build.dir}"/>
Mathias Goebel's avatar
jenkins    
Mathias Goebel committed
18
        <zip basedir="." destfile="${build.dir}/${project.abbrev}-${project.version}.xar"
Mathias Goebel's avatar
Mathias Goebel committed
19
            excludes="${build.dir}/*"/>
Mathias Goebel's avatar
Mathias Goebel committed
20
    </target>
Mathias Goebel's avatar
Mathias Goebel committed
21

22
23
24
25
26
27
    <target name="dependencies">
      <get src="https://ci.de.dariah.eu/exist-repo/find.zip?abbrev=cv&amp;processor=${project.processorversion}" dest="${build.dir}/codeview-latest.xar"/>
      <get src="http://exist-db.org/exist/apps/public-repo/find.zip?abbrev=markdown&amp;processor=${project.processorversion}" dest="${build.dir}/markdown-latest.xar"/>
      <get src="http://exist-db.org/exist/apps/public-repo/find.zip?abbrev=monex&amp;processor=${project.processorversion}" dest="${build.dir}/monex-latest.xar"/>
    </target>

Mathias Goebel's avatar
Mathias Goebel committed
28
</project>