Statistics
| Revision:

svn-gvsig-desktop / trunk / applications / appgvSIG / globalbuild.xml @ 5603

History | View | Annotate | Download (5.2 KB)

1
<project name="gvSIG" default="main" basedir=".">
2
        <description>
3
                Construye gvSIG
4
        </description>
5
        <!-- set global properties for this build -->
6
        <property name="andami" location="../_fwAndami"/>
7
        <property name="utiles" location="../libIverUtiles"/>
8
        <property name="core" location="../libCorePlugin"/>
9
        <property name="driver" location="../libDriverManager"/>
10
        <property name="cms" location="../libCq CMS for java"/>
11
        <property name="fmap" location="../libFMap"/>
12
        <property name="gvSIG" location="../appgvSIG"/>
13
        <property name="remote" location="../libRemoteServices"/>
14
        <property name="gdbms" location="../libGDBMS"/>
15
        <property name="i18n" location="../libInternationalization"/>
16
        <property name="appcatalog" location="../appCatalogYNomenclatorClient"/>
17
        <property name="catalog" location="../extCatalogYNomenclator"/>
18
        <property name="dataloc" location="../extDataLocator"/>
19
        <property name="event" location="../extAddEventTheme"/>
20
        <property name="libdwg" location="../libDwg"/>
21
        <property name="extdwg" location="../extDwg"/>
22
        <property name="cad" location="../extCAD"/>
23
        <property name="geoprocessing" location="../extGeoProcessing"/>
24
        <property name="georeferencing" location="../extGeoreferencing"/>
25
        <property name="jdbc" location="../extJDBC"/>
26
        <property name="rastertools" location="../extRasterTools"/>
27
        <property name="wcs" location="../extWCS"/>
28
        <property name="wfs" location="../extWFS2"/>
29
        <property name="wms" location="../extWMS"/>
30

    
31
        <target name="main"
32
                                depends="init,base,extensions"
33
                                description="Builds the application, including extensions" />
34

    
35
        <target name="init">
36
                <!-- Create the time stamp -->
37
                <tstamp/>
38
        </target>
39
        
40
        <target name="base"
41
                        description="Builds the application, excluding extensions">
42
                <ant dir="${utiles}" target="batch-build" inheritAll="false" />
43
                  <ant dir="${i18n}" target="batch-build" inheritAll="false" />
44
                <ant dir="${andami}" target="batch-build"  inheritAll="false" />
45
                <ant dir="${core}" target="batch-build"  inheritAll="false" />
46
                <ant dir="${cms}" target="batch-build"  inheritAll="false" />
47
                <ant dir="${driver}" target="batch-build"  inheritAll="false" />
48
                <ant dir="${remote}" target="batch-build"  inheritAll="false" />
49
                <ant dir="${gdbms}" target="batch-build" inheritAll="false" />
50
                <ant dir="${fmap}" target="batch-build"  inheritAll="false" />
51
                <ant dir="${gvSIG}" target="batch-build"  inheritAll="false" />
52
        </target>
53
        
54
        <target name="extensions" depends="base">
55
                <ant dir="${event}" target="batch-build" inheritAll="false" />
56
                <ant dir="${libdwg}" target="batch-build" inheritAll="false" />
57
                <ant dir="${extdwg}" target="batch-build" inheritAll="false" />
58
                <ant dir="${jdbc}" target="batch-build" inheritAll="false" />
59
                <ant dir="${cad}" target="batch-build" inheritAll="false" />
60
                <ant dir="${appcatalog}" target="batch-build" inheritAll="false" />
61
                <ant dir="${catalog}" target="batch-build" inheritAll="false" />
62
                <ant dir="${wcs}" target="batch-build" inheritAll="false" />
63
                <ant dir="${wms}" target="batch-build" inheritAll="false" />
64
                <ant dir="${dataloc}" target="batch-build" inheritAll="false" />
65
                <ant dir="${geoprocessing}" target="batch-build" inheritAll="false" />
66
                <ant dir="${georeferencing}" target="batch-build" inheritAll="false" />
67
                <ant dir="${rastertools}" target="batch-build" inheritAll="false" />
68
                <ant dir="${wfs}" target="batch-build" inheritAll="false" />
69
        </target>
70

    
71

    
72
        <target name="clean"
73
                                depends="clean-base,clean-extensions"
74
                                description="clean up" />
75
        
76
        <target name="clean-base">
77
                <!-- Delete the ${build} and ${dist} directory trees -->
78
                <ant dir="${utiles}" target="clean"/>
79
                <ant dir="${i18n}" target="clean"/>
80
                <ant dir="${andami}" target="clean"/>
81
                <ant dir="${core}" target="clean"/>
82
                <ant dir="${cms}" target="clean"/>
83
                <ant dir="${driver}" target="clean"/>
84
                <ant dir="${remote}" target="clean"/>
85
                <ant dir="${gdbms}" target="clean"/>
86
                <ant dir="${fmap}" target="clean"/>
87
                <ant dir="${gvSIG}" target="clean"/>
88
        </target>
89
        
90
        <target name="clean-extensions">
91
                <ant dir="${event}" target="clean" inheritAll="false" />
92
                <ant dir="${libdwg}" target="clean" inheritAll="false" />
93
                <ant dir="${extdwg}" target="clean" inheritAll="false" />
94
                <ant dir="${jdbc}" target="clean" inheritAll="false" />
95
                <ant dir="${cad}" target="clean" inheritAll="false" />
96
                <ant dir="${appcatalog}" target="clean" inheritAll="false" />
97
                <ant dir="${catalog}" target="clean" inheritAll="false" />
98
                <ant dir="${wcs}" target="clean" inheritAll="false" />
99
                <ant dir="${wms}" target="clean" inheritAll="false" />
100
                <ant dir="${dataloc}" target="clean" inheritAll="false" />
101
                <ant dir="${geoprocessing}" target="clean" inheritAll="false" />
102
                <ant dir="${georeferencing}" target="clean" inheritAll="false" />
103
                <ant dir="${rastertools}" target="clean" inheritAll="false" />
104
                <ant dir="${wfs}" target="clean" inheritAll="false" />
105
        </target>
106

    
107
        <!-- The download targets are no working well yet -->
108
        <target name="download"
109
                        description="downloads all the projects from the CVS HEAD"
110
                        depends="download-base, download-extensions">
111
        </target>
112

    
113
        <target name="download-base">
114
                <cvs
115
                        dest="${andami}"
116
                        package="gvSIG-project/frameworks/_fwAndami"
117
                        cvsRoot=":extssh:www.gvsig.org:/var/lib/cvs-gvSIG" />
118
        </target>
119
        
120
        <target name="download-extensions">
121
        </target>
122
</project>