Revision 16766

View differences:

tags/tmp_build/binaries/build.xml
1
<project name="binaries" default="main" basedir=".">
2
    <description>
3
        Reorganiza el directorio binaries, para que pueda usarse directamente por gvSIG.
4
    </description>
5
	
6
	<target name="main">
7
		<description>Reorders the directory for the current platform, so that it
8
			can be used by gvSIG.</description>
9
		<condition property="isLinux">
10
			<os family="unix"/>
11
		</condition>
12
		
13
		<condition property="isWindows">
14
			<or>
15
				<os family="windows"/>
16
				<os family="win9x"/>
17
			</or>
18
		</condition>
19
		
20
		<condition property="isMac">
21
			<os family="mac"/>
22
		</condition>
23
		
24
		<antcall target="linux" />
25
		<antcall target="windows" />
26
		<antcall target="mac" />
27

  
28
	</target>
29
	
30
	<target name="build-all">
31
		<description>Reorders the directory for all the platforms, so that it
32
			can be used by gvSIG.</description>
33
  		<ant dir="linux"  inheritAll="false" />
34
  		<ant dir="w32"  inheritAll="false" />
35
  		<ant dir="mac"  inheritAll="false" />
36
	</target>
37
	
38
	<target name="linux" if="isLinux">
39
  		<ant dir="linux"  inheritAll="false" />
40
	</target>
41
	
42
	<target name="windows" if="${isWindows}">
43
  		<ant dir="w32"  inheritAll="false" />
44
	</target>
45

  
46
	<target name="mac" if="${isMac}">
47
  		<ant dir="mac"  inheritAll="false" />
48
	</target>
49
	
50
	<target name="clean">
51
		<description>
52
			Restores the directory to its original shape.
53
		</description>
54
  		<ant target="clean" dir="linux"  inheritAll="false" />
55
  		<ant target="clean" dir="w32"  inheritAll="false" />
56
  		<ant target="clean" dir="mac"  inheritAll="false" />
57
	</target>
58
</project>
0 59

  
tags/tmp_build/binaries/linux/.cvsignore
1
*.so*
0 2

  
tags/tmp_build/binaries/linux/build.xml
1
<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, crs" />
9

  
10
	<target name="ecw">
11
		<copy todir="${targetDir}">
12
			<fileset dir="raster/ecw" includes="*.so*" />
13
		</copy>
14
		<!-- necesitamos borrar los links antes de crearlos, porque failonerror=false no
15
		      funciona correctamente -->
16
		<delete file="${targetDir}/libjecwcompress.so"/>
17
		<symlink
18
			action="single"
19
			resource="libjecwcompress.so.1.0.0"
20
			link="${targetDir}/libjecwcompress.so"
21
			failonerror="false" />
22
		<delete file="${targetDir}/libjecwcompress.so.1" />
23
		<symlink
24
			action="single"
25
			resource="libjecwcompress.so.1.0.0"
26
			link="${targetDir}/libjecwcompress.so.1"
27
			failonerror="false" />
28
		<delete file="${targetDir}/libjecw.so" />
29
		<symlink
30
			action="single"
31
			resource="libjecw.so.0.0.1"
32
			link="${targetDir}/libjecw.so"
33
			failonerror="false" />
34
		<delete file="${targetDir}/libjecw.so.0" />
35
		<symlink
36
			action="single"
37
			resource="libjecw.so.0.0.1"
38
			link="${targetDir}/libjecw.so.0"
39
			failonerror="false" />
40
		<delete file="${targetDir}/libNCScnet.so" />
41
		<symlink
42
			action="single"
43
			resource="libNCSCnet.so.0.0.0"
44
			link="${targetDir}/libNCScnet.so"
45
			failonerror="false" />
46
		<delete file="${targetDir}/libNCSCnet.so" />
47
		<symlink
48
			action="single"
49
			resource="libNCSCnet.so.0.0.0"
50
			link="${targetDir}/libNCSCnet.so"
51
			failonerror="false" />
52
		<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
		<delete file="${targetDir}/libNCSCNet.so" />
60
		<symlink
61
			action="single"
62
			resource="libNCSCnet.so.0.0.0"
63
			link="${targetDir}/libNCSCNet.so"
64
			failonerror="false" />
65
		<delete file="${targetDir}/libNCSEcw.so" />
