svn-gvsig-desktop / tags / v1_1_Build_1009 / binaries / linux / build.xml @ 12649
History | View | Annotate | Download (5.77 KB)
1 | 9203 | cesar | <project name="binaries linux" default="main" basedir="."> |
---|---|---|---|
2 | <description>
|
||
3 | Reorganiza el directorio binaries/linux, para que pueda usarse directamente por gvSIG. |
||
4 | </description>
|
||
5 | |||
6 | <property name="targetDir" location="." /> |
||
7 | |||
8 | <target name="main" depends="ecw, gdal, mrsid" /> |
||
9 | |||
10 | <target name="ecw"> |
||
11 | <copy todir="${targetDir}"> |
||
12 | <fileset dir="raster/ecw" includes="*.so*" /> |
||
13 | </copy>
|
||
14 | 9505 | cesar | <!-- necesitamos borrar los links antes de crearlos, porque failonerror=false no
|
15 | funciona correctamente -->
|
||
16 | <delete file="${targetDir}/libjecwcompress.so"/> |
||
17 | 9203 | cesar | <symlink
|
18 | action="single" |
||
19 | 10968 | jmvivo | resource="libjecwcompress.so.1.0.0" |
20 | 9203 | cesar | link="${targetDir}/libjecwcompress.so" |
21 | failonerror="false" /> |
||
22 | 10968 | jmvivo | <delete file="${targetDir}/libjecwcompress.so.1" /> |
23 | 9203 | cesar | <symlink
|
24 | action="single" |
||
25 | 10968 | jmvivo | resource="libjecwcompress.so.1.0.0" |
26 | link="${targetDir}/libjecwcompress.so.1" |
||
27 | 9203 | cesar | failonerror="false" /> |
28 | 9505 | cesar | <delete file="${targetDir}/libjecw.so" /> |
29 | 9203 | cesar | <symlink
|
30 | action="single" |
||
31 | resource="libjecw.so.0.0.1" |
||
32 | link="${targetDir}/libjecw.so" |
||
33 | failonerror="false" /> |
||
34 | 9505 | cesar | <delete file="${targetDir}/libjecw.so.0" /> |
35 | 9203 | cesar | <symlink
|
36 | action="single" |
||
37 | resource="libjecw.so.0.0.1" |
||
38 | link="${targetDir}/libjecw.so.0" |
||
39 | failonerror="false" /> |
||
40 | 10968 | jmvivo | <delete file="${targetDir}/libNCScnet.so" /> |
41 | 9203 | cesar | <symlink
|
42 | action="single" |
||
43 | 10432 | jmvivo | resource="libNCSCnet.so.0.0.0" |
44 | link="${targetDir}/libNCScnet.so" |
||
45 | failonerror="false" /> |
||
46 | 10968 | jmvivo | <delete file="${targetDir}/libNCSCnet.so" /> |
47 | 10432 | jmvivo | <symlink
|
48 | action="single" |
||
49 | resource="libNCSCnet.so.0.0.0" |
||
50 | 10440 | jmvivo | link="${targetDir}/libNCSCnet.so" |
51 | failonerror="false" /> |
||
52 | 12083 | jmvivo | <delete file="${targetDir}/libNCSCnet.so.0" /> |
53 | <symlink
|
||
54 | action="single" |
||
55 | resource="libNCSCnet.so.0.0.0" |
||
56 | link="${targetDir}/libNCSCnet.so.0" |
||
57 | failonerror="false" /> |
||
58 | |||
59 | 10968 | jmvivo | <delete file="${targetDir}/libNCSCNet.so" /> |
60 | 10440 | jmvivo | <symlink
|
61 | action="single" |
||
62 | resource="libNCSCnet.so.0.0.0" |
||
63 | 9203 | cesar | link="${targetDir}/libNCSCNet.so" |
64 | failonerror="false" /> |
||
65 | 10968 | jmvivo | <delete file="${targetDir}/libNCSEcw.so" /> |
66 | 10432 | jmvivo | <symlink
|
67 | action="single" |
||
68 | resource="libNCSEcw.so.0.0.0" |
||
69 | link="${targetDir}/libNCSEcw.so" |
||
70 | failonerror="false" /> |
||
71 | 12083 | jmvivo | <delete file="${targetDir}/libNCSEcw.so.0" /> |
72 | <symlink
|
||
73 | action="single" |
||
74 | resource="libNCSEcw.so.0.0.0" |
||
75 | link="${targetDir}/libNCSEcw.so.0" |
||
76 | failonerror="false" /> |
||
77 | 10968 | jmvivo | <delete file="${targetDir}/libNCSEcwC.so" /> |
78 | 10432 | jmvivo | <symlink
|
79 | action="single" |
||
80 | resource="libNCSEcwC.so.0.0.0" |
||
81 | link="${targetDir}/libNCSEcwC.so" |
||
82 | failonerror="false" /> |
||
83 | 12082 | jmvivo | <delete file="${targetDir}/libNCSEcwC.so.0" /> |
84 | 11913 | jmvivo | <symlink
|
85 | action="single" |
||
86 | resource="libNCSEcwC.so.0.0.0" |
||
87 | link="${targetDir}/libNCSEcwC.so.0" |
||
88 | failonerror="false" /> |
||
89 | 10968 | jmvivo | <delete file="${targetDir}/libNCSUtil.so" /> |
90 | 10432 | jmvivo | <symlink
|
91 | action="single" |
||
92 | resource="libNCSUtil.so.0.0.0" |
||
93 | link="${targetDir}/libNCSUtil.so" |
||
94 | failonerror="false" /> |
||
95 | 12083 | jmvivo | <delete file="${targetDir}/libNCSUtil.so.0" /> |
96 | <symlink
|
||
97 | action="single" |
||
98 | resource="libNCSUtil.so.0.0.0" |
||
99 | link="${targetDir}/libNCSUtil.so.0" |
||
100 | failonerror="false" /> |
||
101 | 10432 | jmvivo | |
102 | 9203 | cesar | </target>
|
103 | |||
104 | <target name="gdal"> |
||
105 | <copy todir="${targetDir}"> |
||
106 | <fileset dir="raster/gdal" |
||
107 | 9506 | cesar | includes="libcrypto.so.0.9.7 libgdal.so.1.10.0 libjasper-1.701.so.1.0.0 libjgdal.so.0.6.0 libodbc.so.1 libpng.so.3 libpq.so.3 libssl.so.0.9.7"/> |
108 | 9203 | cesar | </copy>
|
109 | 9505 | cesar | <delete file="${targetDir}/libcrypto.so" /> |
110 | 9203 | cesar | <symlink
|
111 | action="single" |
||
112 | resource="libcrypto.so.0.9.7" |
||
113 | link="${targetDir}/libcrypto.so" |
||
114 | failonerror="false" /> |
||
115 | 9505 | cesar | <delete file="${targetDir}/libgdal.so" /> |
116 | 9203 | cesar | <symlink
|
117 | action="single" |
||
118 | resource="libgdal.so.1.10.0" |
||
119 | link="${targetDir}/libgdal.so" |
||
120 | failonerror="false" /> |
||
121 | 9505 | cesar | <delete file="${targetDir}/libgdal.so.1" /> |
122 | 9203 | cesar | <symlink
|
123 | action="single" |
||
124 | resource="libgdal.so.1.10.0" |
||
125 | link="${targetDir}/libgdal.so.1" |
||
126 | failonerror="false" /> |
||
127 | 9505 | cesar | <delete file="${targetDir}/libjasper-1.701.so" /> |
128 | 9203 | cesar | <symlink
|
129 | action="single" |
||
130 | 9506 | cesar | resource="libjasper-1.701.so.1.0.0" |
131 | 9505 | cesar | link="${targetDir}/libjasper-1.701.so" |
132 | 9203 | cesar | failonerror="false" /> |
133 | 9506 | cesar | <delete file="${targetDir}/libjasper-1.701.so.1" /> |
134 | <symlink
|
||
135 | action="single" |
||
136 | resource="libjasper-1.701.so.1.0.0" |
||
137 | link="${targetDir}/libjasper-1.701.so.1" |
||
138 | failonerror="false" /> |
||
139 | 9505 | cesar | <delete file="${targetDir}/libjgdal.so" /> |
140 | 9203 | cesar | <symlink
|
141 | action="single" |
||
142 | resource="libjgdal.so.0.6.0" |
||
143 | link="${targetDir}/libjgdal.so" |
||
144 | failonerror="false" /> |
||
145 | 9505 | cesar | <delete file="${targetDir}/libjgdal.so.0" /> |
146 | 9203 | cesar | <symlink
|
147 | action="single" |
||
148 | resource="libjgdal.so.0.6.0" |
||
149 | link="${targetDir}/libjgdal.so.0" |
||
150 | failonerror="false" /> |
||
151 | 9505 | cesar | <delete file="${targetDir}/libodbc.so" /> |
152 | 9203 | cesar | <symlink
|
153 | action="single" |
||
154 | resource="libodbc.so.1" |
||
155 | link="${targetDir}/libodbc.so" |
||
156 | failonerror="false" /> |
||
157 | 9505 | cesar | <delete file="${targetDir}/libpng.so" /> |
158 | 9203 | cesar | <symlink
|
159 | action="single" |
||
160 | resource="libpng.so.3" |
||
161 | link="${targetDir}/libpng.so" |
||
162 | failonerror="false" /> |
||
163 | 9505 | cesar | <delete file="${targetDir}/libpq.so" /> |
164 | 9203 | cesar | <symlink
|
165 | action="single" |
||
166 | resource="libpq.so.3" |
||
167 | link="${targetDir}/libpq.so" |
||
168 | failonerror="false" /> |
||
169 | 9505 | cesar | <delete file="${targetDir}/libssl.so" /> |
170 | 9203 | cesar | <symlink
|
171 | action="single" |
||
172 | resource="libssl.so.0.9.7" |
||
173 | link="${targetDir}/libssl.so" |
||
174 | failonerror="false" /> |
||
175 | 9505 | cesar | <delete file="${targetDir}/libssl.so.0" /> |
176 | 9203 | cesar | <symlink
|
177 | action="single" |
||
178 | resource="libssl.so.0.9.7" |
||
179 | link="${targetDir}/libssl.so.0" |
||
180 | failonerror="false" /> |
||
181 | </target>
|
||
182 | |||
183 | <target name="mrsid"> |
||
184 | <copy todir="${targetDir}"> |
||
185 | <fileset dir="raster/mrsid" includes="libjmrsid.so.0.0.2" /> |
||
186 | </copy>
|
||
187 | 9505 | cesar | <delete file="${targetDir}/libjmrsid.so" /> |
188 | 9203 | cesar | <symlink
|
189 | action="single" |
||
190 | resource="libjmrsid.so.0.0.2" |
||
191 | link="${targetDir}/libjmrsid.so" |
||
192 | failonerror="false" /> |
||
193 | 9505 | cesar | <delete file="${targetDir}/libjmrsid.so.0" /> |
194 | 9203 | cesar | <symlink
|
195 | action="single" |
||
196 | resource="libjmrsid.so.0.0.2" |
||
197 | link="${targetDir}/libjmrsid.so.0" |
||
198 | failonerror="false" /> |
||
199 | </target>
|
||
200 | |||
201 | <target name="clean"> |
||
202 | <delete>
|
||
203 | <fileset
|
||
204 | dir="${targetDir}" |
||
205 | includes="*.so*"/> |
||
206 | </delete>
|
||
207 | </target>
|
||
208 | |||
209 | </project> |