Revision 23977
tags/tmp_build/binaries/mac/.project | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<projectDescription> |
|
3 |
<name>binaries-mac</name> |
|
4 |
<comment></comment> |
|
5 |
<projects> |
|
6 |
</projects> |
|
7 |
<buildSpec> |
|
8 |
</buildSpec> |
|
9 |
<natures> |
|
10 |
</natures> |
|
11 |
</projectDescription> |
|
0 | 12 |
tags/tmp_build/binaries/mac/readme.txt | ||
---|---|---|
1 |
GDAL es Binario Universal, con parte PowerPC ejecutable en OS X 10.3 y 10.4, y parte Intel ejecutable en 10.4 (ya que no hay OS X 10.3 Intel :P). |
|
2 |
|
|
3 |
mrSID es s?lo para PowerPC, tanto 10.3 como 10.4. Compilado contra mrSID v5 (6 a?n no soportado por libjmrsid) |
|
0 | 4 |
tags/tmp_build/binaries/mac/build.xml | ||
---|---|---|
1 |
<project name="binaries mac" default="main" basedir="."> |
|
2 |
<description> |
|
3 |
Reorganiza el directorio binaries/mac, para que pueda usarse directamente por gvSIG. |
|
4 |
</description> |
|
5 |
|
|
6 |
<available property="is3D" file="3D" /> |
|
7 |
|
|
8 |
<property name="targetDir" location="." /> |
|
9 |
|
|
10 |
<target name="main" depends="gdal, mrsid, crs" /> |
|
11 |
|
|
12 |
<!-- <target name="ecw"> |
|
13 |
<copy todir="${targetDir}"> |
|
14 |
<fileset dir="raster/ecw" includes="jecw.dll jecwcompress.dll NCScnet.dll NCSEcwC.dll NCSEcw.dll NCSUtil.dll" /> |
|
15 |
</copy> |
|
16 |
</target> --> |
|
17 |
|
|
18 |
<target name="gdal"> |
|
19 |
<copy todir="${targetDir}"> |
|
20 |
<fileset dir="raster/gdal" |
|
21 |
includes="*.dylib *.jnilib *.jar"/> |
|
22 |
</copy> |
|
23 |
</target> |
|
24 |
|
|
25 |
<target name="mrsid"> |
|
26 |
<copy todir="${targetDir}"> |
|
27 |
<fileset dir="raster/mrSID" includes="*.dylib *.jnilib *.jar" /> |
|
28 |
</copy> |
|
29 |
</target> |
|
30 |
|
|
31 |
<target name="clean"> |
|
32 |
<delete> |
|
33 |
<fileset |
|
34 |
dir="${targetDir}" |
|
35 |
includes="*.dylib *.jnilib *.jar"/> |
|
36 |
</delete> |
|
37 |
</target> |
|
38 |
|
|
39 |
<target name="3D" if="is3D"> |
|
40 |
<copy todir="${targetDir}"> |
|
41 |
<fileset dir="3D" includes="**/**" /> |
|
42 |
</copy> |
|
43 |
</target> |
|
44 |
|
|
45 |
|
|
46 |
<target name="crs"> |
|
47 |
<copy todir="${targetDir}"> |
|
48 |
<fileset dir="crs" includes="*.dylib *.jnilib *.jar" /> |
|
49 |
</copy> |
|
50 |
</target> |
|
51 |
|
|
52 |
</project> |
|
0 | 53 |
tags/tmp_build/binaries/ant/utilities.xml | ||
---|---|---|
1 |
<project name="ant_libs"> |
|
2 |
<dirname file="${ant.file.ant_libs}" property="ant.file.ant_libs.dir"/> |
|
3 |
|
|
4 |
<!-- |
|
5 |
==================================== |
|
6 |
Compilation base properties |
|
7 |
==================================== |
|
8 |
--> |
|
9 |
<property name="JUNIT_HOME" location="${ant.file.ant_libs.dir}" /> |
|
10 |
<property name="JavaSourceVersion" value="1.5"/> |
|
11 |
<property name="JavaTargetVersion" value="1.5"/> |
|
12 |
<property name="debug" value="on"/> |
|
13 |
<property name="debuglevel" value="lines, vars, source"/> |
|
14 |
<property name="encoding" value="ISO_8859_1"/> |
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
<!-- |
|
20 |
==================================== |
|
21 |
ant4eclipse library load |
|
22 |
==================================== |
|
23 |
--> |
|
24 |
<taskdef resource="net/sf/ant4eclipse/antlib.xml" > |
|
25 |
<classpath> |
|
26 |
<pathelement location="${ant.file.ant_libs.dir}/ant4eclipse-0.5.0.rc1.jar"/> |
|
27 |
</classpath> |
|
28 |
</taskdef> |
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
|
33 |
<!-- |
|
34 |
==================================== |
|
35 |
ant-contrib library load |
|
36 |
==================================== |
|
37 |
--> |
|
38 |
<taskdef resource="net/sf/antcontrib/antlib.xml"> |
|
39 |
<classpath> |
|
40 |
<pathelement location="${ant.file.ant_libs.dir}/ant-contrib-1.0b3.jar"/> |
|
41 |
<pathelement location="${ant.file.ant_libs.dir}/bcel-5.1.jar"/> |
|
42 |
<pathelement location="${ant.file.ant_libs.dir}/commons-httpclient-3.0.1.jar"/> |
|
43 |
<pathelement location="${ant.file.ant_libs.dir}/commons-logging-1.0.4.jar"/> |
|
44 |
<pathelement location="${ant.file.ant_libs.dir}/ivy-1.3.1.jar"/> |
|
45 |
</classpath> |
|
46 |
</taskdef> |
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
<!-- |
|
51 |
==================================== |
|
52 |
gvSIG ant utilities library load |
|
53 |
==================================== |
|
54 |
--> |
|
55 |
<taskdef name="javacLikeEclipse" classname="org.gvsig.utilities.ant.taskdefs.JavacLikeEclipse"> |
|
56 |
<classpath> |
|
57 |
<pathelement location="${ant.file.ant_libs.dir}/org.gvsig.utilities.ant.jar"/> |
|
58 |
</classpath> |
|
59 |
</taskdef> |
|
60 |
|
|
61 |
|
|
62 |
|
|
63 |
<!-- |
|
64 |
==================================== |
|
65 |
utilities tasks alias |
|
66 |
==================================== |
|
67 |
--> |
|
68 |
|
|
69 |
<!-- |
|
70 |
** loadEclipseClasspath Task ** |
|
71 |
|
|
72 |
Load the classpath from eclipse into the property 'eclipseClasspath' |
|
73 |
of the project recived in 'project' attribute. 'project' must |
|
74 |
be a directory of the workspace. |
|
75 |
|
|
76 |
- Use 'property="otherProperty"' : for change the return property |
|
77 |
|
|
78 |
Example: |
|
79 |
|
|
80 |
|
|
81 |
<target name="compile" description="compile the source" > |
|
82 |
<loadEclipseClasspath project="${basedir}> |
|
83 |
<mkdir dir="${build}" /> |
|
84 |
<javac srcdir="${src}" |
|
85 |
destdir="${build}" |
|
86 |
source="${JavaSourceVersion}" |
|
87 |
target="${JavaTargetVersion}" |
|
88 |
debug="${debug}" |
|
89 |
debuglevel="${debuglevel}" |
|
90 |
classpath="${eclipseClasspath}" |
|
91 |
encoding="${encoding}"/> |
|
92 |
</target> |
|
93 |
|
|
94 |
--> |
|
95 |
<presetdef name="loadEclipseClasspath"> |
|
96 |
<getEclipseClasspath |
|
97 |
property="eclipseClasspath" |
|
98 |
runtime="true"/> |
|
99 |
|
|
100 |
</presetdef> |
|
101 |
|
|
102 |
<!-- |
|
103 |
** gvSIG-javac Task ** |
|
104 |
|
|
105 |
Javac whit default values to compile gvSIG proyects |
|
106 |
|
|
107 |
Example (minimal syntax): |
|
108 |
|
|
109 |
<gvSIG-javac |
|
110 |
classpath="${eclipseClasspath}" |
|
111 |
/> |
|
112 |
|
|
113 |
Example with exclude: |
|
114 |
|
|
115 |
<gvSIG-javac |
|
116 |
classpath="${eclipseClasspath}" |
|
117 |
exclude="org/gvsig/test/**" |
|
118 |
/> |
|
119 |
|
|
120 |
--> |
|
121 |
<presetdef name="gvSIG-javac"> |
|
122 |
<javacLikeEclipse |
|
123 |
srcdir="${src}" |
|
124 |
destdir="${build}" |
|
125 |
source="${JavaSourceVersion}" |
|
126 |
target="${JavaTargetVersion}" |
|
127 |
sourcepath="${eclipseClasspath}" |
|
128 |
debug="${debug}" |
|
129 |
debuglevel="${debuglevel}" |
|
130 |
encoding="${encoding}"> |
|
131 |
</javacLikeEclipse> |
|
132 |
</presetdef> |
|
133 |
|
|
134 |
<!-- generamos siempre el debug |
|
135 |
<presetdef name="gvSIG-javac"> |
|
136 |
<javacLikeEclipse |
|
137 |
srcdir="${src}" |
|
138 |
destdir="${build}" |
|
139 |
source="${JavaSourceVersion}" |
|
140 |
target="${JavaTargetVersion}" |
|
141 |
debug="${debug}" |
|
142 |
debuglevel="${debuglevel}" |
|
143 |
sourcepath="${eclipseClasspath}" |
|
144 |
encoding="${encoding}"> |
|
145 |
</javacLikeEclipse> |
|
146 |
</presetdef> |
|
147 |
--> |
|
148 |
|
|
149 |
<!-- |
|
150 |
** gvSIG-import-build-number Target ** |
|
151 |
|
|
152 |
Automate import of build.number gvSIG file |
|
153 |
|
|
154 |
Example (minimal syntax): |
|
155 |
|
|
156 |
<antcall target="gvSIG-import-build-number"/> |
|
157 |
|
|
158 |
--> |
|
159 |
|
|
160 |
<target name="gvSIG-import-build-number"> |
|
161 |
<!-- check buildNumberFile property --> |
|
162 |
<if> |
|
163 |
<not> |
|
164 |
<and> |
|
165 |
<isset property="buildNumberFile"/> |
|
166 |
<available file="${buildNumberFile}" type="file"/> |
|
167 |
</and> |
|
168 |
</not> |
|
169 |
<then> |
|
170 |
<fail message="Error: property buildNumberFile not set or file not available: ${buildNumberFile}"/> |
|
171 |
</then> |
|
172 |
</if> |
|
173 |
<property name="localBuildNumberFile" value="${basedir}/build.number"/> |
|
174 |
<!-- copy the file if is needed--> |
|
175 |
<if> |
|
176 |
<not> |
|
177 |
<and> |
|
178 |
<available file="${localBuildNumberFile}" type="file"/> |
|
179 |
<filesmatch file1="${buildNumberFile}" file2="${localBuildNumberFile}"/> |
|
180 |
</and> |
|
181 |
</not> |
|
182 |
<then> |
|
183 |
<copy file="${buildNumberFile}" tofile="${localBuildNumberFile}" overwrite="true"/> |
|
184 |
</then> |
|
185 |
</if> |
|
186 |
</target> |
|
187 |
|
|
188 |
<!-- Declare Junit task --> |
|
189 |
<taskdef name="gvSIG-junit" classname="org.apache.tools.ant.taskdefs.optional.junit2.JUnitTask" onerror="fail"> |
|
190 |
<classpath> |
|
191 |
<pathelement location="${ant.file.ant_libs.dir}/junit.jar"/> |
|
192 |
<pathelement location="${ant.file.ant_libs.dir}/gvsig-ant-junit.jar"/> |
|
193 |
</classpath> |
|
194 |
</taskdef> |
|
195 |
|
|
196 |
<target name="generic-run-tests"> |
|
197 |
<!-- |
|
198 |
=== Input Parameters === |
|
199 |
JUnitSummaryFile: File to log the success of the project |
|
200 |
JUnitProjectResults: File to log the details of the JUnit execution |
|
201 |
TestSuite.Name: Name of the TestSuite class to run |
|
202 |
|
|
203 |
=== Throws ==== |
|
204 |
JUnitTestFailed: If any of the tests failed |
|
205 |
--> |
|
206 |
<!-- define these properties in case they are not already set --> |
|
207 |
<property name="JUnitProjectResults" value="JUnitProjectResults"/> |
|
208 |
<property name="JUnitProjectResultsFile" value="JUnitProjectResults.txt"/> |
|
209 |
<property name="JUnitGlobalResults" value="JUnitGlobalResults"/> |
|
210 |
<property name="JUnitGlobalResultsFile" value="JUnitGlobalResults.txt"/> |
|
211 |
<property name="JUnitSummaryFile" location="JUnitSummary.txt"/> |
|
212 |
<loadEclipseClasspath project="${basedir}"/> |
|
213 |
<property name="test-classpath" value="${build-test}:${build}:${eclipseClasspath}"/> |
|
214 |
<gvSIG-junit |
|
215 |
fork="yes" |
|
216 |
dir="${basedir}" |
|
217 |
printsummary="on" |
|
218 |
haltonfailure="off" |
|
219 |
errorproperty="gvsig.tests.error" |
|
220 |
failureproperty="gvsig.tests.failure"> |
|
221 |
<formatter type="brief" usefile="yes"/> |
|
222 |
<classpath id="test-classpath" |
|
223 |
path="${build-test}:${build}:${eclipseClasspath}"/> |
|
224 |
<test name="${TestSuite.Name}" outFile="${JUnitProjectResults}" /> |
|
225 |
</gvSIG-junit> |
|
226 |
<!-- define these properties in case they are not already set --> |
|
227 |
<property name="gvsig.tests.error" value="false"/> |
|
228 |
<property name="gvsig.tests.failure" value="false"/> |
|
229 |
<if> |
|
230 |
<and> |
|
231 |
<equals arg1="${gvsig.tests.error}" arg2="false" /> |
|
232 |
<equals arg1="${gvsig.tests.failure}" arg2="false" /> |
|
233 |
</and> |
|
234 |
<then> |
|
235 |
<echo file="${JUnitSummaryFile}" append="true">JUnitTests for ${target.project.name}: SUCCESS.${line.separator}</echo> |
|
236 |
</then> |
|
237 |
<else> |
|
238 |
<throw id="JUnitTestFailed" message="JUnitTestFailed"/> |
|
239 |
</else> |
|
240 |
</if> |
|
241 |
</target> |
|
242 |
|
|
243 |
<target name="concat-test-output"> |
|
244 |
<property name="target.project.dir" location="../${target.project.name}"/> |
|
245 |
<if> |
|
246 |
<available file="${target.project.dir}" type="dir"/> |
|
247 |
<then> |
|
248 |
<echo append="yes" file="${JUnitGlobalResultsFile}">${line.separator}${line.separator} ===== Details for ${target.project.name}: =====${line.separator}</echo> |
|
249 |
<concat destfile="${JUnitGlobalResultsFile}.tmp" |
|
250 |
binary="true"> |
|
251 |
<fileset file="${JUnitGlobalResultsFile}"/> |
|
252 |
<fileset file="${target.project.dir}/${JUnitProjectResultsFile}"/> |
|
253 |
</concat> |
|
254 |
<move file="${JUnitGlobalResultsFile}.tmp" tofile="${JUnitGlobalResultsFile}"/> |
|
255 |
<delete file="${target.project.dir}/${JUnitProjectResultsFile}"/> |
|
256 |
</then> |
|
257 |
</if> |
|
258 |
</target> |
|
259 |
|
|
260 |
<target name="compile-tests"> |
|
261 |
<!-- Create the time stamp --> |
|
262 |
<tstamp/> |
|
263 |
<!-- Create the build directory structure used by compile --> |
|
264 |
<mkdir dir="${build-test}"/> |
|
265 |
<!-- Compile the Java code from ${src} to ${build} --> |
|
266 |
<loadEclipseClasspath project="${basedir}"/> |
|
267 |
<gvSIG-javac |
|
268 |
srcdir="${src-test}" |
|
269 |
destdir="${build-test}" |
|
270 |
classpath="${eclipseClasspath}"/> |
|
271 |
<copy todir="${build-test}"> |
|
272 |
<fileset dir="${src-test}" |
|
273 |
excludes="**/*.java"/> |
|
274 |
</copy> |
|
275 |
</target> |
|
276 |
|
|
277 |
</project> |
|
0 | 278 |
tags/tmp_build/binaries/ant/readme.txt | ||
---|---|---|
1 |
Contents of this folder: |
|
2 |
|
|
3 |
- ant-contrib: |
|
4 |
* ant-contrib-1.0b3.jar (main jar) |
|
5 |
* bcel-5.1.jar (dependency) |
|
6 |
* commons-httpclient-3.0.1.jar (dependency) |
|
7 |
* commons-loggin-1.0.4.jar (dependency) |
|
8 |
* ivy-1.3.1.jar (dependency) |
|
9 |
|
|
10 |
- ant4eclipse: |
|
11 |
* ant4eclipse-0.5.0.rc1.jar (main jar) |
|
12 |
|
|
13 |
- juint (Need for getEclipseClasspath ant4eclipse task) |
|
14 |
* junit.jar |
|
15 |
|
|
16 |
- utilities.xml (utilities for build.xml of the projets) |
|
0 | 17 |
tags/tmp_build/binaries/.project | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<projectDescription> |
|
3 |
<name>binaries</name> |
|
4 |
<comment></comment> |
|
5 |
<projects> |
|
6 |
</projects> |
|
7 |
<buildSpec> |
|
8 |
</buildSpec> |
|
9 |
<natures> |
|
10 |
</natures> |
|
11 |
</projectDescription> |
|
0 | 12 |
tags/tmp_build/binaries/w32/.cvsignore | ||
---|---|---|
1 |
*.dll |
|
0 | 2 |
tags/tmp_build/binaries/w32/build.xml | ||
---|---|---|
1 |
<project name="binaries w32" default="main" basedir="."> |
|
2 |
<description> |
|
3 |
Reorganiza el directorio binaries/w32, para que pueda usarse directamente por gvSIG. |
|
4 |
</description> |
|
5 |
|
|
6 |
<property name="targetDir" location="." /> |
|
7 |
|
|
8 |
|
|
9 |
<available property="is3D" file="3D" /> |
|
10 |
|
|
11 |
<target name="main" depends="ecw, gdal, mrsid, crs, system, potrace, 3D" /> |
|
12 |
<target name="without-3D" depends="ecw, gdal, mrsid, crs, system, potrace" /> |
|
13 |
|
|
14 |
<target name="ecw"> |
|
15 |
<copy todir="${targetDir}"> |
|
16 |
<fileset dir="raster/ecw" includes="jecw.dll NCScnet.dll NCSEcwC.dll NCSEcw.dll NCSUtil.dll" /> |
|
17 |
</copy> |
|
18 |
</target> |
|
19 |
|
|
20 |
<target name="gdal"> |
|
21 |
<copy todir="${targetDir}"> |
|
22 |
<fileset dir="raster/gdal" includes="gdal.dll glut32.dll jgdal091.dll jpeg62.dll libimage.dll libpng13.dll libtiff3.dll zlib1.dll jaddo000.dll hdf5dll.dll hd422m.dll hm422m.dll szlibdll.dll" /> |
|
23 |
</copy> |
|
24 |
</target> |
|
25 |
|
|
26 |
<target name="mrsid"> |
|
27 |
<copy todir="${targetDir}"> |
|
28 |
<fileset dir="raster/mrsid" includes="jmrsid.dll lti_dsdk_cdll.dll lti_dsdk_dll.dll" /> |
|
29 |
</copy> |
|
30 |
</target> |
|
31 |
|
|
32 |
<target name="system"> |
|
33 |
<copy todir="${targetDir}"> |
|
34 |
<fileset dir="system" includes="msv*.dll *.manifest" /> |
|
35 |
</copy> |
|
36 |
</target> |
|
37 |
|
|
38 |
<target name="crs"> |
|
39 |
<copy todir="${targetDir}"> |
|
40 |
<fileset dir="crs" includes="CrsJniProj.dll proj.dll" /> |
|
41 |
</copy> |
|
42 |
</target> |
|
43 |
|
|
44 |
<target name="potrace"> |
|
45 |
<copy todir="${targetDir}"> |
|
46 |
<fileset dir="raster/potrace" includes="libpotrace.dll jpotrace001.dll" /> |
|
47 |
</copy> |
|
48 |
</target> |
|
49 |
|
|
50 |
<target name="3D" if="is3D"> |
|
51 |
<copy todir="${targetDir}"> |
|
52 |
<fileset dir="3D" includes="**/**" /> |
|
53 |
</copy> |
|
54 |
</target> |
|
55 |
|
|
56 |
<target name="clean3D" if="is3D"> |
|
57 |
<delete includeemptydirs="true"> |
|
58 |
<fileset dir="${targetDir}" includes="osgPlugins**/**" /> |
|
59 |
</delete> |
|
60 |
</target> |
|
61 |
|
|
62 |
<target name="clean" depends="clean3D"> |
|
63 |
<delete> |
|
64 |
<fileset dir="${targetDir}" includes="*.dll *.lib *.jar" /> |
|
65 |
</delete> |
|
66 |
</target> |
|
67 |
|
|
68 |
</project> |
|
0 | 69 |
tags/tmp_build/binaries/w32/system/Microsoft.VC80.CRT.manifest | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> |
|
2 |
<!-- Copyright © 1981-2001 Microsoft Corporation --> |
|
3 |
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> |
|
4 |
<noInheritable/> |
|
5 |
<assemblyIdentity |
|
6 |
type="win32" |
|
7 |
name="Microsoft.VC80.CRT" |
|
8 |
version="8.0.50608.0" |
|
9 |
processorArchitecture="x86" |
|
10 |
publicKeyToken="1fc8b3b9a1e18e3b" |
|
11 |
/> |
|
12 |
<file name="msvcr80.dll"/> |
|
13 |
<file name="msvcp80.dll"/> |
|
14 |
<file name="msvcm80.dll"/> |
|
15 |
</assembly> |
Also available in: Unified diff