66
		<symlink
67
			action="single"
68
			resource="libNCSEcw.so.0.0.0"
69
			link="${targetDir}/libNCSEcw.so"
70
			failonerror="false" />
71
		<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
		<delete file="${targetDir}/libNCSEcwC.so" />
78
		<symlink
79
			action="single"
80
			resource="libNCSEcwC.so.0.0.0"
81
			link="${targetDir}/libNCSEcwC.so"
82
			failonerror="false" />
83
		<delete file="${targetDir}/libNCSEcwC.so.0" />
84
		<symlink
85
			action="single"
86
			resource="libNCSEcwC.so.0.0.0"
87
			link="${targetDir}/libNCSEcwC.so.0"
88
			failonerror="false" />
89
		<delete file="${targetDir}/libNCSUtil.so" />
90
		<symlink
91
			action="single"
92
			resource="libNCSUtil.so.0.0.0"
93
			link="${targetDir}/libNCSUtil.so"
94
			failonerror="false" />
95
		<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

  
102
	</target>
103

  
104
	<target name="gdal">
105
		<copy todir="${targetDir}">
106
			<fileset dir="raster/gdal"
107
				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
		</copy>
109
		<delete file="${targetDir}/libcrypto.so" />
110
		<symlink
111
			action="single"
112
			resource="libcrypto.so.0.9.7"
113
			link="${targetDir}/libcrypto.so"
114
			failonerror="false" />
115
		<delete file="${targetDir}/libgdal.so" />
116
		<symlink
117
			action="single"
118
			resource="libgdal.so.1.10.0"
119
			link="${targetDir}/libgdal.so"
120
			failonerror="false" />
121
		<delete file="${targetDir}/libgdal.so.1" />
122
		<symlink
123
			action="single"
124
			resource="libgdal.so.1.10.0"
125
			link="${targetDir}/libgdal.so.1"
126
			failonerror="false" />
127
		<delete file="${targetDir}/libjasper-1.701.so" />
128
		<symlink
129
			action="single"
130
			resource="libjasper-1.701.so.1.0.0"
131
			link="${targetDir}/libjasper-1.701.so"
132
			failonerror="false" />
133
		<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
		<delete file="${targetDir}/libjgdal.so" />
140
		<symlink
141
			action="single"
142
			resource="libjgdal.so.0.6.0"
143
			link="${targetDir}/libjgdal.so"
144
			failonerror="false" />
145
		<delete file="${targetDir}/libjgdal.so.0" />
146
		<symlink
147
			action="single"
148
			resource="libjgdal.so.0.6.0"
149
			link="${targetDir}/libjgdal.so.0"
150
			failonerror="false" />
151
		<delete file="${targetDir}/libodbc.so" />
152
		<symlink
153
			action="single"
154
			resource="libodbc.so.1"
155
			link="${targetDir}/libodbc.so"
156
			failonerror="false" />
157
		<delete file="${targetDir}/libpng.so" />
158
		<symlink
159
			action="single"
160
			resource="libpng.so.3"
161
			link="${targetDir}/libpng.so"
162
			failonerror="false" />
163
		<delete file="${targetDir}/libpq.so" />
164
		<symlink
165
			action="single"
166
			resource="libpq.so.3"
167
			link="${targetDir}/libpq.so"
168
			failonerror="false" />
169
		<delete file="${targetDir}/libssl.so" />
170
		<symlink
171
			action="single"
172
			resource="libssl.so.0.9.7"
173
			link="${targetDir}/libssl.so"
174
			failonerror="false" />
175
		<delete file="${targetDir}/libssl.so.0" />
176
		<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
		<delete file="${targetDir}/libjmrsid.so" />
188
		<symlink
189
			action="single"
190
			resource="libjmrsid.so.0.0.2"
191
			link="${targetDir}/libjmrsid.so"
192
			failonerror="false" />
193
		<delete file="${targetDir}/libjmrsid.so.0" />
194
		<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="crs">
202
		<delete file="libproj.so" failonerror="false"/>
203
		<delete file="libproj.so.0" failonerror="false"/>
204
		<delete file="libproj.so.0.5.0" failonerror="false"/>
205
		<delete file="libcrsjniproj.so" failonerror="false"/>
206
		<symlink
207
			action="single"
208
			resource="crs/libproj.so.0.5.0"
209
			link="${targetDir}/libproj.so"
210
			failonerror="false" />
211
		<symlink
212
			action="single"
213
			resource="crs/libproj.so.0.5.0"
214
			link="${targetDir}/libproj.so.0"
215
			failonerror="false" />
216
		<symlink
217
			action="single"
218
			resource="crs/libproj.so.0.5.0"
219
			link="${targetDir}/libproj.so.0.5.0"
220
			failonerror="false" />
221
		<symlink
222
			action="single"
223
			resource="crs/libcrsjniproj.so.0.1.1"
224
			link="${targetDir}/libcrsjniproj.so"
225
			failonerror="false" />
226
		<symlink
227
			action="single"
228
			resource="crs/libcrsjniproj.so.0.1.1"
229
			link="${targetDir}/libcrsjniproj.so.0"
230
			failonerror="false" />
231
		<symlink
232
			action="single"
233
			resource="crs/libcrsjniproj.so.0.1.1"
234
			link="${targetDir}/libcrsjniproj.so.0.1.1"
235
			failonerror="false" />
236

  
237
	</target>
238

  
239

  
240
	<target name="clean">
241
		<delete>
242
			<fileset
243
				dir="${targetDir}"
244
				includes="*.so*"/>
245
		</delete>
246
	</target>
247

  
248
</project>
0 249

  
tags/tmp_build/binaries/linux/raster/ecw/install-ecw.sh
1
#!/bin/sh
2

  
3
cd $INSTALL_PATH/libs
4

  
5
rm -f libjecwcompress.so libjecwcompress.so.0 libjecwcompress.so.1
6
ln -s libjecwcompress.so.1.0.0 libjecwcompress.so
7
ln -s libjecwcompress.so.1.0.0 libjecwcompress.so.1
8

  
9
rm -f libjecw.so libjecw.so.0
10
ln -s libjecw.so.0.0.1 libjecw.so
11
ln -s libjecw.so.0.0.1 libjecw.so.0
12

  
13
rm -f libNCSCnet.so libNCSCNet.so libNCScnet.so
14
ln -s libNCSCnet.so.0.0.0 libNCSCnet.so
15
ln -s libNCSCnet.so.0.0.0 libNCSCNet.so
16
ln -s libNCSCnet.so.0.0.0 libNCScnet.so
17

  
18
rm -f libNCSEcwC.so
19
ln -s libNCSEcwC.so.0.0.0 libNCSEcwC.so
20

  
21
rm -f libNCSEcw.so
22
ln -s libNCSEcw.so.0.0.0 libNCSEcw.so
23

  
24
rm -f libNCSUtil.so
25
ln -s libNCSUtil.so.0.0.0 libNCSUtil.so
0 26

  
tags/tmp_build/binaries/linux/crs/install-crs.sh
1
#!/bin/sh
2

  
3
VER=0.6.0
4
VERPROJ=0.5.0
5
INSTALL_PATH=./library_path
6

  
7
cp libcrsjniproj.so libproj.so.$VERPROJ $INSTALL_PATH
8

  
9
ln -s $INSTALL_PATH/libproj.so.$VERPROJ $INSTALL_PATH/libproj.so
10
ln -s $INSTALL_PATH/libproj.so.$VERPROJ $INSTALL_PATH/libproj.so.0
0 11

  
tags/tmp_build/binaries/mac/.project
1
<?xml version="1.0" encoding="UTF-8"?>
2
<projectDescription>
3
	<name>binaries-mac-v10</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.
2

  
3
mrSID es s?lo para PowerPC, tanto 10.3 como 10.4. Compilado contra mrSID v5 (v6 permitir? soporte Intel, pero a?n no soportado por jmrsid)
4

  
5
ECW a?n no usable en OS X.
0 6

  
tags/tmp_build/binaries/mac/.cvsignore
1
*.jar
2
*.dylib
3
*.jnilib
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
	<property name="targetDir" location="." />
7
	
8
	<target name="main" depends="gdal, mrsid, crs" />
9
	
10
<!--	<target name="ecw">
11
		<copy todir="${targetDir}">
12
			<fileset dir="raster/ecw" includes="jecw.dll jecwcompress.dll NCScnet.dll NCSEcwC.dll NCSEcw.dll NCSUtil.dll" />
13
		</copy>
14
	</target> -->
15
	
16
	<target name="gdal">
17
		<copy todir="${targetDir}">
18
			<fileset dir="raster/gdal"
19
				includes="jgdal-0.4.0.jar libgdal.dylib libjgdal.jnilib"/>
20
		</copy>
21
	</target>
22
	
23
	<target name="mrsid">
24
		<copy todir="${targetDir}">
25
			<fileset dir="raster/mrSID" includes="jmrsid-0.1.0.jar libjmrsid.jnilib" />
26
		</copy>
27
	</target>
28
	
29
	<target name="clean">
30
		<delete>
31
			<fileset
32
				dir="${targetDir}"
33
				includes="*.dylib *.jnilib *.jar"/>
34
		</delete>
35
	</target>
36

  
37
	<target name="crs">
38
		<copy todir="${targetDir}">
39
			<fileset dir="crs" includes="libcrsjniproj.jnilib libproj.dylib" />
40
		</copy>
41
	</target>
42

  
43
</project>
0 44

  
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"/>
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
				debug="${debug}"
128
				debuglevel="${debuglevel}"
129
				sourcepath="${eclipseClasspath}"
130
				encoding="${encoding}">
131
			</javacLikeEclipse>
132
	</presetdef>
133

  
134
	<!--
135
	** gvSIG-import-build-number Target **
136

  
137
	Automate import of build.number gvSIG file
138

  
139
	Example (minimal syntax):
140

  
141
	<antcall target="gvSIG-import-build-number"/>
142

  
143
	-->
144

  
145
	<target name="gvSIG-import-build-number">
146
		<!-- check buildNumberFile property -->
147
		<if>
148
			<not>
149
				<and>
150
					<isset property="buildNumberFile"/>
151
					<available file="${buildNumberFile}" type="file"/>
152
				</and>
153
			</not>
154
			<then>
155
				<fail message="Error: property buildNumberFile not set or file not available: ${buildNumberFile}"/>
156
			</then>
157
		</if>
158
		<property name="localBuildNumberFile" value="${basedir}/build.number"/>
159
		<!-- copy the file if is needed-->
160
		<if>
161
			<not>
162
			<and>
163
				<available file="${localBuildNumberFile}" type="file"/>
164
				<filesmatch file1="${buildNumberFile}" file2="${localBuildNumberFile}"/>
165
			</and>
166
			</not>
167
			<then>
168
				<copy file="${buildNumberFile}" tofile="${localBuildNumberFile}" overwrite="true"/>
169
			</then>
170
		</if>
171
	</target>
172

  
173
	<!-- Declare Junit task -->
174
	<taskdef name="gvSIG-junit" classname="org.apache.tools.ant.taskdefs.optional.junit2.JUnitTask" onerror="fail">
175
		<classpath>
176
			<pathelement location="${ant.file.ant_libs.dir}/junit.jar"/>
177
			<pathelement location="${ant.file.ant_libs.dir}/gvsig-ant-junit.jar"/>
178
		</classpath>
179
	</taskdef>
180

  
181
	<target name="generic-run-tests">
182
		<!--
183
			=== Input Parameters ===
184
			JUnitSummaryFile: File to log the success of the project
185
			JUnitProjectResults: File to log the details of the JUnit execution
186
			TestSuite.Name: Name of the TestSuite class to run
187

  
188
			=== Throws ====
189
			JUnitTestFailed: If any of the tests failed
190
		-->
191
		<!-- define these properties in case they are not already set -->
192
		<property name="JUnitProjectResults" value="JUnitProjectResults"/>
193
		<property name="JUnitProjectResultsFile" value="JUnitProjectResults.txt"/>
194
		<property name="JUnitGlobalResults" value="JUnitGlobalResults"/>
195
		<property name="JUnitGlobalResultsFile" value="JUnitGlobalResults.txt"/>
196
		<property name="JUnitSummaryFile" location="JUnitSummary.txt"/>
197
		<loadEclipseClasspath project="${basedir}"/>
198
		<property name="test-classpath" value="${build-test}:${build}:${eclipseClasspath}"/>
199
		<gvSIG-junit
200
			fork="yes"
201
			dir="${basedir}"
202
			printsummary="on"
203
			haltonfailure="off"
204
			errorproperty="gvsig.tests.error"
205
			failureproperty="gvsig.tests.failure">
206
				<formatter type="brief" usefile="yes"/>
207
				<classpath id="test-classpath"
208
					path="${build-test}:${build}:${eclipseClasspath}"/>
209
				<test name="${TestSuite.Name}" outFile="${JUnitProjectResults}" />
210
		</gvSIG-junit>
211
		<!-- define these properties in case they are not already set -->
212
		<property name="gvsig.tests.error" value="false"/>
213
		<property name="gvsig.tests.failure" value="false"/>
214
		<if>
215
			<and>
216
				<equals arg1="${gvsig.tests.error}" arg2="false" />
217
				<equals arg1="${gvsig.tests.failure}" arg2="false" />
218
			</and>
219
			<then>
220
				<echo file="${JUnitSummaryFile}" append="true">JUnitTests for ${target.project.name}: SUCCESS.${line.separator}</echo>
221
			</then>
222
			<else>
223
				<throw id="JUnitTestFailed" message="JUnitTestFailed"/>
224
			</else>
225
		</if>
226
	</target>
227

  
228
	<target name="concat-test-output">
229
		<property name="target.project.dir" location="../${target.project.name}"/>
230
		<if>
231
			<available file="${target.project.dir}" type="dir"/>
232
			<then>
233
				<echo append="yes" file="${JUnitGlobalResultsFile}">${line.separator}${line.separator} ===== Details for ${target.project.name}: =====${line.separator}</echo>
234
				<concat  destfile="${JUnitGlobalResultsFile}.tmp"
235
						binary="true">
236
					<fileset file="${JUnitGlobalResultsFile}"/>
237
					<fileset file="${target.project.dir}/${JUnitProjectResultsFile}"/>
238
				</concat>
239
				<move file="${JUnitGlobalResultsFile}.tmp" tofile="${JUnitGlobalResultsFile}"/>
240
				<delete file="${target.project.dir}/${JUnitProjectResultsFile}"/>
241
			</then>
242
		</if>
243
	</target>
244

  
245
	<target name="compile-tests">
246
		<!-- Create the time stamp -->
247
		<tstamp/>
248
		<!-- Create the build directory structure used by compile -->
249
		<mkdir dir="${build-test}"/>
250
		<!-- Compile the Java code from ${src} to ${build} -->
251
		<loadEclipseClasspath project="${basedir}"/>
252
		<gvSIG-javac
253
			srcdir="${src-test}"
254
			destdir="${build-test}"
255
			classpath="${eclipseClasspath}"/>
256
		<copy todir="${build-test}">
257
			<fileset dir="${src-test}"
258
						excludes="**/*.java"/>
259
		</copy>
260
	</target>
261

  
262
</project>
0 263

  
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
	<target name="main" depends="ecw, gdal, mrsid, crs, system" />
9
	
10
	<target name="ecw">
11
		<copy todir="${targetDir}">
12
			<fileset dir="raster/ecw" includes="jecw.dll jecwcompress.dll NCScnet.dll NCSEcwC.dll NCSEcw.dll NCSUtil.dll" />
13
		</copy>
14
	</target>
15
	
16
	<target name="gdal">
17
		<copy todir="${targetDir}">
18
			<fileset dir="raster/gdal"
19
				includes="gdal.dll glut32.dll jgdal060.dll jpeg62.dll libimage.dll libpng13.dll libtiff3.dll zlib1.dll"/>
20
		</copy>
21
	</target>
22
	
23
	<target name="mrsid">
24
		<copy todir="${targetDir}">
25
			<fileset dir="raster/mrsid" includes="jmrsid.dll lti_dsdk_cdll.dll lti_dsdk_dll.dll" />
26
		</copy>
27
	</target>
28
	
29
	<target name="system">
30
		<copy todir="${targetDir}">
31
			<fileset dir="system" includes="msvcp71.dll msvcr71.dll" />
32
		</copy>
33
	</target>
34
	
35
	<target name="crs">
36
		<copy todir="${targetDir}">
37
			<fileset dir="crs" includes="CrsJniProj.dll proj.dll" />
38
		</copy>
39
	</target>
40
	
41
	<target name="clean">
42
		<delete>
43
			<fileset
44
				dir="${targetDir}"
45
				includes="*.dll *.lib *.jar"/>
46
		</delete>
47
	</target>
48

  
49
</project>
0 50

  
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff