Revision 26991

View differences:

tags/tmp_build/applications/appgvSIG/pom.xml
1
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
3
	<modelVersion>4.0.0</modelVersion>
4
	<groupId>org.gvsig</groupId>
5
	<artifactId>appgvSIG</artifactId>
6
	<packaging>jar</packaging>
7
	<version>2.0-SNAPSHOT</version>
8
	<name>appgvSIG</name>
9
	<url>http://gvsig.org</url>
10
	<description> This is the extension that contains all the GUI part for
11
		the 3D extension of GvSIG</description>
12
	<parent>
13
		<groupId>org.gvsig</groupId>
14
		<artifactId>gvsig-extension-base-pom
15
		</artifactId>
16
		<version>2.0-SNAPSHOT</version>
17
	</parent>
18
	<dependencies>
19
		<dependency>
20
			<groupId>org.gvsig</groupId>
21
			<artifactId>_fwAndami</artifactId>
22
			<version>2.0-SNAPSHOT</version>
23
		</dependency>
24
		<dependency>
25
			<groupId>org.gvsig</groupId>
26
			<artifactId>libFMap_mapcontrol</artifactId>
27
			<version>2.0-SNAPSHOT</version>
28
		</dependency>
29
		<dependency>
30
			<groupId>org.gvsig</groupId>
31
			<artifactId>libFMap_dataDB</artifactId>
32
			<version>2.0-SNAPSHOT</version>
33
			<exclusions>
34
				<exclusion>
35
					<groupId>org.gvsig</groupId>
36
					<artifactId>libFMap_data</artifactId>
37
				</exclusion>
38
			</exclusions>
39
		</dependency>
40
		<dependency>
41
			<groupId>org.gvsig</groupId>
42
			<artifactId>libRaster</artifactId>
43
			<version>2.0-SNAPSHOT</version>
44
		</dependency>
45
		<dependency>
46
			<groupId>org.gvsig</groupId>
47
			<artifactId>libUIComponent</artifactId>
48
			<version>2.0-SNAPSHOT</version>
49
		</dependency>
50
		<dependency>
51
			<groupId>org.gvsig.legacy</groupId>
52
			<artifactId>castor</artifactId>
53
			<version>gvsig</version>
54
		</dependency>
55
		<dependency>
56
			<groupId>org.gvsig.legacy</groupId>
57
			<artifactId>geoapi</artifactId>
58
			<version>gvsig</version>
59
		</dependency>
60
		<dependency>
61
			<groupId>org.gvsig.legacy</groupId>
62
			<artifactId>itext</artifactId>
63
			<version>gvsig</version>
64
		</dependency>
65
		<dependency>
66
			<groupId>org.gvsig.legacy</groupId>
67
			<artifactId>JimiProClasses</artifactId>
68
			<version>gvsig</version>
69
		</dependency>
70
		<dependency>
71
			<groupId>org.gvsig.legacy</groupId>
72
			<artifactId>jpedalSTD</artifactId>
73
			<version>gvsig</version>
74
		</dependency>
75
		<dependency>
76
			<groupId>org.gvsig.legacy</groupId>
77
			<artifactId>jts</artifactId>
78
			<version>gvsig</version>
79
		</dependency>
80
		<dependency>
81
			<groupId>org.gvsig.legacy</groupId>
82
			<artifactId>pdf-transcoder</artifactId>
83
			<version>gvsig</version>
84
		</dependency>
85
		<dependency>
86
			<groupId>org.gvsig.legacy</groupId>
87
			<artifactId>xerces</artifactId>
88
			<version>gvsig</version>
89
		</dependency>
90
		<dependency>
91
			<groupId>org.gvsig.legacy</groupId>
92
			<artifactId>xml-apis</artifactId>
93
			<version>gvsig</version>
94
		</dependency>
95
		<dependency>
96
			<groupId>org.gvsig.legacy</groupId>
97
			<artifactId>xml-apis-ext</artifactId>
98
			<version>gvsig</version>
99
		</dependency>
100
		<dependency>
101
			<groupId>org.gvsig.legacy</groupId>
102
			<artifactId>zql</artifactId>
103
			<version>gvsig</version>
104
		</dependency>
105
	</dependencies>
106
	<properties>
107
		<extension-appgvsig-lib-dir> ${extension-dir}/com.iver.cit.gvsig/lib/
108
		</extension-appgvsig-lib-dir>
109
		<build-dir>${basedir}/../build</build-dir>
110
		<extension-distribution> gvSIG/extensiones/com.iver.cit.gvsig/
111
		</extension-distribution>
112

  
113
		<!-- Path to the file descriptor to generate the extension-->
114
		<extension-distribution-file>distribution/extension-distribution.xml
115
		</extension-distribution-file>
116
		<!-- Final name of the output directory for the distribution -->
117
		<distribution-final-name>appgvsig</distribution-final-name>
118
		<application-name>appgvsig</application-name>
119
		<output-dir_installers>target/intallers/
120
		</output-dir_installers>
121
	</properties>
122
	<build>
123
		<sourceDirectory>src</sourceDirectory>
124
		<testSourceDirectory>test</testSourceDirectory>
125
		<plugins>
126
			<plugin>
127
				<groupId>org.apache.maven.plugins</groupId>
128
				<artifactId>maven-compiler-plugin</artifactId>
129
				<configuration>
130
          <!-- put your configurations here -->
131
					<!-- <failOnError>off</failOnError>  -->
132
				</configuration>
133
			</plugin>
134
		</plugins>
135
	</build>
136
</project>
tags/tmp_build/applications/appgvSIG/dist_resources/gvSIG.bat
1
@echo off
2
rem set gvSIG_JRE_HOME=
3
rem set this_path=
4
set error=N
5
IF DEFINED gvSIG_JRE_HOME goto check_this_path
6
ECHO No se ha establecido la variable 'gvSIG_JRE_HOME'
7
ECHO . 
8
set error=S
9
:check_this_path
10
IF DEFINED this_path goto check_errors
11
ECHO No se ha establecido la variable 'this_path'
12
set error=S
13
:check_errors
14
IF "%error%" == "N" goto run
15
Echo . 
16
ECHO Para que funcione este arranque de gvSIG debe editar este fichero
17
ECHO y modificar las siguentes lineas:
18
ECHO . 
19
ECHO rem set gvSIG_JRE_HOME=
20
ECHO rem set this_path=
21
ECHO . 
22
ECHO Dejandolas asi:
23
ECHO . 
24
ECHO set gvSIG_JRE_HOME={ruta a la jre preparada para gvsig}
25
ECHO set this_path={ruta en la que se encuentra este archivo}
26
ECHO .  
27
ECHO Ejecucion cancelada
28
pause
29
goto end
30

  
31
:run
32
cd "%this_path%"
33
"%gvSIG_JRE_HOME%\bin\java.exe" -cp ##Andami_classpath## -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones %1
34

  
35
:end
0 36

  
tags/tmp_build/applications/appgvSIG/dist_resources/gvSIG.sh
1
#!/bin/sh
2
# gvSIG.sh
3

  
4
GVSIG_SH_FILE=`readlink -f $0`
5
GVSIG_BIN=`dirname $GVSIG_SH_FILE`
6
#GVSIG_JRE_HOME=$HOME/gvSIG/jre/1.5.0_12
7
GVSIG_JRE_HOME=$HOME/gvSIG/jre/1.5.0_12
8
# Comporbar la JRE
9
if [ ! -f "$GVSIG_JRE_HOME/bin/java" ] 
10
then 
11
{
12
	echo No se ha encontrado el ejecutalble de la JRE en $GVSIG_JRE_HOME/bin/java
13
	echo 
14
	echo "Edite este fichero ($0) y modifique la variable GVSIG_JRE_HOME"
15
	echo para que tenga una ruta al JAVA_HOME preparado para gvSIG
16
	exit 1
17
}
18
fi
19

  
20
export JAVA_HOME="$GVSIG_JRE_HOME"
21
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$GVSIG_LIBS"
22
cd "$GVSIG_BIN"
23

  
24

  
25
for i in $GVSIG_BIN/lib/*.jar ; do
26
  LIBRARIES=$LIBRARIES:"$i"
27
done
28
for i in $GVSIG_BIN/lib/*.zip ; do
29
  LIBRARIES=$LIBRARIES:"$i"
30
done
31

  
32
"$JAVA_HOME"/bin/java -cp $GVSIG_BIN/bin:$LIBRARIES  -Xmx500M com.iver.andami.Launcher gvSIG gvSIG/extensiones "$@"
0 33

  
tags/tmp_build/applications/appgvSIG/A.txt
1
 ============================================================================
2
                   The Apache Software License, Version 1.1
3
 ============================================================================
4
 
5
 Copyright (C) 2000 The Apache Software Foundation. All rights reserved.
6
 
7
 Redistribution and use in source and binary forms, with or without modifica-
8
 tion, are permitted provided that the following conditions are met:
9
 
10
 1. Redistributions of  source code must  retain the above copyright  notice,
11
    this list of conditions and the following disclaimer.
12
 
13
 2. Redistributions in binary form must reproduce the above copyright notice,
14
    this list of conditions and the following disclaimer in the documentation
15
    and/or other materials provided with the distribution.
16
 
17
 3. The end-user documentation included with the redistribution, if any, must
18
    include  the following  acknowledgment:  "This product includes  software
19
    developed  by the  Apache Software Foundation  (http://www.apache.org/)."
20
    Alternately, this  acknowledgment may  appear in the software itself,  if
21
    and wherever such third-party acknowledgments normally appear.
22
 
23
 4. The names "Batik" and  "Apache Software Foundation"  must not be  used to
24
    endorse  or promote  products derived  from this  software without  prior
25
    written permission. For written permission, please contact
26
    apache@apache.org.
27
 
28
 5. Products  derived from this software may not  be called "Apache", nor may
29
    "Apache" appear  in their name,  without prior written permission  of the
30
    Apache Software Foundation.
31
 
32
 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
33
 INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
34
 FITNESS  FOR A PARTICULAR  PURPOSE ARE  DISCLAIMED.  IN NO  EVENT SHALL  THE
35
 APACHE SOFTWARE  FOUNDATION  OR ITS CONTRIBUTORS  BE LIABLE FOR  ANY DIRECT,
36
 INDIRECT, INCIDENTAL, SPECIAL,  EXEMPLARY, OR CONSEQUENTIAL  DAMAGES (INCLU-
37
 DING, BUT NOT LIMITED TO, PROCUREMENT  OF SUBSTITUTE GOODS OR SERVICES; LOSS
38
 OF USE, DATA, OR  PROFITS; OR BUSINESS  INTERRUPTION)  HOWEVER CAUSED AND ON
39
 ANY  THEORY OF LIABILITY,  WHETHER  IN CONTRACT,  STRICT LIABILITY,  OR TORT
40
 (INCLUDING  NEGLIGENCE OR  OTHERWISE) ARISING IN  ANY WAY OUT OF THE  USE OF
41
 THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42
 
43
 This software  consists of voluntary contributions made  by many individuals
44
 on  behalf  of the Apache Software  Foundation. For more  information on the
45
 Apache Software Foundation, please see <http://www.apache.org/>.
0 46

  
tags/tmp_build/applications/appgvSIG/build.xml
1
<project name="appgvSIG" default="dist" basedir=".">
2
    <description>
3
        gvSIG Main build
4
    </description>
5

  
6
	<import file="../binaries/ant/utilities.xml"/>
7

  
8
	<!--
9
		============================================
10
		Properties for build of the appgvSIG project
11
		============================================
12
	-->
13
	<property name="version" value="1.2 ${eclipse.startTime}"/>
14
	<property name="src" location="src"/>
15
	<property name="build" location="bin"/>
16
	<property name="src-test" location="src-test"/>
17
	<property name="build-test" location="bin-test"/>
18
	<property name="dist"  location="dist"/>
19
	<property name="lib"   location="lib"/>
20
	<property name="lib-references"   location="lib-references"/>
21
	<property name="plugin" value="com.iver.cit.gvsig"/>
22
	<property name="fmapdir" value="../libFMap"/>
23
	<property name="extensionDir" location="../_fwAndami/gvSIG/extensiones"/>
24
	<property name="andamiLibs" location="../_fwAndami/lib"/>
25
	<property name="fmapData"   location="../libFMap_data/lib"/>
26
	<property name="fmapDataDB"   location="../libFMap_dataDB/lib"/>
27
	<property name="fmapDataFile"   location="../libFMap_dataFile/lib"/>
28
	<property name="fmapGeometries"   location="../libFMap_geometries/lib"/>
29
	<property name="fmapMapContext"   location="../libFMap_mapcontext/lib"/>
30
	<property name="fmapMapControl"   location="../libFMap_mapcontrol/lib"/>
31
	<property name="andamiJar"  location="../_fwAndami/andami.jar"/>
32

  
33
	<!--
34
		============================================
35
		Properties for global build
36
		============================================
37
	-->
38

  
39
	<property name="gvSIG_projects" value="
40
		libTools,
41
		libInternationalization,
42
		libIverUtiles,
43
		libUIComponent,
44
		libMetadata,
45
		_fwAndami,
46
		libCorePlugin,
47
		libProjection,
48
		libRaster,
49
		libDXF,
50
		libRemoteServices,
51
		libFMap_geometries,
52
		libFMap_dal,
53
		libEvaluator_SQLJEP,
54
		libFMap_dalfile,
55
		libFMap_dalRaster,
56
		libFMap_dalindex,
57
		libFMap_mapcontext,
58
		libFMap_controls,
59
		appgvSIG,
60
		libJCRS,
61
		extJCRS,
62
		extEditing,
63
		libDwg,
64
		libCacheService,
65
		extSymbology,
66
		extRasterTools-SE,
67
		extAddEventTheme,
68
		appCatalogAndGazetteerClient,
69
		extCatalogAndGazetteer,
70
		extDataLocator,
71
		extJDBC,
72
		extGeoProcessing,
73
		extGeoprocessingExtensions,
74
		extGeoreferencing,
75
		extOracleSpatial,
76
		extSDE,
77
		extScripting,
78
		extAnnotations,
79
		extExpressionField,
80
		extWCS,
81
		extWFS2,
82
		extWMS,
83
		extCenterViewToPoint,
84
		libArcIMS,
85
		extArcims,
86
		extRemoteSensing,
87
		extGraph,
88
		extHelp,
89
		extIconThemeBase,
90
		lib3DMap,
91
		ext3Dgui,
92
		extSextanteGvsigBindings,
93
		binaries
94
	"/>
95

  
96
	<property name="mandatoryProjets" value="
97
		_fwAndami,
98
		libCorePlugin,
99
		libFMap,
100
		appgvSIG
101
	"/>
102

  
103
	<!--
104
	<property name="mandatoryProjets" value="
105
		_fwAndami,
106
		libCorePlugin,
107
		libFMap,
108
		appgvSIG,
109
		extJCRS
110
	"/>
111
	-->
112
	<property name="global.installBaseDir" location="${andami}"/>
113

  
114
	<property name="JUnitProjectResults" value="JUnitProjectResults"/>
115
	<property name="JUnitProjectResultsFile" value="JUnitProjectResults.txt"/>
116
	<property name="JUnitGlobalResults" location="JUnitGlobalResults"/>
117
	<property name="JUnitGlobalResultsFile" location="JUnitGlobalResults.txt"/>
118
	<property name="JUnitSummaryFile" location="JUnitGlobalResults.txt"/>
119
	<property name="FlagTestError" location="JUnitFlagError"/>
120

  
121
	<!--
122
		============================================
123
		Targets for build of the appgvSIG project
124
		============================================
125
	-->
126

  
127
	<target name="init">
128
		<!-- Create the time stamp -->
129
		<echo>
130
			Compiling ${ant.project.name}...</echo>
131

  
132
		<property file="build.number"/>
133
		<!-- Creamos un fichero con el timeStamp para que lo lea el FPanelAbout -->
134
		<!-- <buildnumber/> -->
135
	</target>
136

  
137
	<target name="update-referenced-libraries">
138
		<copy todir="${lib}" failonerror="false">
139
			<fileset dir="${workspaceDir}/libFMap_controls/dist" includes="*.jar,*.zip"/>
140
		</copy>
141
		<copy todir="${lib-references}" failonerror="false">
142
			<fileset dir="${workspaceDir}/libFMap_controls/lib" includes="*.jar,*.zip"/>
143
			<fileset dir="${workspaceDir}/libFMap_controls/lib-references" includes="*.jar,*.zip"/>
144
		</copy>
145

  
146
		<copy todir="${lib}" failonerror="false">
147
			<fileset dir="${workspaceDir}/libFMap_mapcontext/dist" includes="*.jar,*.zip"/>
148
		</copy>
149
		<copy todir="${lib-references}" failonerror="false">
150
			<fileset dir="${workspaceDir}/libFMap_mapcontext/lib" includes="*.jar,*.zip"/>
151
			<fileset dir="${workspaceDir}/libFMap_mapcontext/lib-references" includes="*.jar,*.zip"/>
152
		</copy>
153

  
154

  
155
		<copy todir="${lib}" failonerror="false">
156
			<fileset dir="${workspaceDir}/libFMap_geometries/dist" includes="*.jar,*.zip"/>
157
		</copy>
158
		<copy todir="${lib-references}" failonerror="false">
159
			<fileset dir="${workspaceDir}/libFMap_geometries/lib" includes="*.jar,*.zip"/>
160
			<fileset dir="${workspaceDir}/libFMap_geometries/lib-references" includes="*.jar,*.zip"/>
161
		</copy>
162

  
163
		<copy todir="${lib}" failonerror="false">
164
			<fileset dir="${workspaceDir}/libFMap_dal/dist" includes="*.jar,*.zip"/>
165
		</copy>
166
		<copy todir="${lib-references}" failonerror="false">
167
			<fileset dir="${workspaceDir}/libFMap_dal/lib" includes="*.jar,*.zip"/>
168
			<fileset dir="${workspaceDir}/libFMap_dal/lib-references" includes="*.jar,*.zip"/>
169
		</copy>
170

  
171
		<copy todir="${lib}" failonerror="false">
172
			<fileset dir="${workspaceDir}/libFMap_dalfile/dist" includes="*.jar,*.zip"/>
173
		</copy>
174
		<copy todir="${lib-references}" failonerror="false">
175
			<fileset dir="${workspaceDir}/libFMap_dalfile/lib" includes="*.jar,*.zip"/>
176
			<fileset dir="${workspaceDir}/libFMap_dalfile/lib-references" includes="*.jar,*.zip"/>
177
		</copy>
178

  
179
		<copy todir="${lib}" failonerror="false">
180
			<fileset dir="${workspaceDir}/libFMap_daldb/dist" includes="*.jar,*.zip"/>
181
		</copy>
182
		<copy todir="${lib-references}" failonerror="false">
183
			<fileset dir="${workspaceDir}/libFMap_daldb/lib" includes="*.jar,*.zip"/>
184
			<fileset dir="${workspaceDir}/libFMap_daldb/lib-references" includes="*.jar,*.zip"/>
185
		</copy>
186

  
187
		<copy todir="${lib}" failonerror="false">
188
			<fileset dir="${workspaceDir}/libEvaluator_SQLJEP/dist" includes="*.jar,*.zip"/>
189
		</copy>
190
		<copy todir="${lib-references}" failonerror="false">
191
			<fileset dir="${workspaceDir}/libEvaluator_SQLJEP/lib" includes="*.jar,*.zip"/>
192
		</copy>
193
		<copy todir="${lib}" failonerror="false">
194
			<fileset dir="${workspaceDir}/libTools/dist" includes="*.jar,*.zip"/>
195
		</copy>
196

  
197

  
198

  
199
		<copy todir="${lib}" failonerror="false">
200
			<fileset dir="${workspaceDir}/libFMap_dalindex/dist" includes="*.jar,*.zip"/>
201
		</copy>
202
		<copy todir="${lib-references}" failonerror="false">
203
			<fileset dir="${workspaceDir}/libFMap_dalindex/lib" includes="*.jar,*.zip"/>
204
		</copy>
205

  
206
		<copy todir="${lib}" failonerror="false">
207
			<fileset dir="${workspaceDir}/libRaster/dist" includes="*.jar,.key*"/>
208
		</copy>
209

  
210
		<copy todir="${lib-references}" failonerror="false">
211
			<fileset dir="${workspaceDir}/libRaster/lib" includes="*.jar"/>
212
		</copy>
213

  
214
	</target>
215

  
216

  
217
	<target name="dist"
218
				depends="init,update-referenced-libraries,create-jar,copy-libs,copy-data-files,move-to-andami"
219
				description="Generate the distribution of the gvSIG plugin. To build just the appgvSIG project from Eclipse " >
220
		<!-- Create the distribution directory -->
221
	</target>
222

  
223
	<target name="compile" description="compile the source" depends="update-referenced-libraries">
224
		<!-- Create the build directory structure used by compile -->
225
		<mkdir dir="${build}"/>
226
		<mkdir dir="${build-test}"/>
227
		<!-- Compile the Java code from ${src} to ${build} -->
228
		<loadEclipseClasspath project="${basedir}"/>
229
		<gvSIG-javac
230
			classpath="${eclipseClasspath}"/>
231
		<gvSIG-javac
232
			classpath="${eclipseClasspath}"
233
			srcdir="${src-test}"
234
			destdir="${build-test}"/>
235

  
236
	</target>
237

  
238
	<target name="create-jar" description="Creates the jar file">
239
		<mkdir dir="${dist}/lib"/>
240
		<jar jarfile="${dist}/lib/${plugin}.jar" basedir="${build}"/>
241
	</target>
242

  
243
	<target name="copy-libs">
244
		<!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
245
		<copy todir="${dist}/lib">
246
			<fileset dir="./lib" includes="*.jar,*.zip"/>
247
		</copy>
248

  
249
		<copy todir="${dist}/lib">
250
			<fileset dir="${lib-references}" includes="*.jar,*.zip"/>
251
		</copy>
252

  
253
		<!--ant dir="../libFMap" target="batch-build" inheritAll="false">
254
			<property name="debug" value="${debug}"/>
255
			<property name="debuglevel" value="${debuglevel}"/>
256
			<property name="encoding" value="ISO_8859_1"/>
257
		</ant-->
258
		<!--copy todir="${dist}/lib">
259
			<fileset dir="${fmapdir}/dist/lib/" includes="*.jar,*.zip"/>
260
		</copy-->
261

  
262
	</target>
263

  
264
	<target name="batch-build"
265
			description="Global build for the whole gvSIG + extensions. Compiles all the sources and builds the application so that it's ready to execute"
266
			depends="init,update-referenced-libraries,compile,create-jar,copy-libs,copy-data-files,move-to-andami">
267
	</target>
268

  
269
	<target name="copy-data-files">
270
        <copy todir="${dist}">
271
                <fileset dir="config" includes="*" />
272
        </copy>
273
		<copy file="build.number" todir="${dist}"/>
274
		<copy todir="${dist}/images">
275
			<fileset dir="images/" includes="*"/>
276
		</copy>
277
		<copy todir="${dist}/northimages">
278
			<fileset dir="northimages/" includes="*"/>
279
		</copy>
280
    </target>
281

  
282
	<target name="move-to-andami" description="Moves the build directory to andami">
283
		<move todir="${extensionDir}/${plugin}/">
284
			<fileset dir="${dist}" includes="**/**"/>
285
		</move>
286
	</target>
287

  
288
	<target name="clean"
289
			description="clean up" >
290
		<!-- Delete the ${build} and ${dist} directory trees -->
291
		<delete dir="${build}"/>
292
		<!--<delete dir="${dist}"/> -->
293
	</target>
294

  
295
	<target name="run-tests" depends="batch-build,compile-tests">
296
		<antcall target="generic-run-tests">
297
			<param name="TestSuite.Name" value="com.iver.cit.gvsig.AllTests"/>
298
		</antcall>
299
	</target>
300

  
301
	<!--
302
		============================================
303
		Targets for global build
304
		============================================
305
	-->
306

  
307
	<!-- Public Targets -->
308
	<!-- Comment to use it with debug on
309
	<target name="make-binary-distribution"
310
            description="
311
				Prepare for do a binary distribution of the application.
312
				This increments the build number and then makes a global build"
313
            depends="clean-all,buildNumber,build-all-DebugOff">
314
    </target>
315
    -->
316
	<target name="make-binary-distribution"
317
            description="
318
				Prepare for do a binary distribution of the application.
319
				This increments the build number and then makes a global build"
320
            depends="clean-all,buildNumber,build-all">
321
    </target>
322

  
323
	<target name="make-binary-distribution-JS1.5_JT1.4"
324
            description="
325
			Prepare for do a binary distribution of the application.
326
			This increments the build number and then makes a global build.
327
			Source Java 1.5 and Target Java 1.4"
328
            depends="clean-all,buildNumber,build-all-JS1.5_JT1.4-DebugOff">
329
    </target>
330

  
331
	<target name="make-binary-distribution-test"
332
            description="
333
			Prepare for a binary distribution of the application
334
			without increments the global build number"
335
            depends="clean-all,build-all-DebugOff">
336
    </target>
337

  
338
	<target name="make-binary-distribution-JS1.5_JT1.4-test"
339
            description="
340
			Prepare for a binary distribution of the application
341
			without increments the global build number.
342
			Source Java 1.5 and Target Java 1.4"
343
            depends="clean-all,build-all-JS1.5_JT1.4-DebugOff">
344
    </target>
345

  
346
	<target name="make-zip-snapshot-test"
347
            description="
348
			Prepare a zip binary distribution of the application
349
			with a snapshot of current state">
350

  
351

  
352
		<delete dir="./dist-temp" failonerror="false"/>
353
		<mkdir dir="./dist-temp/gvSIG_test"/>
354
		<copy todir="./dist-temp/gvSIG_test">
355
			<fileset dir="${workspaceDir}/_fwAndami" includes="**/**"
356
				excludes="*.bat,*.sh,src/,src-test/,bin-test/,*.xml,andami.jar,**/.svn,docs/,.*,.*/,config/,schemas/"/>
357
		</copy>
358
		<copy todir="./dist-temp/gvSIG_test">
359
			<fileset dir="./dist_resources" includes="*.sh,*.bat"/>
360
		</copy>
361
		<loadEclipseClasspath project="${workspaceDir}/_fwAndami" property="andami_classpath"/>
362
		<replace file="./dist-temp/gvSIG_test/gvSIG.bat" token="##Andami_classpath##" value="${andami_classpath}"/>
363
		<replace file="./dist-temp/gvSIG_test/gvSIG.bat" token=":${workspaceDir}/_fwAndami" value=";."/>
364
		<replace file="./dist-temp/gvSIG_test/gvSIG.bat" token="${workspaceDir}/_fwAndami" value="."/>
365

  
366
		<tstamp>
367
		   <format property="BUILD-Date" pattern="yyyyMMddhhmm"/>
368
		</tstamp>
369

  
370
		<zip destfile="gvSIG-snapshot-${BUILD-Date}.zip">
371
			<zipfileset dir="./dist-temp/gvSIG_test" prefix="gvSIG_test_${BUILD-Date}" includes="**/**" excludes="*.sh"/>
372
			<zipfileset dir="./dist-temp/gvSIG_test" prefix="gvSIG_test_${BUILD-Date}" includes="*.sh" filemode="755"/>
373
		</zip>
374

  
375
		<delete dir="./dist-temp" failonerror="false"/>
376
    </target>
377

  
378
    <target name="clean_andami_gvSIGdir"
379
            description="clean up the gvSIG andami deploy">
380
        <delete dir="${andami}/gvSIG" failonerror="false"/>
381
    </target>
382

  
383
	<target name="build-all"
384
		description="
385
			Global build for the whole gvSIG.
386
			Compiles all the sources and builds the application so that it's ready to execute
387
	">
388
		<antcall target="build-all-projects">
389
			<param name="debug" value="on"/>
390
			<param name="debuglevel" value="lines, vars"/>
391
		</antcall>
392
	</target>
393

  
394
	<target name="build-all-DebugOff"
395
		description="
396
			Global build for the whole gvSIG.
397
			Compiles all the sources and builds the application so that it's ready to execute.
398
			Do not generate debug info in complilation.
399
	">
400
		<antcall target="build-all-projects">
401
			<param name="debug" value="off"/>
402
			<param name="debuglevel" value=""/>
403
		</antcall>
404
	</target>
405

  
406
	<target name="build-all-JS1.5_JT1.4"
407
		description="
408
			Global build for the whole gvSIG.
409
			Compiles all the sources and builds the application so that it's ready to execute.
410
			Source Java 1.5 and Target Java 1.4
411
	">
412
		<antcall target="build-all-projects">
413
			<param name="JavaSourceVersion" value="1.5"/>
414
			<param name="JavaTargetVersion" value="jsr14"/>
415
		</antcall>
416
	</target>
417

  
418
	<target name="build-all-JS1.5_JT1.4-DebugOff"
419
		description="
420
			Global build for the whole gvSIG.
421
			Compiles all the sources and builds the application so that it's ready to execute.
422
			Source Java 1.5 and Target Java 1.4.
423
			Do not generate debug info in complilation.
424
	">
425
		<antcall target="build-all-projects">
426
			<param name="JavaSourceVersion" value="1.5"/>
427
			<param name="JavaTargetVersion" value="jsr14"/>
428
			<param name="debug" value="off"/>
429
			<param name="debuglevel" value=""/>
430
		</antcall>
431
	</target>
432

  
433

  
434
	<target name="build-all-projects"
435
			description="Builds the application, excluding extensions">
436
		<property file="build.number"/>
437
		<foreach list="${gvSIG_projects}" trim="true" delimiter="," target="batch-build-project" param="bb-project.name"/>
438
	</target>
439

  
440
	<target name="clean-all"
441
				depends="clean_andami_gvSIGdir,clean-all-projects"
442
				description="clean up application and projets" />
443

  
444
	<target name="clean-all-projects"
445
		description="cleans the base components of gvSIG: appgvSIG + libs">
446
		<!-- Delete the ${build} and ${dist} directory trees -->
447
		<foreach list="${gvSIG_projects}"  trim="true" delimiter="," target="clean-project" param="c-project.name"/>
448
	</target>
449

  
450
	<target name="install-all"
451
					depends="install-all-projects"
452
					description="Generate jars and copy files to Andami for the whole application (gvSIG+libs+extensions). Compilation is supposed to be automatically done by Eclipse" />
453

  
454
	<target name="install-all-projects"
455
				description="Generate jars and copy files to Andami for the application (gvSIG+libs). Compilation is supposed to be automatically done by Eclipse" >
456
		<foreach list="${gvSIG_projects}" trim="true"  delimiter="," target="install-project" param="i-project.name"/>
457
	</target>
458

  
459
	<target name="update-all-classpath-files"
460
				description="Updates the timestamp of all projects.
461
					This force eclipse to update jar missing errors.">
462
		<foreach list="${gvSIG_projects}" trim="true"  delimiter="," target="update-proyect-classpath-file" param="u-cp-project.name"/>
463
	</target>
464

  
465

  
466

  
467
	<!-- utility targets -->
468

  
469

  
470
	<target name="buildNumber"
471
				description="Generates the build.number for the application">
472
		<propertyfile
473
				file="build.number"
474
				comment="Build Number for ANT. Do not edit!">
475
			<entry  key="build.number" default="0" type="int" operation="+" pattern="0000"/>
476
		</propertyfile>
477
	</target>
478

  
479
	<target name="install-project">
480
		<property name="i-project.dir" location="../${i-project.name}"/>
481
		<if>
482
			<available file="${i-project.dir}" type="dir"/>
483
			<then>
484
				<echo>
485
					Install ${i-project.name}
486
				</echo>
487
				<ant dir="${i-project.dir}" inheritAll="false">
488
					<property name="buildNumberFile" location="build.number"/>
489
				</ant>
490
			</then>
491
			<else>
492
				<if>
493
					<contains string="${mandatoryProjets}" substring="${i-project.name}"/>
494
					<then>
495
						<fail message="The required project is missing for Install: ${i-project.name}"/>
496
					</then>
497
					<else>
498
						<echo>
499
							Skip ${i-project.name} project from Intall
500
						</echo>
501
					</else>
502
				</if>
503
			</else>
504
		</if>
505
	</target>
506

  
507

  
508
	<target name="clean-project">
509
		<property name="c-project.dir" location="../${c-project.name}"/>
510
		<if>
511
			<available file="${c-project.dir}" type="dir"/>
512
			<then>
513
				<echo>
514
					Clean ${c-project.name}
515
				</echo>
516
				<ant dir="${c-project.dir}" target="clean" inheritAll="false"/>
517
			</then>
518
			<else>
519
				<if>
520
					<contains string="${mandatoryProjets}" substring="${c-project.name}"/>
521
					<then>
522
						<fail message="The required project is missing for Clean: ${c-project.name}"/>
523
					</then>
524
					<else>
525
						<echo>
526
							Skip ${c-project.name} project from Clean
527
						</echo>
528
					</else>
529
				</if>
530
			</else>
531
		</if>
532
	</target>
533

  
534
	<target name="batch-build-project">
535
		<property name="bb-project.dir" location="../${bb-project.name}"/>
536
		<if>
537
			<available file="${bb-project.dir}" type="dir"/>
538
			<then>
539
				<echo>
540
					Batch-build ${bb-project.name}
541
				</echo>
542
				<ant dir="${bb-project.dir}" target="batch-build" inheritAll="false">
543
					<property name="debug" value="${debug}"/>
544
					<property name="debuglevel" value="${debuglevel}"/>
545
					<property name="encoding" value="${encoding}"/>
546
					<property name="JavaSourceVersion" value="${JavaSourceVersion}"/>
547
					<property name="JavaTargetVersion" value="${JavaTargetVersion}"/>
548
					<property name="buildNumberFile" location="build.number"/>
549
				</ant>
550
			</then>
551
			<else>
552
				<if>
553
					<contains string="${mandatoryProjets}" substring="${bb-project.name}"/>
554
					<then>
555
						<fail message="The required project is missing for Batch build: ${bb-extension.name}"/>
556
					</then>
557
					<else>
558
						<echo>
559
							Skip ${bb-project.name} project from Batch build
560
						</echo>
561
					</else>
562
				</if>
563
			</else>
564
		</if>
565
	</target>
566

  
567
	<target name="update-proyect-classpath-file">
568
		<property name="u-cp-project.dir" location="../${u-cp-project.name}"/>
569
		<if>
570
			<available file="${u-cp-project.dir}" type="dir"/>
571
			<then>
572
				<if>
573
					<available file="${u-cp-project.dir}/.classpath" type="file"/>
574
					<then>
575
						<touch file="${u-cp-project.dir}/.classpath"/>
576
						<echo>
577
							Update classpath file of ${u-cp-project.name}
578
						</echo>
579
					</then>
580
				</if>
581
			</then>
582
			<else>
583
				<if>
584
					<contains string="${mandatoryProjets}" substring="${u-cp-project.name}"/>
585
					<then>
586
						<if>
587
							<available file="${u-cp-project.dir}/.classpath" type="file"/>
588
							<then>
589
								<fail message="The required project is missing for Update classpath file: ${u-cp-project.name}"/>
590
							</then>
591
						</if>
592
					</then>
593
					<else>
594
						<echo>
595
							Skip ${u-cp-project.name} project from Update classpath file
596
						</echo>
597
					</else>
598
				</if>
599
			</else>
600
		</if>
601
	</target>
602

  
603
	<target name="run-one-test">
604
		<property name="target.project.dir" location="../${target.project.name}"/>
605
		<if>
606
			<available file="${target.project.dir}" type="dir"/>
607
			<then>
608
				<echo>
609
					Running tests: ${target.project.dir}
610
				</echo>
611
				<trycatch property="AnErrorHappened">
612
					<try>
613
						<ant dir="${target.project.dir}"
614
							target="run-tests"
615
							inheritAll="false">
616
							<property name="JUnitProjectResults" value="${JUnitProjectResults}"/>
617
							<property name="JUnitProjectResultsFile" value="${JUnitProjectResultsFile}"/>
618
							<property name="JUnitGlobalResults" value="${JUnitGlobalResults}"/>
619
							<property name="JUnitGlobalResultsFile" value="${JUnitGlobalResultsFile}"/>
620
							<property name="JUnitSummaryFile" value="${JUnitSummaryFile}"/>
621
							<property name="buildNumberFile" location="${buildNumberFile}"/>
622
						</ant>
623
					</try>
624
					<catch>
625
						<echo	level="error"
626
								append="true"
627
								file="${FlagTestError}">${target.project.name}: ${AnErrorHappened}</echo>
628
						<echo level="error">${target.project.name}: ${AnErrorHappened}</echo>
629
						<echo append="true" file="${JUnitGlobalResultsFile}">JUnitTests for ${target.project.name}: FAILED.${line.separator}</echo>
630
						<echo append="true" file="${target.project.dir}/${JUnitProjectResultsFile}">${AnErrorHappened}</echo>
631
					</catch>
632
				</trycatch>
633
			</then>
634
			<else>
635
				<echo>
636
					Skip ${target.project.dir} project from RunTests
637
				</echo>
638
				<echo append="true" file="${JUnitGlobalResultsFile}">JUnitTests for ${target.project.name}: SKIPPED.${line.separator}</echo>
639
			</else>
640
		</if>
641
	</target>
642

  
643
	<target name="run-all-tests">
644
		<delete file="${FlagTestError}" />
645
		<move 	file="${JUnitGlobalResultsFile}"
646
				tofile="${JUnitGlobalResults}.old"
647
				failonerror="false" />
648
		<property name="buildNumberFile" location="build.number"/>
649
		<foreach	list="${gvSIG_projects}"
650
					delimiter=","
651
	  				trim="true"
652
					target="run-one-test"
653
					param="target.project.name">
654
					<param name="buildNumberFile" location="${buildNumberFile}"/>
655
		</foreach>
656

  
657
		<foreach 	list="${gvSIG_projects}"
658
	  				trim="true"
659
					delimiter=","
660
					target="concat-test-output"
661
					param="target.project.name" />
662

  
663
		<if>
664
			<available file="${FlagTestError}" type="file"/>
665
			<then>
666
				<echo file="${JUnitGlobalResultsFile}.tmp"> === Global JUnit Results: FAILURE.${line.separator}${line.separator}</echo>
667
				<concat  destfile="${JUnitGlobalResultsFile}.tmp2"
668
						binary="true">
669
					<fileset file="${JUnitGlobalResultsFile}.tmp"/>
670
					<fileset file="${JUnitGlobalResultsFile}"/>
671
				</concat>
672
				<move file="${JUnitGlobalResultsFile}.tmp2" tofile="${JUnitGlobalResultsFile}"/>
673
				<delete file="${JUnitGlobalResultsFile}.tmp"/>
674
				<echo level="error">JUnitTests: FAILURE.
675
					See ${JUnitGlobalResultsFile} file for details.
676
				</echo>
677
			</then>
678
			<else>
679
				<echo file="${JUnitGlobalResultsFile}.tmp"> === Global JUnit Results: SUCCESS.${line.separator}${line.separator}</echo>
680
				<concat  destfile="${JUnitGlobalResultsFile}.tmp2"
681
						binary="true">
682
					<fileset file="${JUnitGlobalResultsFile}.tmp"/>
683
					<fileset file="${JUnitGlobalResultsFile}"/>
684
				</concat>
685
				<move file="${JUnitGlobalResultsFile}.tmp2" tofile="${JUnitGlobalResultsFile}"/>
686
				<delete file="${22JUnitGlobalResultsFile}.tmp"/>
687
				<echo>JUnitTests: SUCCESS.
688
						See ${JUnitGlobalResultsFile} file for details.
689
				</echo>
690
			</else>
691
		</if>
692
		<delete file="${FlagTestError}" />
693
	</target>
694

  
695
</project>
696

  
0 697

  
tags/tmp_build/applications/appgvSIG/.classpath
1
<?xml version="1.0" encoding="UTF-8"?>
2
<classpath>
3
	<classpathentry kind="src" path="src"/>
4
	<classpathentry kind="lib" path="lib/JimiProClasses.zip"/>
5
	<classpathentry kind="lib" path="lib/batik-bridge.jar"/>
6
	<classpathentry kind="lib" path="lib/batik-gvt.jar"/>
7
	<classpathentry kind="lib" path="lib/batik-script.jar"/>
8
	<classpathentry kind="lib" path="lib/batik-util.jar"/>
9
	<classpathentry kind="lib" path="lib/org.gvsig.raster.jar"/>
10
	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
11
	<classpathentry kind="lib" path="lib/pdf-transcoder.jar"/>
12
	<classpathentry kind="lib" path="/_fwAndami/lib/castor-0.9.5.3-xml.jar"/>
13
	<classpathentry kind="lib" path="/_fwAndami/lib/xerces_2_5_0.jar"/>
14
	<classpathentry kind="lib" path="/_fwAndami/lib/xml-apis.jar"/>
15
	<classpathentry kind="lib" path="lib/itext-1.4.2.jar"/>
16
	<classpathentry kind="lib" path="lib/zql.jar"/>
17
	<classpathentry kind="src" output="bin-test" path="src-test"/>
18
	<classpathentry kind="lib" path="/_fwAndami/lib/looks-2.1.4.jar"/>
19
	<classpathentry kind="lib" path="/_fwAndami/lib/JWizardComponent.jar"/>
20
	<classpathentry kind="lib" path="/_fwAndami/lib/org.gvsig.ui.jar"/>
21
	<classpathentry kind="lib" path="lib/jpedalSTD.jar"/>
22
	<classpathentry combineaccessrules="false" kind="src" path="/_fwAndami"/>
23
	<classpathentry kind="lib" path="/libProjection/lib/geoapi-2.0.jar"/>
24
	<classpathentry kind="lib" path="lib/xml-apis-ext.jar"/>
25
	<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/3"/>
26
	<classpathentry kind="lib" path="/_fwAndami/lib/log4j-1.2.15.jar"/>
27
	<classpathentry kind="lib" path="/libFMap_geometries/lib/jts-1.9.jar"/>
28
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.control.jar" sourcepath="/libFMap_controls"/>
29
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.dal.jar" sourcepath="/libFMap_dal"/>
30
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.dal.file.jar" sourcepath="/libFMap_dalfile/src"/>
31
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.geometry.jar"/>
32
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.mapcontext.jar" sourcepath="/libFMap_mapcontext"/>
33
	<classpathentry combineaccessrules="false" kind="src" path="/libIverUtiles"/>
34
	<classpathentry kind="lib" path="lib-references/org.gvsig.metadata.jar"/>
35
	<classpathentry kind="lib" path="lib/org.gvsig.tools.jar"/>
36
	<classpathentry kind="lib" path="lib/org.gvsig.tools.evaluator.sqljep.jar"/>
37
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.dal-spi.jar"/>
38
	<classpathentry combineaccessrules="false" kind="src" path="/libProjection"/>
39
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.dal.store.dbf.jar" sourcepath="/libFMap_dalfile"/>
40
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.dal.store.dxf.jar"/>
41
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.dal.store.shp.jar"/>
42
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.dal.store.dgn.jar"/>
43
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.dal.index.spatial.gt2.jar"/>
44
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.dal.index.spatial.jsi.jar"/>
45
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.dal.index.spatial.jts.jar"/>
46
	<classpathentry kind="lib" path="lib/org.gvsig.fmap.dal.index.spatial.spatialindex.jar"/>
47
	<classpathentry kind="output" path="bin"/>
48
</classpath>
0 49

  
tags/tmp_build/applications/appgvSIG/gpl.txt
1
		    GNU GENERAL PUBLIC LICENSE
2
		       Version 2, June 1991
3

  
4
 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
                       59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
6
 Everyone is permitted to copy and distribute verbatim copies
7
 of this license document, but changing it is not allowed.
8

  
9
			    Preamble
10

  
11
  The licenses for most software are designed to take away your
12
freedom to share and change it.  By contrast, the GNU General Public
13
License is intended to guarantee your freedom to share and change free
14
software--to make sure the software is free for all its users.  This
15
General Public License applies to most of the Free Software
16
Foundation's software and to any other program whose authors commit to
17
using it.  (Some other Free Software Foundation software is covered by
18
the GNU Library General Public License instead.)  You can apply it to
19
your programs, too.
20

  
21
  When we speak of free software, we are referring to freedom, not
22
price.  Our General Public Licenses are designed to make sure that you
23
have the freedom to distribute copies of free software (and charge for
24
this service if you wish), that you receive source code or can get it
25
if you want it, that you can change the software or use pieces of it
26
in new free programs; and that you know you can do these things.
27

  
28
  To protect your rights, we need to make restrictions that forbid
29
anyone to deny you these rights or to ask you to surrender the rights.
30
These restrictions translate to certain responsibilities for you if you
31
distribute copies of the software, or if you modify it.
32

  
33
  For example, if you distribute copies of such a program, whether
34
gratis or for a fee, you must give the recipients all the rights that
35
you have.  You must make sure that they, too, receive or can get the
36
source code.  And you must show them these terms so they know their
37
rights.
38

  
39
  We protect your rights with two steps: (1) copyright the software, and
40
(2) offer you this license which gives you legal permission to copy,
41
distribute and/or modify the software.
42

  
43
  Also, for each author's protection and ours, we want to make certain
44
that everyone understands that there is no warranty for this free
45
software.  If the software is modified by someone else and passed on, we
46
want its recipients to know that what they have is not the original, so
47
that any problems introduced by others will not reflect on the original
48
authors' reputations.
49

  
50
  Finally, any free program is threatened constantly by software
51
patents.  We wish to avoid the danger that redistributors of a free
52
program will individually obtain patent licenses, in effect making the
53
program proprietary.  To prevent this, we have made it clear that any
54
patent must be licensed for everyone's free use or not licensed at all.
55

  
56
  The precise terms and conditions for copying, distribution and
57
modification follow.
58

59
		    GNU GENERAL PUBLIC LICENSE
60
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61

  
62
  0. This License applies to any program or other work which contains
63
a notice placed by the copyright holder saying it may be distributed
64
under the terms of this General Public License.  The "Program", below,
65
refers to any such program or work, and a "work based on the Program"
66
means either the Program or any derivative work under copyright law:
67
that is to say, a work containing the Program or a portion of it,
68
either verbatim or with modifications and/or translated into another
69
language.  (Hereinafter, translation is included without limitation in
70
the term "modification".)  Each licensee is addressed as "you".
71

  
72
Activities other than copying, distribution and modification are not
73
covered by this License; they are outside its scope.  The act of
74
running the Program is not restricted, and the output from the Program
75
is covered only if its contents constitute a work based on the
76
Program (independent of having been made by running the Program).
77
Whether that is true depends on what the Program does.
78

  
79
  1. You may copy and distribute verbatim copies of the Program's
80
source code as you receive it, in any medium, provided that you
81
conspicuously and appropriately publish on each copy an appropriate
82
copyright notice and disclaimer of warranty; keep intact all the
83
notices that refer to this License and to the absence of any warranty;
84
and give any other recipients of the Program a copy of this License
85
along with the Program.
86

  
87
You may charge a fee for the physical act of transferring a copy, and
88
you may at your option offer warranty protection in exchange for a fee.
89

  
90
  2. You may modify your copy or copies of the Program or any portion
91
of it, thus forming a work based on the Program, and copy and
92
distribute such modifications or work under the terms of Section 1
93
above, provided that you also meet all of these conditions:
94

  
95
    a) You must cause the modified files to carry prominent notices
96
    stating that you changed the files and the date of any change.
97

  
98
    b) You must cause any work that you distribute or publish, that in
99
    whole or in part contains or is derived from the Program or any
100
    part thereof, to be licensed as a whole at no charge to all third
101
    parties under the terms of this License.
102

  
103
    c) If the modified program normally reads commands interactively
104
    when run, you must cause it, when started running for such
105
    interactive use in the most ordinary way, to print or display an
106
    announcement including an appropriate copyright notice and a
107
    notice that there is no warranty (or else, saying that you provide
108
    a warranty) and that users may redistribute the program under
109
    these conditions, and telling the user how to view a copy of this
110
    License.  (Exception: if the Program itself is interactive but
111
    does not normally print such an announcement, your work based on
112
    the Program is not required to print an announcement.)
113

114
These requirements apply to the modified work as a whole.  If
115
identifiable sections of that work are not derived from the Program,
116
and can be reasonably considered independent and separate works in
117
themselves, then this License, and its terms, do not apply to those
118
sections when you distribute them as separate works.  But when you
119
distribute the same sections as part of a whole which is a work based
120
on the Program, the distribution of the whole must be on the terms of
121
this License, whose permissions for other licensees extend to the
122
entire whole, and thus to each and every part regardless of who wrote it.
123

  
124
Thus, it is not the intent of this section to claim rights or contest
125
your rights to work written entirely by you; rather, the intent is to
126
exercise the right to control the distribution of derivative or
127
collective works based on the Program.
128

  
129
In addition, mere aggregation of another work not based on the Program
130
with the Program (or with a work based on the Program) on a volume of
131
a storage or distribution medium does not bring the other work under
132
the scope of this License.
133

  
134
  3. You may copy and distribute the Program (or a work based on it,
135
under Section 2) in object code or executable form under the terms of
136
Sections 1 and 2 above provided that you also do one of the following:
137

  
138
    a) Accompany it with the complete corresponding machine-readable
139
    source code, which must be distributed under the terms of Sections
140
    1 and 2 above on a medium customarily used for software interchange; or,
141

  
142
    b) Accompany it with a written offer, valid for at least three
143
    years, to give any third party, for a charge no more than your
144
    cost of physically performing source distribution, a complete
145
    machine-readable copy of the corresponding source code, to be
146
    distributed under the terms of Sections 1 and 2 above on a medium
147
    customarily used for software interchange; or,
148

  
149
    c) Accompany it with the information you received as to the offer
150
    to distribute corresponding source code.  (This alternative is
151
    allowed only for noncommercial distribution and only if you
152
    received the program in object code or executable form with such
153
    an offer, in accord with Subsection b above.)
154

  
155
The source code for a work means the preferred form of the work for
156
making modifications to it.  For an executable work, complete source
157
code means all the source code for all modules it contains, plus any
158
associated interface definition files, plus the scripts used to
159
control compilation and installation of the executable.  However, as a
160
special exception, the source code distributed need not include
161
anything that is normally distributed (in either source or binary
162
form) with the major components (compiler, kernel, and so on) of the
163
operating system on which the executable runs, unless that component
164
itself accompanies the executable.
165

  
166
If distribution of executable or object code is made by offering
167
access to copy from a designated place, then offering equivalent
168
access to copy the source code from the same place counts as
169
distribution of the source code, even though third parties are not
170
compelled to copy the source along with the object code.
171

172
  4. You may not copy, modify, sublicense, or distribute the Program
173
except as expressly provided under this License.  Any attempt
174
otherwise to copy, modify, sublicense or distribute the Program is
175
void, and will automatically terminate your rights under this License.
176
However, parties who have received copies, or rights, from you under
177
this License will not have their licenses terminated so long as such
178
parties remain in full compliance.
179

  
180
  5. You are not required to accept this License, since you have not
181
signed it.  However, nothing else grants you permission to modify or
182
distribute the Program or its derivative works.  These actions are
183
prohibited by law if you do not accept this License.  Therefore, by
184
modifying or distributing the Program (or any work based on the
185
Program), you indicate your acceptance of this License to do so, and
186
all its terms and conditions for copying, distributing or modifying
187
the Program or works based on it.
188

  
189
  6. Each time you redistribute the Program (or any work based on the
190
Program), the recipient automatically receives a license from the
191
original licensor to copy, distribute or modify the Program subject to
192
these terms and conditions.  You may not impose any further
193
restrictions on the recipients' exercise of the rights granted herein.
194
You are not responsible for enforcing compliance by third parties to
195
this License.
196

  
197
  7. If, as a consequence of a court judgment or allegation of patent
198
infringement or for any other reason (not limited to patent issues),
199
conditions are imposed on you (whether by court order, agreement or
200
otherwise) that contradict the conditions of this License, they do not
201
excuse you from the conditions of this License.  If you cannot
202
distribute so as to satisfy simultaneously your obligations under this
203
License and any other pertinent obligations, then as a consequence you
204
may not distribute the Program at all.  For example, if a patent
205
license would not permit royalty-free redistribution of the Program by
206
all those who receive copies directly or indirectly through you, then
207
the only way you could satisfy both it and this License would be to
208
refrain entirely from distribution of the Program.
209

  
210
If any portion of this section is held invalid or unenforceable under
211
any particular circumstance, the balance of the section is intended to
212
apply and the section as a whole is intended to apply in other
213
circumstances.
214

  
215
It is not the purpose of this section to induce you to infringe any
216
patents or other property right claims or to contest validity of any
217
such claims; this section has the sole purpose of protecting the
218
integrity of the free software distribution system, which is
219
implemented by public license practices.  Many people have made
220
generous contributions to the wide range of software distributed
221
through that system in reliance on consistent application of that
222
system; it is up to the author/donor to decide if he or she is willing
223
to distribute software through any other system and a licensee cannot
224
impose that choice.
225

  
226
This section is intended to make thoroughly clear what is believed to
227
be a consequence of the rest of this License.
228

229
  8. If the distribution and/or use of the Program is restricted in
230
certain countries either by patents or by copyrighted interfaces, the
231
original copyright holder who places the Program under this License
232
may add an explicit geographical distribution limitation excluding
233
those countries, so that distribution is permitted only in or among
234
countries not thus excluded.  In such case, this License incorporates
235
the limitation as if written in the body of this License.
236

  
237
  9. The Free Software Foundation may publish revised and/or new versions
238
of the General Public License from time to time.  Such new versions will
239
be similar in spirit to the present version, but may differ in detail to
240
address new problems or concerns.
241

  
242
Each version is given a distinguishing version number.  If the Program
243
specifies a version number of this License which applies to it and "any
244
later version", you have the option of following the terms and conditions
245
either of that version or of any later version published by the Free
246
Software Foundation.  If the Program does not specify a version number of
247
this License, you may choose any version ever published by the Free Software
248
Foundation.
249

  
250
  10. If you wish to incorporate parts of the Program into other free
251
programs whose distribution conditions are different, write to the author
252
to ask for permission.  For software which is copyrighted by the Free
253
Software Foundation, write to the Free Software Foundation; we sometimes
254
make exceptions for this.  Our decision will be guided by the two goals
255
of preserving the free status of all derivatives of our free software and
256
of promoting the sharing and reuse of software generally.
257

  
258
			    NO WARRANTY
259

  
260
  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
REPAIR OR CORRECTION.
269

  
270
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
POSSIBILITY OF SUCH DAMAGES.
279

  
280
		     END OF TERMS AND CONDITIONS
281

282
	    How to Apply These Terms to Your New Programs
283

  
284
  If you develop a new program, and you want it to be of the greatest
285
possible use to the public, the best way to achieve this is to make it
286
free software which everyone can redistribute and change under these terms.
287

  
288
  To do so, attach the following notices to the program.  It is safest
289
to attach them to the start of each source file to most effectively
290
convey the exclusion of warranty; and each file should have at least
291
the "copyright" line and a pointer to where the full notice is found.
292

  
293
    <one line to give the program's name and a brief idea of what it does.>
294
    Copyright (C) <year>  <name of author>
295

  
296
    This program is free software; you can redistribute it and/or modify
297
    it under the terms of the GNU General Public License as published by
298
    the Free Software Foundation; either version 2 of the License, or
299
    (at your option) any later version.
300

  
301
    This program is distributed in the hope that it will be useful,
302
    but WITHOUT ANY WARRANTY; without even the implied warranty of
303
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
304
    GNU General Public License for more details.
305

  
306
    You should have received a copy of the GNU General Public License
307
    along with this program; if not, write to the Free Software
308
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
309

  
310

  
311
Also add information on how to contact you by electronic and paper mail.
312

  
313
If the program is interactive, make it output a short notice like this
314
when it starts in an interactive mode:
315

  
316
    Gnomovision version 69, Copyright (C) year name of author
317
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318
    This is free software, and you are welcome to redistribute it
319
    under certain conditions; type `show c' for details.
320

  
321
The hypothetical commands `show w' and `show c' should show the appropriate
322
parts of the General Public License.  Of course, the commands you use may
323
be called something other than `show w' and `show c'; they could even be
324
mouse-clicks or menu items--whatever suits your program.
325

  
326
You should also get your employer (if you work as a programmer) or your
327
school, if any, to sign a "copyright disclaimer" for the program, if
328
necessary.  Here is a sample; alter the names:
329

  
330
  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331
  `Gnomovision' (which makes passes at compilers) written by James Hacker.
332

  
333
  <signature of Ty Coon>, 1 April 1989
334
  Ty Coon, President of Vice
335

  
336
This General Public License does not permit incorporating your program into
337
proprietary programs.  If your program is a subroutine library, you may
338
consider it more useful to permit linking proprietary applications with the
339
library.  If this is what you want to do, use the GNU Library General
340
Public License instead of this License.
0 341

  
tags/tmp_build/applications/appgvSIG/jalopy-config.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2
<jalopy>
3
    <general>
4
        <compliance>
5
            <version>14</version>
6
        </compliance>
7
        <style>
8
            <description>Sun Java Coding Convention</description>
9
            <name>Sun</name>
10
        </style>
11
    </general>
12
    <inspector>
13
        <enable>false</enable>
14
        <naming>
15
            <classes>
16
                <abstract>[A-Z][a-zA-Z0-9]+</abstract>
17
                <general>[A-Z][a-zA-Z0-9]+</general>
18
            </classes>
19
            <fields>
20
                <default>[a-z][\w]+</default>
21
                <defaultStatic>[a-z][\w]+</defaultStatic>
22
                <defaultStaticFinal>[a-zA-Z][\w]+</defaultStaticFinal>
23
                <private>[a-z][\w]+</private>
24
                <privateStatic>[a-z][\w]+</privateStatic>
25
                <privateStaticFinal>[a-zA-Z][\w]+</privateStaticFinal>
26
                <protected>[a-z][\w]+</protected>
27
                <protectedStatic>[a-z][\w]+</protectedStatic>
28
                <protectedStaticFinal>[a-zA-Z][\w]+</protectedStaticFinal>
29
                <public>[a-z][\w]+</public>
30
                <publicStatic>[a-z][\w]+</publicStatic>
31
                <publicStaticFinal>[a-zA-Z][\w]+</publicStaticFinal>
32
            </fields>
33
            <interfaces>[A-Z][a-zA-Z0-9]+</interfaces>
34
            <labels>\w+</labels>
35
            <methods>
36
                <default>[a-z][\w]+</default>
37
                <defaultStatic>[a-z][\w]+</defaultStatic>
38
                <defaultStaticFinal>[a-z][\w]+</defaultStaticFinal>
39
                <private>[a-z][\w]+</private>
40
                <privateStatic>[a-z][\w]+</privateStatic>
41
                <privateStaticFinal>[a-z][\w]+</privateStaticFinal>
42
                <protected>[a-z][\w]+</protected>
43
                <protectedStatic>[a-z][\w]+</protectedStatic>
44
                <protectedStaticFinal>[a-z][\w]+</protectedStaticFinal>
45
                <public>[a-z][\w]+</public>
46
                <publicStatic>[a-z][\w]+</publicStatic>
47
                <publicStaticFinal>[a-z][\w]+</publicStaticFinal>
48
            </methods>
49
            <packages>[a-z]+(?:\.[a-z]+)*</packages>
50
            <parameters>
51
                <default>[a-z][\w]+</default>
52
                <final>[a-z][\w]+</final>
53
            </parameters>
54
            <variables>[a-z][\w]*</variables>
55
        </naming>
56
        <tips>
57
            <adhereToNamingConvention>false</adhereToNamingConvention>
58
            <alwaysOverrideHashCode>false</alwaysOverrideHashCode>
59
            <avoidThreadGroups>false</avoidThreadGroups>
60
            <declareCollectionComment>false</declareCollectionComment>
61
            <dontIgnoreExceptions>false</dontIgnoreExceptions>
62
            <dontSubstituteObjectEquals>false</dontSubstituteObjectEquals>
63
            <neverDeclareException>false</neverDeclareException>
64
            <neverDeclareThrowable>false</neverDeclareThrowable>
65
            <neverInvokeWaitOutsideLoop>false</neverInvokeWaitOutsideLoop>
66
            <neverReturnZeroArrays>false</neverReturnZeroArrays>
67
            <neverUseEmptyFinally>false</neverUseEmptyFinally>
68
            <obeyContractEquals>false</obeyContractEquals>
69
            <overrideToString>false</overrideToString>
70
            <referToObjectsByInterface>false</referToObjectsByInterface>
71
            <replaceStructureWithClass>false</replaceStructureWithClass>
72
            <stringLiterallI18n>false</stringLiterallI18n>
73
            <useInterfaceOnlyForTypes>false</useInterfaceOnlyForTypes>
74
            <wrongCollectionComment>false</wrongCollectionComment>
75
        </tips>
76
    </inspector>
77
    <internal>
78
        <version>6</version>
79
    </internal>
80
    <messages>
81
        <priority>
82
            <general>30000</general>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff