Project

General

Profile

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

git_sitools_idoc / flarecast / workspace / fr.cnes.sitools.ext.test / build / struct.xml @ master

1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<!-- ===================================
3
==  Copyright 2010-2014 CNES - CENTRE NATIONAL d'ETUDES SPATIALES
4
==  
5
==  This file is part of SITools2.
6
==  
7
==  SITools2 is free software: you can redistribute it and/or modify
8
==  it under the terms of the GNU General Public License as published by
9
==  the Free Software Foundation, either version 3 of the License, or
10
==  (at your option) any later version.
11
==  
12
==  SITools2 is distributed in the hope that it will be useful,
13
==  but WITHOUT ANY WARRANTY; without even the implied warranty of
14
==  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
==  GNU General Public License for more details.
16
==  
17
==  You should have received a copy of the GNU General Public License
18
==  along with SITools2.  If not, see <http://www.gnu.org/licenses/>.
19
==================================== -->
20
        
21

    
22
        <property
23
                file="../fr.cnes.sitools.core/build.properties" />
24
        <property
25
                file="../fr.cnes.sitools.core/conf/build/properties/build-${HOST}.properties" />
26
        
27
        <import
28
                file="${ROOT_DIRECTORY}/workspace/fr.cnes.sitools.core/conf/build/userlibrairies/sitools.userlibraries.ant.xml"
29
                optional="false" />        
30
        
31
        <property name="comp.wp.dir" value="${ROOT_DIRECTORY}/workspace" />
32
        <property name="comp.lib.dir" value="${ROOT_DIRECTORY}/workspace/libraries" />
33
        <property name="comp.cp.dir" value="${ROOT_DIRECTORY}/workspace/fr.cnes.sitools.core/build/jar" />
34
        <property name="cots.dir" value="${ROOT_DIRECTORY}/cots" />
35
        <!-- ===============================================================================
36
                 Parametres du projet
37
             =============================================================================== -->
38
        
39
        <!-- Informations generales sur le projet -->
40
        <property name="project.name"         value="fr.cnes.sitools.ext.test" />
41
        <property name="project.fullname" value="Sitools2 fr.cnes.sitools.ext.test" />
42
        <property name="project.version"         value="3.0"/>
43

    
44
        <!-- Nom de l'application WEB -->
45
        <property name="webapps.name" value="sitools" />
46

    
47
        <!-- Nom des packages du projet utilises par javadoc -->
48
        <property name="project.packagenames" value="fr.cnes.sitools" />
49

    
50
        <!-- Information sur les auteurs du projet -->
51
        <property name="author" value="AKKA Technologies" />
52
        <property name="year" value="2010-2013" />
53

    
54
        <!-- Param?tres de compilation -->
55
        <property name="debug" value="true" />
56
        <property name="optimize" value="off" />
57
        <property name="deprecation" value="off" />
58
        <property name="encoding" value="UTF-8" />
59

    
60
        <!-- Import la d?finition des r?pertoires de l'arborescence projet -->
61
        <!-- Arborescence pour la construction de l'application -->
62
        <property name="audit.dir" value="${ROOT_DIRECTORY}/workspace/fr.cnes.sitools.core/audit" />
63
        <property name="audit.checkstyle.rules.dir" value="${audit.dir}/checkstyle" />
64
        <property name="audit.pmd.rules.dir" value="${audit.dir}/pmd" />
65
        <property name="audit.cobertura.rules.dir" value="${audit.dir}/cobertura" />
66
        <property name="audit.xsl.dir" value="${audit.dir}/xsl" />
67

    
68
        <property name="conf.dir" value="../fr.cnes.sitools.core/conf" />
69
        <property name="conf.bin.dir" value="${conf.dir}/bin" />
70
        <property name="conf.jar.dir" value="${conf.dir}/jar" />
71
        <property name="conf.properties.dir" value="${conf.dir}/properties" />
72
        <property name="conf.war.dir" value="${conf.dir}/war" />
73
        <property name="conf.xml.dir" value="${conf.dir}/xml" />
74
        <property name="lib.dir" value="lib" />
75
        <property name="src.dir" value="src" />
76
        <property name="web.dir" value="web" />
77

    
78
        <!-- Arborescence pour la construction des tests -->
79
        <property name="test.dir" value="test" />
80
        <property name="test.conf.dir" value="${conf.properties.dir}" />
81
        <!-- au lieu de test.dir/conf -->
82
        <property name="test.lib.dir" value="${test.dir}/lib" />
83
        <property name="test.reports.dir" value="${test.dir}/reports" />
84
        <property name="test.reports.data.dir" value="${test.reports.dir}/xml" />
85
        <property name="test.src.dir" value="${test.dir}/src" />
86

    
87
        <property name="test.data.dir" value="${test.dir}/data" />
88
        <property name="root.data.dir" value="${ROOT_DIRECTORY}/data" />
89

    
90
        <property name="extension.dir" value="${ROOT_DIRECTORY}/extensions" />
91

    
92
        <!-- Repertoires destination pour la construction de l'application  -->
93
        <property name="out.dir" value="out" />
94
        <!--property name="out.dir"                 value="web/WEB-INF/"/-->
95
        <property name="out.classes.dir" value="${out.dir}/classes" />
96
        <property name="out.javadoc.dir" value="${out.dir}/javadoc" />
97
        <property name="out.jar.dir" value="../fr.cnes.sitools.core/${out.dir}/jar" />
98
        <property name="out.help.dir" value="${out.dir}/help" />
99
        <property name="out.audit.dir" value="${out.dir}/audit" />
100
        <property name="checkstyle.reports.dir" value="${out.audit.dir}/checkstyle" />
101
        <property name="pmd.reports.dir" value="${out.audit.dir}/pmd" />
102
        <property name="cpd.reports.dir" value="${out.audit.dir}/cpd" />
103
        <property name="cobertura.reports.dir" value="${out.audit.dir}/cobertura" />
104
        <property name="test.classes.dir" value="${out.dir}/classes" />
105
        <property name="checkstyle.xsl" value="checkstyle-noframes-sorted.xsl" />
106
        <!-- properties for Cobertura -->
107
        <property name="instrumented.dir" value="${out.classes.dir}" />
108

    
109
        <!-- Repertoires de deploiement des fichiers "externes" de l'application -->
110
        <property name="dist.dir" value="dist" />
111
        <property name="dist.bin.dir" value="${dist.dir}" />
112
        <property name="dist.conf.dir" value="${dist.dir}" />
113
        <property name="dist.lib.dir" value="${dist.dir}/lib" />
114

    
115
        <!-- Informations pour le deploiement d'application WEB -->
116
        <property name="deploy.webapps.dir" value="${deploy.web.rootdir}/webapps/${webapps.name}" />
117
        <property name="deploy.webapps.uri" value="${deploy.web.host}:${deploy.web.port}/${webapps.name}" />
118

    
119
        <!-- Informations pour le deploiement a distance d'application -->
120
        <property name="deploy.remote.dir" value="${deploy.ftp.dir}" />
121
        
122
        <!-- Tous les fichiers temporaires -->
123
        <patternset id="all.tmp.files">
124
                <include name="**/*.*~"/>
125
                <include name="**/*.bak"/>
126
                <include name="**/*.log"/>
127
        </patternset>
128
        
129
        <path id="compile.classpath">
130
                <pathelement location="${comp.wp.dir}/org.restlet.patched/org.restlet.patched_1.0.4.jar"/>
131
                <pathelement location="${comp.cp.dir}/fr.cnes.sitools.core.jar" />
132
                <path refid="restlet_jse_2_0_5_patched" />
133
                <path refid="sitools_libraries" />
134
        </path>
135
        
136
        <!-- Classpath pour l'execution des tests -->
137
<path id="test.classpath">
138
        <path refid="test" />
139
        <path refid="compile.classpath" />
140
        <pathelement location="${out.classes.dir}" />
141
        <pathelement location="${test.classes.dir}" />
142
        <pathelement location="${test.conf.dir}" />
143
        <!-- <fileset dir="${test.lib.dir}"> -->
144
        <!-- <include name="**/*.jar" /> -->
145
        <!-- <include name="**/*.zip" /> -->
146
        <!-- </fileset> -->
147
</path>
148

    
149
<!-- Tous les fichiers ressource -->
150
        <patternset id="all.resource.files">
151
                <include name="**/*.properties"/>
152
                <include name="**/*.xml"/>
153
                <include name="**/*.xsd"/>
154
                <include name="**/*.dtd"/>
155
                <include name="**/*.wav"/>
156
                <include name="**/*.gif"/>
157
                <include name="**/*.jpg"/>
158
                <include name="**/*.jpeg"/>
159
                <include name="**/*.ini"/>
160
                <include name="**/*.dat"/>
161
                <include name="**/*.html"/>
162
                <include name="**/*.hs"/>
163
                <include name="**/*.jhm"/>
164
                <include name="**/*.htm"/>
165
                <include name="**/*.ftl"/>
166
                <include name="**/*.xsl"/>
167
                <include name="**/*Helper"/>
168
        </patternset>
169