Project

General

Profile

Download (2.26 KB) Statistics
| Branch: | Revision:

git_sitools_idoc / flarecast / workspace / org.restlet.ext.solr / build.xml @ master

1 d2a8c3fd Marc NICOLAS
<?xml version="1.0" encoding="UTF-8"?>
2
<project name="org.restlet.ext.solr" default="build" basedir=".">
3
4
        <property file="build.properties" />
5
6
        <property file="../fr.cnes.sitools.core/build.properties" />
7
        <property file="../fr.cnes.sitools.core/conf/build/properties/build-${HOST}.properties" />
8
9
        <property name="build.dir" value="build" />
10
        <property name="build.userlib.dir" value="${build.dir}/userlibraries" />
11
        <property name="cots.dir" value="${ROOT_DIRECTORY}/cots" />
12
13
        <target name="build" depends="refresh-userlibraries, build-project" />
14
15
        <target name="build-project" description="invoke sitools/prototype/test-os-build">
16
                <subant target="build-ext_solr">
17
                        <fileset dir="." includes="build/build.xml" />
18
                </subant>
19
        </target>
20
21
        <!--  
22
                                TARGET refresh-userlibraries
23
                         -->
24
        <target name="refresh-userlibraries" description="Mise à jour des userlibrairies pour eclipse et pour Ant">
25
                <xslt in="${build.userlib.dir}/org.restlet.ext.solr.userlibraries" out="${build.userlib.dir}/org.restlet.ext.solr.userlibraries.eclipse.xml" style="${build.userlib.dir}/org.restlet.ext.solr.userlibraries.xsl" force="true" processor="SaxonLiaison">
26
                        <param name="output" expression="eclipse" />
27
                        <param name="ROOT_DIRECTORY" expression="${ROOT_DIRECTORY}" />
28
                        <outputproperty name="method" value="xml" />
29
                        <outputproperty name="standalone" value="no" />
30
                        <outputproperty name="encoding" value="UTF-8" />
31
                        <outputproperty name="indent" value="yes" />
32
                        <classpath location="${cots.dir}/saxon/saxon9he.jar" />
33
                        <classpath location="${cots.dir}/saxon/SaxonLiaison.jar" />
34
                </xslt>
35
                <xslt in="${build.userlib.dir}/org.restlet.ext.solr.userlibraries" out="${build.userlib.dir}/org.restlet.ext.solr.userlibraries.ant.xml" style="${build.userlib.dir}/org.restlet.ext.solr.userlibraries.xsl" force="true" processor="SaxonLiaison">
36
                        <param name="output" expression="ant" />
37
                        <param name="ROOT_DIRECTORY" expression="${ROOT_DIRECTORY}" />
38
                        <outputproperty name="method" value="xml" />
39
                        <outputproperty name="standalone" value="yes" />
40
                        <outputproperty name="encoding" value="UTF-8" />
41
                        <outputproperty name="indent" value="yes" />
42
                        <classpath location="${cots.dir}/saxon/saxon9he.jar" />
43
                        <classpath location="${cots.dir}/saxon/SaxonLiaison.jar" />
44
                </xslt>
45
        </target>
46
47
</project>