Revision 38722

View differences:

tags/v2_0_0_Build_2051/extensions/extExpressionField/pom.xml
1
<?xml version="1.0" encoding="UTF-8"?>
2

  
3
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
5
                      http://maven.apache.org/xsd/maven-4.0.0.xsd">
6

  
7
	<modelVersion>4.0.0</modelVersion>
8
	<artifactId>org.gvsig.expressionfield</artifactId>
9
	<name>Tools: Field calculator</name>
10
	<version>2.0-SNAPSHOT</version>
11
	<parent>
12
		<artifactId>gvsig-base-extension-pom</artifactId>
13
		<groupId>org.gvsig</groupId>
14
		<version>2.0-SNAPSHOT</version>
15
	</parent>	
16
    <dependencyManagement>
17
        <dependencies>
18
        <!-- Adding this dependency because this project is using a jython version
19
            different to the version defined by the parent pom  -->
20
            <dependency>
21
                <groupId>org.python</groupId>
22
                <artifactId>jython</artifactId>
23
                <version>2.2.1</version>
24
            </dependency>
25
        </dependencies>
26
    </dependencyManagement>
27
    
28
	<description>Field calculator (Expression from assistant or from text file)</description>
29
	<build>
30
		<sourceDirectory>src</sourceDirectory>
31
		<testSourceDirectory>src-test</testSourceDirectory>
32
        <plugins>
33
            <!-- TODO: MAKE TESTS WORK AND REMOVE THIS OPTION -->
34
            <plugin>
35
                <groupId>org.apache.maven.plugins</groupId>
36
                <artifactId>maven-surefire-plugin</artifactId>
37
                <configuration>
38
                    <skipTests>true</skipTests>
39
                </configuration>
40
            </plugin>       
41
        </plugins>        
42
	</build>
43
	<dependencies>
44
		<dependency>
45
			<groupId>org.gvsig</groupId>
46
			<artifactId>org.gvsig.app</artifactId>
47
			<version>2.0-SNAPSHOT</version>
48
            <scope>compile</scope>
49
		</dependency>
50
        <dependency>
51
            <groupId>org.gvsig</groupId>
52
            <artifactId>org.gvsig.app.document.table.app.mainplugin</artifactId>
53
            <version>2.0.0-SNAPSHOT</version>
54
            <scope>compile</scope>
55
        </dependency>
56
		<dependency>
57
			<groupId>bsf</groupId>
58
			<artifactId>bsf</artifactId>
59
            <scope>compile</scope>
60
		</dependency>
61
		<dependency>
62
			<groupId>bsh</groupId>
63
			<artifactId>bsh</artifactId>
64
            <scope>compile</scope>
65
		</dependency>
66
		<dependency>
67
			<groupId>org.gvsig</groupId>
68
			<artifactId>org.gvsig.about.api</artifactId>
69
            <scope>compile</scope>
70
		</dependency>
71
        <dependency>
72
            <groupId>org.gvsig</groupId>
73
            <artifactId>org.gvsig.andami</artifactId>
74
            <scope>compile</scope>
75
        </dependency>
76
        <dependency>
77
            <groupId>org.gvsig</groupId>
78
            <artifactId>org.gvsig.fmap.dal</artifactId>
79
            <scope>compile</scope>
80
        </dependency>
81
        <dependency>
82
            <groupId>org.gvsig</groupId>
83
            <artifactId>org.gvsig.fmap.mapcontext</artifactId>
84
            <scope>compile</scope>
85
        </dependency>
86
        <dependency>
87
            <groupId>org.gvsig</groupId>
88
            <artifactId>org.gvsig.tools.lib</artifactId>
89
            <scope>compile</scope>
90
        </dependency>
91
		<dependency>
92
			<groupId>org.gvsig</groupId>
93
			<artifactId>org.gvsig.tools.swing.api</artifactId>
94
            <scope>compile</scope>
95
		</dependency>
96
		<dependency>
97
            <groupId>org.gvsig</groupId>
98
            <artifactId>org.gvsig.fmap.geometry</artifactId>
99
            <scope>compile</scope>
100
        </dependency>
101
        <dependency>
102
            <groupId>org.gvsig</groupId>
103
            <artifactId>org.gvsig.metadata.lib.basic.api</artifactId>
104
            <scope>compile</scope>
105
        </dependency>        
106
        <dependency>
107
            <groupId>org.gvsig</groupId>
108
            <artifactId>org.gvsig.ui</artifactId>
109
            <scope>compile</scope>
110
        </dependency>        
111
        <dependency>
112
            <groupId>org.gvsig</groupId>
113
            <artifactId>org.gvsig.projection</artifactId>
114
            <scope>compile</scope>
115
        </dependency>        
116
        <dependency>
117
            <groupId>org.gvsig</groupId>
118
            <artifactId>org.gvsig.fmap.control</artifactId>
119
            <scope>compile</scope>
120
        </dependency> 
121
        <dependency>
122
            <groupId>org.gvsig</groupId>
123
            <artifactId>org.gvsig.utils</artifactId>
124
            <scope>compile</scope>
125
        </dependency>
126
        <dependency>
127
            <groupId>org.gvsig</groupId>
128
            <artifactId>org.gvsig.timesupport.lib.api</artifactId>
129
            <scope>compile</scope>
130
        </dependency>
131
        <dependency>
132
            <groupId>com.vividsolutions</groupId>
133
            <artifactId>jts</artifactId>
134
            <scope>compile</scope>
135
        </dependency>
136
        <dependency>
137
            <groupId>org.python</groupId>
138
            <artifactId>jython</artifactId>            
139
            <scope>runtime</scope>
140
        </dependency>
141
	</dependencies>
142

  
143
	<properties>
144
		<build-dir>${basedir}/../build</build-dir>
145
        <eclipse.project.name>extExpressionField</eclipse.project.name>
146
        <package.info.dependencies>required: org.gvsig.editing -ge 2, required: org.gvsig.app.document.table.app.mainplugin -ge 2</package.info.dependencies>
147
        <package.info.javaVM>j1_6</package.info.javaVM>
148
        <package.info.state>devel</package.info.state>
149
        <!-- alpha-devel -->
150
        <package.info.categories>Table</package.info.categories>
151
	</properties>
152
</project>
tags/v2_0_0_Build_2051/extensions/extExpressionField/.cvsignore
1
bin
2
dist-src
3
bin-test
tags/v2_0_0_Build_2051/extensions/extExpressionField/distribution/distribution.xml
1
<assembly>
2
	<id>distribution</id>
3
	<formats>
4
		<format>dir</format>
5
	</formats>
6
	<fileSets>
7
	<!-- Extructure for the extension -->
8
		<fileSet>
9
			<directory>config</directory>
10
			<outputDirectory>${extension.install.dir.name}
11
			</outputDirectory>
12
		</fileSet>
13
		<fileSet>
14
			<directory>images</directory>
15
			<outputDirectory>/${extension.install.dir.name}/images
16
			</outputDirectory>
17
		</fileSet>
18
	</fileSets>
19
    <files>
20
        <file>
21
            <source>package.info</source>
22
            <outputDirectory>${extension.install.dir.name}
23
            </outputDirectory>
24
        </file>
25
    </files>
26
	<!--
27
		***********************************************************************
28
	-->
29
  <!-- *													   *-->
30
	<!--
31
		***********************************************************************
32
	-->
33
	<dependencySets>
34
		<dependencySet>
35
			<outputDirectory>${extension.install.dir.name}/${library-dir}
36
			</outputDirectory>
37
			<includes>
38
				<include>org.gvsig:org.gvsig.expressionfield</include>
39
				<include>bsf:bsf</include>
40
				<include>org.python:jython</include>
41
			</includes>
42
		</dependencySet>
43
	</dependencySets>
44
</assembly>
tags/v2_0_0_Build_2051/extensions/extExpressionField/buildNumber.properties
1
#maven.buildNumber.plugin properties file
2
#Tue Aug 14 13:06:26 CEST 2012
3
buildNumber=2060
tags/v2_0_0_Build_2051/extensions/extExpressionField/src-test/org/gvsig/expressionfield/AllTests.java
1
package org.gvsig.expressionfield;
2

  
3
import junit.framework.Test;
4
import junit.framework.TestSuite;
5

  
6
public class AllTests {
7

  
8
	public static Test suite() {
9
		TestSuite suite = new TestSuite(
10
				"Test for com.iver.cit.gvsig.expressionField");
11
		//$JUnit-BEGIN$
12

  
13
		//$JUnit-END$
14
		return suite;
15
	}
16

  
17
}
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_zh.properties
1
#Translations for language [zh]
2
#Mon Aug 06 08:50:49 CEST 2007
3
advanced=\u9ad8\u7ea7
4
boolean_value=
5
calculate_expression=
6
charging_operators=
7
clear_expression=
8
column=
9
commands=
10
continue?=
11
date=
12
date_value=
13
description=\u63cf\u8ff0
14
double_value=
15
error=\u9519\u8bef
16
error_expression=
17
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=
18
evaluate=
19
evaluate_expression_with_errors=
20
explorer=
21
expression=
22
expressions=
23
expressions_from_file=
24
field=\u5b57\u6bb5
25
general=\u57fa\u672c\u8bbe\u7f6e
26
incorrect_file=
27
information=
28
integer_value=
29
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=
30
limit_rows_in_memory=
31
numeric=
32
numeric_value=
33
operator=
34
parameter=
35
python=
36
returns=
37
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=
38
string=
39
string_value=
40
type=\u7c7b\u578b
41
value=\u6570\u636e
42
without_limit=
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_ca.properties
1
#Translations for language [ca]
2
#Mon Aug 13 13:40:45 CEST 2007
3
advanced=Avan\u00e7ada
4
boolean_value=Valor boole\u00e0
5
calculate_expression=Calcular l'expressi\u00f3
6
charging_operators=Carregant operadors
7
clear_expression=Esborrar expressi\u00f3
8
column=Columna
9
commands=Comandaments
10
continue?=Vol continuar?
11
date=Data
12
date_value=Valor data
13
description=Descripci\u00f3
14
double_value=
15
error=Error
16
error_expression=Error en l'expressi\u00f3
17
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=El c\u00e0lcul de l'expressi\u00f3 es realitzar\u00e0 en este moment sobre els registres existents en la taula\n
18
evaluate=Avaluar
19
evaluate_expression_with_errors=Expressions avaluades amb errors
20
explorer=Explorar
21
expression=Expressi\u00f3
22
expressions=Expressions
23
expressions_from_file=Expressions de fitxer
24
field=Camp
25
general=General
26
incorrect_file=Fitxer incorrecte
27
information=Informaci\u00f3
28
integer_value=
29
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=T\u00e9 establit un l\u00edmit de registres en prefer\u00e8ncies, perdr\u00e0 la possibilitat de desfer. Vol continuar?\n
30
limit_rows_in_memory=L\u00edmit de registres en mem\u00f2ria
31
numeric=Num\u00e8ric
32
numeric_value=Valor num\u00e8ric
33
operator=
34
parameter=Par\u00e0metre
35
python=
36
returns=Torna
37
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=en mem\u00f2ria quan s'avalue l'expressi\u00f3, i es redu\u00efx dr\u00e0sticament la velocitat quan es limite
38
string=Cadena
39
string_value=Valor cadena
40
type=Tipus
41
value=Valor
42
without_limit=Sense l\u00edmit
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_pt.properties
1
#Translations for language [pt]
2
#Mon Aug 06 08:50:49 CEST 2007
3
advanced=
4
boolean_value=
5
calculate_expression=
6
charging_operators=
7
clear_expression=
8
column=
9
commands=
10
continue?=
11
date=
12
date_value=
13
description=Descri\u00e7\u00e3o
14
double_value=
15
error=Error
16
error_expression=
17
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=
18
evaluate=
19
evaluate_expression_with_errors=
20
explorer=
21
expression=
22
expressions=
23
expressions_from_file=
24
field=
25
general=Geral
26
incorrect_file=
27
information=
28
integer_value=
29
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=
30
limit_rows_in_memory=
31
numeric=
32
numeric_value=
33
operator=
34
parameter=
35
python=
36
returns=
37
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=
38
string=
39
string_value=
40
type=Tipo
41
value=Valor
42
without_limit=
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_ru.properties
1
#text_ru.properties
2
advanced=\u0420\u0430\u0441\u0448\u0438\u0440\u0435\u043D\u043D\u044B\u0439
3
boolean_value=\u041B\u043E\u0433\u0438\u0447\u0435\u0441\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435
4
calculate_expresion=\u0420\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435
5
charging_operators=\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u043E\u043F\u0435\u0440\u0430\u0442\u043E\u0440\u044B
6
clear_expresion=\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435
7
column=\u041F\u043E\u043B\u0435
8
commands=\u041A\u043E\u043C\u0430\u043D\u0434\u044B
9
continue?=\u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C?
10
date=\u0414\u0430\u0442\u0430
11
date_value=\u0412\u0440\u0435\u043C\u0435\u043D\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435
12
description=\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435
13
error=\u041E\u0448\u0438\u0431\u043A\u0430
14
error_expresion=\u041E\u0448\u0438\u0431\u043E\u0447\u043D\u043E\u0435 \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435
15
eval_expresion_will_be_carried_out_right_now_with_current_values_in_table=\u0412\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0431\u0443\u0434\u0435\u0442 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E \n\u0441 \u0442\u0435\u043A\u0443\u0449\u0438\u043C\u0438 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043C\u0438 \u0432 \u0442\u0430\u0431\u043B\u0438\u0446\u0435
16
evaluate=\u0412\u044B\u043F\u043E\u043B\u043D\u0438\u0442\u044C
17
evaluate_expresion_with_errors=\u0412\u044B\u043F\u043E\u043B\u043D\u044F\u0435\u043C\u044B\u0435 \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u044F \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442 \u043E\u0448\u0438\u0431\u043A\u0438
18
explorer=\u041E\u0431\u0437\u043E\u0440
19
expresion=\u0420\u0430\u0441\u0441\u0447\u0438\u0442\u0430\u0442\u044C \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435
20
expresions=\u0412\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u044F
21
expresions_from_file=\u0412\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0438\u0437 \u0444\u0430\u0439\u043B\u0430
22
field=\u041F\u043E\u043B\u0435
23
general=\u041E\u0431\u0449\u0438\u0435
24
incorrect_file=\u041D\u0435\u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B\u0439 \u0444\u0430\u0439\u043B
25
information=\u0418\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u044F
26
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=\u041D\u0435\u0432\u043E\u0437\u043C\u043E\u0436\u043D\u043E \u0431\u0443\u0434\u0435\u0442 \u043E\u0442\u043C\u0435\u043D\u0438\u0442\u044C \u043E\u043F\u0435\u0440\u0430\u0446\u0438\u044E, \u0442.\u043A. \u043B\u0438\u043C\u0438\u0442 \u0441\u0442\u0440\u043E\u043A \u0443\u0436\u0435 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D \u0432 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0430\u0445. \u041F\u0440\u043E\u0434\u043E\u043B\u0436\u0438\u0442\u044C?
27
limit_rows_in_memory=\u041B\u0438\u043C\u0438\u0442 \u0441\u0442\u0440\u043E\u043A \u0432 \u043F\u0430\u043C\u044F\u0442\u0438
28
numeric=\u0427\u0438\u0441\u043B\u043E
29
numeric_value=\u0427\u0438\u0441\u043B\u043E\u0432\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435
30
operator=\u041A\u043E\u043C\u0430\u043D\u0434\u0430
31
parameter=\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B
32
returns=\u0412\u043E\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442
33
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expresion=\u0423\u043A\u0430\u0436\u0438\u0442\u0435 \u043B\u0438\u043C\u0438\u0442 \u0441\u0442\u0440\u043E\u043A \u0432 \u043F\u0430\u043C\u044F\u0442\u0438 \u043F\u0440\u0438 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0438 \u0432\u044B\u0440\u0430\u0436\u0435\u043D\u0438\u044F. \n\u0417\u0430\u0434\u0430\u043D\u0438\u0435 \u043B\u0438\u043C\u0438\u0442\u0430 \u0441\u043D\u0438\u0436\u0430\u0435\u0442 \u0441\u043A\u043E\u0440\u043E\u0441\u0442\u044C \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F.
34
string=\u0422\u0435\u043A\u0441\u0442
35
string_value=\u0422\u0435\u043A\u0441\u0442\u043E\u0432\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435
36
type=\u0422\u0438\u043F
37
value=\u0417\u043D\u0430\u0447\u0435\u043D\u0438\u0435
38
without_limit=\u0411\u0435\u0437 \u043B\u0438\u043C\u0438\u0442\u0430
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_de.properties
1
#Translations for language [de]
2
#Tue Jan 20 17:39:04 CET 2009
3
advanced=Erweitert
4
boolean_value=Boolscher Wert
5
calculate_expression=
6
charged_operators=
7
charging_operators=Ladezeit Operator
8
clear_expression=
9
column=Spalte
10
commands=Kommandos
11
continue?=Fortfahren?
12
date=Datum
13
date_value=Datums-Wert
14
description=Beschreibung
15
double_value=
16
error=Fehler
17
error_expression=
18
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=
19
evaluate=Auswerten
20
evaluate_expression_with_errors=
21
explorer=Durchsuchen
22
expression=
23
expressions=
24
expressions_from_file=
25
field=Feld
26
field_toolbar=
27
format=Format
28
general=Allgemein
29
incorrect_file=Ung\u00fcltige Datei
30
information=Information
31
integer_value=
32
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=Zeilen- Limit wurde erreicht in den Eigenschaften, dieser Schritt kann nicht r\u00fcckg\u00e4ngi gemacht werden. Wollen Sie fortfahren?
33
limit_rows_in_memory=Zeilen- Limit erreicht
34
numeric=Numerisch
35
numeric_value=Numerischer Wert
36
operator=
37
optional=
38
parameter=Parameter
39
python=
40
returns=Ergebnis
41
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=
42
string=Zeichenkette
43
string_value=Wert der Zeichenkette
44
type=Typ
45
value=Wert
46
without_limit=Ohne Beschr\u00e4nkung
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_en.properties
1
#Translations for language [en]
2
#Tue Jan 20 17:39:04 CET 2009
3
advanced=Advanced
4
boolean_value=Boolean value
5
calculate_expression=Calculate expression
6
charged_operators=
7
charging_operators=Charging operators
8
clear_expression=Clear expression
9
column=Column
10
commands=Commands
11
continue?=Continue?
12
date=Date
13
date_value=Date value
14
description=Description
15
double_value=
16
error=Error
17
error_expression=Error expression
18
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=Eval expression will be carried out right now\nwith current values in table.
19
evaluate=Evaluate
20
evaluate_expression_with_errors=Evaluated expressions with errors
21
explorer=Explorer
22
expression=Expression
23
expressions=Expressions
24
expressions_from_file=Expressions from file
25
field=Field
26
field_toolbar=
27
format=Format
28
general=General
29
incorrect_file=Incorrect file
30
information=Information
31
integer_value=
32
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=It has established a limit of rows in preferences, will lose the possibility to undo.  Wants to continue?
33
limit_rows_in_memory=Limit rows in memory
34
numeric=Numeric
35
numeric_value=Numeric value
36
operator=
37
optional=Optional
38
parameter=Parameter
39
python=
40
returns=Returns
41
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=Speficies the limit rows in memory when the program eval the expression\n The limit down the velocity.
42
string=String
43
string_value=String value
44
type=Type
45
value=Value
46
without_limit=Without limit
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_gl.properties
1
#Translations for language [gl]
2
#Mon Aug 06 08:50:49 CEST 2007
3
advanced=Avanzada
4
boolean_value=
5
calculate_expression=
6
charging_operators=
7
clear_expression=
8
column=Columna
9
commands=
10
continue?=
11
date=
12
date_value=
13
description=Descripci\u00f3n
14
double_value=
15
error=Erro
16
error_expression=
17
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=
18
evaluate=
19
evaluate_expression_with_errors=
20
explorer=
21
expression=
22
expressions=
23
expressions_from_file=
24
field=Campo
25
general=Xeral
26
incorrect_file=
27
information=
28
integer_value=
29
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=
30
limit_rows_in_memory=
31
numeric=
32
numeric_value=
33
operator=
34
parameter=
35
python=
36
returns=
37
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=
38
string=
39
string_value=
40
type=Tipo
41
value=Valor
42
without_limit=
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/config.xml
1
<?xml version="1.0" encoding="ISO-8859-1"?>
2
<plugin-config>
3
	<libraries library-dir="lib"/>
4
	<depends plugin-name="org.gvsig.app"/>
5
    <depends plugin-name="org.gvsig.app.document.table.app.mainplugin" />
6
	<resourceBundle name="text"/>
7
	<extensions>
8
		<extension class-name="org.gvsig.expressionfield.ExpressionFieldExtension"
9
			description="Extension that evaluate the expression to a column."
10
			active="true">
11

  
12
            <action 
13
                name="table-expression-field"
14
                label="_Expression_field" 
15
                tooltip="_Expression_field" 
16
                position="501100000" 
17
                action-command="table-expression-field"
18
                icon="table-expression-field"
19
                accelerator=""
20
                />
21
            
22
            <menu
23
                name="table-expression-field"
24
                text="Table/Expression field"
25
                />
26
            
27
            <tool-bar name="table_tools">
28
                <action-tool 
29
                    name="table-expression-field"
30
                    />
31
            </tool-bar>   
32
            			
33
		</extension>
34
		
35
		<extension class-name="org.gvsig.expressionfield.AboutExpressionFieldExtension"
36
			description="Extension to add about panel."
37
			active="false"
38
			priority="1">
39
		</extension>
40
	</extensions>
41
</plugin-config>
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_cs.properties
1
#Translations for language [cs]
2
#Thu Aug 16 08:33:37 CEST 2007
3
advanced=Pokro\u010dil\u00fd
4
boolean_value=Boolean hodnota
5
calculate_expression=Vypo\u010d\u00edtat v\u00fdraz
6
charging_operators=Napln\u011bn\u00ed oper\u00e1tor\u016f
7
clear_expression=Vymazat v\u00fdraz
8
column=Sloupec
9
commands=P\u0159\u00edkazy
10
continue?=Pokra\u010dovat?
11
date=Datum
12
date_value=Datum
13
description=Popis
14
double_value=
15
error=Error
16
error_expression=Chybn\u00fd v\u00fdraz
17
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=V\u00fdraz bude vyhodnocen te\u010f na z\u00e1klad\u011b\nsou\u010dasn\u00fdch hodnot v tabulce.
18
evaluate=Vyhodnotit
19
evaluate_expression_with_errors=Vyhodnotit v\u00fdraz s chybami
20
explorer=Pr\u016fzkumn\u00edk
21
expression=V\u00fdraz
22
expressions=V\u00fdrazy
23
expressions_from_file=V\u00fdrazy ze souboru
24
field=Polo\u017eka
25
general=Obecn\u00fd
26
incorrect_file=Chybn\u00fd soubor
27
information=Informace
28
integer_value=
29
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=Byl dosa\u017een \u0159\u00e1dkov\u00fd limit v nastaven\u00ed, bude ztracena mo\u017enost vracen\u00ed zm\u011bn. Chcete pokra\u010dovat?
30
limit_rows_in_memory=Omezen\u00ed \u0159\u00e1dk\u016f v pam\u011bti
31
numeric=\u010c\u00edseln\u00fd
32
numeric_value=\u010c\u00edseln\u00e1 hodnota
33
operator=
34
parameter=Parametr
35
python=
36
returns=Vr\u00e1tit se
37
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=Ud\u00e1v\u00e1 \u0159\u00e1dkov\u00e9 omezen\u00ed v pam\u011bti kdy\u017e prokram vyhodnocuje v\u00fdraz\n Omezen\u00ed sni\u017euje v\u00fdkon
38
string=\u0158et\u011bzec
39
string_value=Hodnota \u0159et\u011bzce
40
type=Typ
41
value=Hodnota
42
without_limit=Bez omezen\u00ed
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_fr.properties
1
#Translations for language [fr]
2
#Mon Aug 06 08:50:49 CEST 2007
3
advanced=
4
boolean_value=
5
calculate_expression=
6
charging_operators=
7
clear_expression=
8
column=
9
commands=
10
continue?=
11
date=
12
date_value=
13
description=Description
14
double_value=
15
error=Error
16
error_expression=
17
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=
18
evaluate=
19
evaluate_expression_with_errors=
20
explorer=
21
expression=
22
expressions=
23
expressions_from_file=
24
field=Colonne
25
general=G\u00e9n\u00e9ral
26
incorrect_file=
27
information=
28
integer_value=
29
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=
30
limit_rows_in_memory=
31
numeric=
32
numeric_value=
33
operator=
34
parameter=
35
python=
36
returns=
37
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=
38
string=
39
string_value=
40
type=Type
41
value=Valeur
42
without_limit=
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/iver.html
1
<html>
2
<body>
3

  
4
<img src="iver-logo.png"><br>
5

  
6
<h2>IVER</h2>
7
<br>
8

  
9
<p>Expression field</p>
10
<p>EN CONSTRUCCION</p>
11

  
12
</body>
13
</html>
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_eu.properties
1
#Translations for language [eu]
2
#Mon Aug 06 08:50:49 CEST 2007
3
advanced=Aurreratua
4
boolean_value=
5
calculate_expression=
6
charging_operators=
7
clear_expression=
8
column=Zutabea
9
commands=
10
continue?=
11
date=
12
date_value=
13
description=Deskripzioa
14
double_value=
15
error=Errorea
16
error_expression=
17
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=
18
evaluate=
19
evaluate_expression_with_errors=
20
explorer=
21
expression=
22
expressions=
23
expressions_from_file=
24
field=Eremua
25
general=Orokorra
26
incorrect_file=
27
information=
28
integer_value=
29
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=
30
limit_rows_in_memory=
31
numeric=
32
numeric_value=
33
operator=
34
parameter=
35
python=
36
returns=
37
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=
38
string=
39
string_value=
40
type=Mota
41
value=Balioa
42
without_limit=
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_nl.properties
1
#Translations for language [nl]
2
#Mon Aug 06 08:50:49 CEST 2007
3
advanced=
4
boolean_value=
5
calculate_expression=
6
charging_operators=
7
clear_expression=
8
column=
9
commands=
10
continue?=
11
date=
12
date_value=
13
description=
14
double_value=
15
error=
16
error_expression=
17
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=
18
evaluate=
19
evaluate_expression_with_errors=
20
explorer=
21
expression=
22
expressions=
23
expressions_from_file=
24
field=
25
general=
26
incorrect_file=
27
information=
28
integer_value=
29
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=
30
limit_rows_in_memory=
31
numeric=
32
numeric_value=
33
operator=
34
parameter=
35
python=
36
returns=
37
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=
38
string=
39
string_value=
40
type=
41
value=
42
without_limit=
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_pl.properties
1
#Translations for language [pl]
2
#Mon Aug 06 12:43:02 CEST 2007
3
advanced=Zaawansowane
4
boolean_value=
5
calculate_expression=
6
charging_operators=
7
clear_expression=
8
column=
9
commands=
10
continue?=
11
date=
12
date_value=
13
description=Opis
14
double_value=
15
error=B\u0142\u0105d
16
error_expression=
17
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=
18
evaluate=
19
evaluate_expression_with_errors=
20
explorer=
21
expression=
22
expressions=
23
expressions_from_file=
24
field=Kolumna
25
general=Og\u00f3lne
26
incorrect_file=
27
information=
28
integer_value=
29
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=
30
limit_rows_in_memory=
31
numeric=
32
numeric_value=
33
operator=
34
parameter=
35
python=
36
returns=
37
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=
38
string=
39
string_value=
40
type=Typ
41
value=warto\u015b\u0107
42
without_limit=
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_it.properties
1
#Translations for language [it]
2
#Mon Aug 13 13:02:41 CEST 2007
3
advanced=Avanzata
4
boolean_value=Valore boleano
5
calculate_expression=Calcola espressione
6
charging_operators=Caricamento operatori
7
clear_expression=Cancella espressione
8
column=Colonna
9
commands=Comandi
10
continue?=Continuare?
11
date=Data
12
date_value=Valore della data
13
description=Descrizione
14
double_value=
15
error=Errore
16
error_expression=Errore nell'espressione
17
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=L'espressione verr\u00e0 processata ora, \ncon gli attuali dati della tabella
18
evaluate=Processa
19
evaluate_expression_with_errors=Espressione processata con errori
20
explorer=Esplorare
21
expression=Espressione
22
expressions=Espressioni
23
expressions_from_file=Espressioni da un file
24
field=Campo
25
general=Generale
26
incorrect_file=File incorretto
27
information=Informazione
28
integer_value=
29
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=E' stato stabilito un limite di righe nelle preferenze, non sar\u00e0 possibile annullare l'operazione. Proseguire?
30
limit_rows_in_memory=Limite di righe in memoria
31
numeric=Numerico
32
numeric_value=Valore numerico
33
operator=
34
parameter=Parametro
35
python=
36
returns=Torna
37
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=Specifica il numero di righe \n in memoria quando viene processata un'espressione,\n riducendo drasticamente il tempo di esecuzione\n quando viene diminuito.
38
string=Stringa
39
string_value=Valore stringa
40
type=Tipo
41
value=Valore
42
without_limit=Senza limite
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text_ro.properties
1
#Translations for language [ro]
2
#Mon Aug 06 08:50:49 CEST 2007
3
advanced=Inainta
4
boolean_value=
5
calculate_expression=
6
charging_operators=
7
clear_expression=
8
column=
9
commands=
10
continue?=
11
date=
12
date_value=
13
description=Descriere
14
double_value=
15
error=Eroare
16
error_expression=
17
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=
18
evaluate=
19
evaluate_expression_with_errors=
20
explorer=
21
expression=
22
expressions=
23
expressions_from_file=
24
field=Camp
25
general=General
26
incorrect_file=
27
information=
28
integer_value=
29
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=
30
limit_rows_in_memory=
31
numeric=
32
numeric_value=
33
operator=
34
parameter=
35
python=
36
returns=
37
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=
38
string=
39
string_value=
40
type=Mod
41
value=Valoare
42
without_limit=
tags/v2_0_0_Build_2051/extensions/extExpressionField/config/text.properties
1
#Translations for language [es]
2
#Tue Jan 20 18:42:35 CET 2009
3
advanced=Avanzada
4
boolean_value=Valor booleano
5
calculate_expression=Calcular expresi\u00f3n
6
charged_operators=Operadores cargados.
7
charging_operators=Cargando operadores
8
clear_expression=Borrar expresi\u00f3n
9
column=Columna
10
commands=Comandos
11
continue?=\u00bfQuiere continuar?
12
date=Fecha
13
date_value=Valor fecha
14
description=Descripci\u00f3n
15
double_value=
16
error=Error
17
error_expression=Error en la expresi\u00f3n
18
eval_expression_will_be_carried_out_right_now_with_current_values_in_table=El c\u00e1lculo de la expresi\u00f3n se realizar\u00e1 en este momento\nsobre los registros existentes en la tabla.
19
evaluate=Evaluar
20
evaluate_expression_with_errors=Expresiones evaluadas con errores
21
explorer=Explorar
22
expression=Expresi\u00f3n
23
expressions=Expresiones
24
expressions_from_file=Expresiones de fichero
25
field=Campo
26
field_toolbar=
27
format=Formato
28
general=General
29
incorrect_file=Fichero incorrecto
30
information=Informaci\u00f3n
31
integer_value=
32
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=Tiene establecido un l\u00edmite de registros en preferencias, perder\u00e1 la posibilidad de deshacer. \u00bfQuiere continuar?
33
limit_rows_in_memory=L\u00edmite de registros en memoria
34
numeric=Num\u00e9rico
35
numeric_value=Valor num\u00e9rico
36
operator=
37
optional=Opcional
38
parameter=Par\u00e1metro
39
python=
40
returns=Devuelve
41
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expression=Especifica el n\u00famero de registros\n  en memoria cuando se evalue la expresi\u00f3n,\n  reduciendose dr\u00e1sticamente la velocidad\n cuando se limite.
42
string=Cadena
43
string_value=Valor String
44
type=Tipo
45
value=Valor
46
without_limit=Sin l\u00edmite
tags/v2_0_0_Build_2051/extensions/extExpressionField/install/install.xml
1
<installation version="1.0">
2
	<info>
3
		<!--<appname>gvSIG_1.0_alpha</appname>-->
4
		<appname>gvSIG_expressionField_0.1</appname>
5
		<appversion>0.1</appversion>
6
		<authors>
7
			<author name="Generalitat Valenciana. Conselleria d'Infraestructures i Transport" email="" />
8
			<author name="Iver Tecnologías de la Información S.A." email="" />
9
		</authors>
10
		<url>http://www.gvsig.gva.es/</url>
11
		<javaversion>1.4</javaversion>
12
	</info>
13

  
14
	<guiprefs height="600" resizable="yes" width="800">
15
		<laf name="liquid">
16
			<os family="unix" />
17
		</laf>
18
		<laf name="liquid">
19
			<os family="windows" />
20
		</laf>
21
	</guiprefs>
22

  
23
	<locale>
24
		<langpack iso3="spa"/>
25
		<langpack iso3="val"/>
26
		<langpack iso3="eng"/>
27
		<langpack iso3="cat"/>
28
		<langpack iso3="chn"/>
29
		<langpack iso3="cze"/>
30
		<langpack iso3="dan"/>
31
		<langpack iso3="deu"/>
32
		<langpack iso3="fin"/>
33
		<langpack iso3="fra"/>
34
		<langpack iso3="glg"/>
35
		<langpack iso3="hun"/>
36
		<langpack iso3="ita"/>
37
		<langpack iso3="jpn"/>
38
		<langpack iso3="mys"/>
39
		<langpack iso3="ned"/>
40
		<langpack iso3="nor"/>
41
		<langpack iso3="pol"/>
42
		<langpack iso3="por"/>
43
		<langpack iso3="rom"/>
44
		<langpack iso3="rus"/>
45
		<langpack iso3="scg"/>
46
		<langpack iso3="svk"/>
47
		<langpack iso3="swe"/>
48
		<langpack iso3="ukr"/>
49
	</locale>
50

  
51
	<resources>
52
		<res src="resources/gpl.txt" id="LicencePanel.licence"/>
53
		<res src="resources/LEEME.html" id="HTMLInfoPanel.info"/>
54
		<res src="resources/images/Logo_gvsig_gva.jpg" id="Installer.image"/>
55
		<res src="resources/userInputSpec.xml" id="userInputSpec.xml"/>
56
                <parsable os="linux" targetfile="resources/userInputSpec.xml"/>
57
                <res src="resources/userInputLang.xml_val" id="userInputLang.xml_val" />
58
                <res src="resources/userInputLang.xml_spa" id="userInputLang.xml_spa" />
59
	</resources>
60

  
61
	<panels>
62
		<panel classname="HTMLInfoPanel"/>
63
		<panel classname="LicencePanel"/>
64
		<panel classname="PacksPanel"/>
65
		<panel classname="UserInputPanel"/>
66
		<panel classname="InstallPanel"/>
67
		<panel classname="SimpleFinishPanel"/>
68
	</panels>
69

  
70
	<packs>
71

  
72
		<pack name="Extensión Calcular Expresión en Campo" required="yes">
73
			<description>Extensión para cálcular una expresión sobre un campo.</description>
74
			<file targetdir="$INSTALL_PATH/bin/gvSIG/extensiones/" src="extensiones/com.iver.gvsig.expressionfield" override="true"/>
75
		</pack>
76

  
77

  
78
</packs>
79

  
80
</installation>
tags/v2_0_0_Build_2051/extensions/extExpressionField/install/distribucion.sh
1
#!/bin/bash
2

  
3
# Si se produce un error, salimos inmediatamente
4
set -e
5

  
6

  
7
# Obtenemos el locale
8
LOC=`echo $LANG | sed 's/_.*//'`
9

  
10
# Comprobar que estamos en el directorio adecuado
11
if [ "$LOC" = "es" ] ; then
12
  ERROR_BASEDIR="Este script debe invocarse desde el directorio  \'install\' del proyecto"
13
else
14
  ERROR_BASEDIR="This script must be run from the \'install\' directory of the project"
15
fi
16
if [ ! -d ../../install/instalador-gvSIG-lin ] || [ ! -d ../../install/instalador-gvSIG-win ] || [ ! -d ../../_fwAndami ] ; then
17
        echo $ERROR_BASEDIR
18
        exit 1 ;
19
fi
20

  
21
DIR_BASE=`pwd`
22
GVSIG_INSTALLDIR=`readlink -f ../../install`
23
ANDAMI_DIR=`readlink -f ../../_fwAndami`
24

  
25
source variables.sh
26
# Get a version with format 1_0_alpha
27
UNDERSCORE_VERSION=`echo $FULLVERSION | sed 'y/./_/'`
28
# Get a version with format 10_alpha
29
BRIEFVERSION=`echo $FULLVERSION | sed 's/\.//'`
30
# The name of the dir which will be ZIPed, containing the resulting installer
31
INSTALLER_DIR="$APPNAME"-$FULLVERSION\_installer
32
JARNAME="$APPNAME"-"$FULLVERSION".jar
33
# The extension targets on the this version of gvSIG:
34
GVSIG_VERSION=1.0
35

  
36
BUILDNUMBER=`sed -n 's/build.number=//p' "$ANDAMI_DIR"/gvSIG/extensiones/"$MAIN_INSTALL_PLUGIN"/build.number`
37

  
38
#ZIPNAME="$APPNAME"-"$UNDERSCORE_VERSION"\_"$BUILDNUMBER".zip
39
DIR_LIN=.
40
DIR_WIN=.
41

  
42
DIR_LIN_GVSIG="$GVSIG_INSTALLDIR"/instalador-gvSIG-lin
43
DIR_WIN_GVSIG="$GVSIG_INSTALLDIR"/instalador-gvSIG-win
44

  
45

  
46
WINDOWSZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586.7z
47
LINUXZIP="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-linux-i586.tgz
48

  
49
LINUXBIN="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-linux-i586.bin
50

  
51
WINDOWSEXE="$APPNAME"-"$BRIEFVERSION"\_"$BUILDNUMBER"-windows-i586.exe
52

  
53
#Directorios
54
#OUTPUT_DIR=/mnt/sercartlin/grupo-sig-ca/Testing/Versiones/v"$FULLVERSION"\_"$BUILDNUMBER"
55
OUTPUT_DIR="$TARGET_DIR"/v"$FULLVERSION"\_"$BUILDNUMBER"
56
PATH_SOURCE_EXT="$ANDAMI_DIR"/gvSIG/extensiones
57

  
58

  
59
echo "*****************"
60
echo "      BASE       "
61
echo "*****************"
62

  
63
cd "$DIR_BASE"/
64
rm bin -rf
65
mkdir -p bin/gvSIG/extensiones
66
#cp "$DIR_WIN_GVSIG"/installer_files/LEEME "$DIR_WIN_GVSIG"installer_files/LLIG-ME "$DIR_WIN_GVSIG"installer_files/README bin
67
cp resources/gpl.txt bin
68
# No enlazamos directamente el directorio lib para no incluir el directorio CVS
69
mkdir -p bin/lib
70
cd "$DIR_BASE"/bin/lib
71
for i in "$ANDAMI_DIR"/lib/*.jar ; do
72
  ln -s "$i" .
73
done
74
for i in "$ANDAMI_DIR"/lib/*.zip ; do
75
  ln -s "$i" .
76
done
77
cd "$DIR_BASE"/
78
ln -s "$ANDAMI_DIR"/andami.jar bin/
79
ln -s "$ANDAMI_DIR"/castor.properties bin/
80
#cp resources/andami-config.xml bin
81
echo OK.
82

  
83

  
84
# Para Windows
85
#Copiamos el lanzador y sus tracuciones al tmpResources
86
rm -Rf tmpResources
87
mkdir tmpResources
88
cp -R "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3/dist/* ./tmpResources
89
mv ./tmpResources/launcher-Win32.exe ./tmpResources/gvSIG.exe
90
#Quitamos el ini, manifest y los CVS
91
rm ./tmpResources/*.ini ./tmpResources/*.manifest
92
find ./tmpResources -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
93
echo OK.
94

  
95
# Estas extensiones se copian directamente al directorio destino, ya que no vamos a dar
96
# opcion a no instalarlas, son obligatorias
97
cd "$DIR_BASE"
98
i=0
99
while [ ! -z ${MANDATORY_EXTENSIONS[$i]} ]
100
do
101
  echo ln -s "$PATH_SOURCE_EXT"/${MANDATORY_EXTENSIONS[$i]} bin/gvSIG/extensiones
102
  ln -s "$PATH_SOURCE_EXT"/${MANDATORY_EXTENSIONS[$i]} bin/gvSIG/extensiones
103
  i=`expr $i + 1`
104
done
105

  
106
echo "*****************"
107
[ $LOC = "es" ] && echo "   EXTENSIONES   "
108
[ $LOC != "es" ] && echo "   EXTENSIONS   "
109
echo "*****************"
110

  
111
rm -rf extensiones
112
mkdir extensiones
113

  
114
i=0
115
while [ ! -z ${EXTENSIONS[$i]} ]
116
do
117
  [ $LOC = "es" ] && echo "Enlazando "${EXTENSIONS[$i]}
118
  [ $LOC != "es" ] && echo "Linking "${EXTENSIONS[$i]}
119
  echo ln -s "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} extensiones
120
  ln -s "$PATH_SOURCE_EXT"/${EXTENSIONS[$i]} extensiones
121
  i=`expr $i + 1`
122
done
123

  
124
echo "*****************"
125
echo "    INST     "
126
echo "*****************"
127
# Generar el instalador (jar)
128
cd "$DIR_BASE"/
129
rm "$JARNAME" -f
130
ant -DJARNAME="$JARNAME" -DGVSIG_VERSION="$GVSIG_VERSION" -DAPPNAME="$APPNAME"
131

  
132

  
133
echo "******************"
134
[ $LOC = "es" ] && echo " GENERAR DISTRIB "
135
[ $LOC != "es" ] && echo " GENERATE DISTRIB "
136
echo "******************"
137
# Generar el tar.gz para Linux y el EXE para Windows
138

  
139
mkdir -p "$OUTPUT_DIR"
140
echo "- Linux"
141
## Nueva instalacion para linux
142
rm -Rf "$INSTALLER_DIR"
143
mkdir -p "$INSTALLER_DIR"/tmp_gvSIGInstall
144
cp "$JARNAME" "$INSTALLER_DIR"/tmp_gvSIGInstall
145
cd "$INSTALLER_DIR"
146
chmod u+x "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3_linux/dist/launcher-Linux
147
cp -R "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3_linux/dist/* ./tmp_gvSIGInstall
148
chmod a+x ./tmp_gvSIGInstall/launcher-Linux
149
find . -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
150

  
151
sed "s/%JARNAME%/$JARNAME/" ./tmp_gvSIGInstall/launcher.ini > ./tmp_gvSIGInstall/launcher.ini.bak
152
mv ./tmp_gvSIGInstall/launcher.ini.bak ./tmp_gvSIGInstall/launcher.ini;
153

  
154
tar -cvzf ./tmp.tgz ./tmp_gvSIGInstall
155
echo '#!/bin/sh' > xx.tmp
156
lcount=`cat xx.tmp "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh | wc -l`
157
lcount=$(($lcount+2)) # sumamos dos: uno por la linea siguiente y otro para el inicio
158
echo "lcount=$lcount" >> xx.tmp
159
cat xx.tmp "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3_linux/h_gvSIG-install.sh ./tmp.tgz  > "$LINUXBIN"
160
rm xx.tmp
161
chmod a+x "$LINUXBIN"
162
mv "$LINUXBIN" "$OUTPUT_DIR"
163
cd "$DIR_BASE"/
164
rm -Rf "$INSTALLER_DIR"
165
## Fin Nueva instalacion para linux
166

  
167
## Para Windows
168
echo "- Windows"
169
#set -x
170
cd "$DIR_BASE"
171
rm -Rf "$INSTALLER_DIR"
172

  
173
mkdir "$INSTALLER_DIR"
174
cp -aR "$GVSIG_INSTALLDIR"/launcher/izpack-launcher-1.3/dist/* "$INSTALLER_DIR"
175
rm -f "$INSTALLER_DIR"/install.bat
176

  
177
find "$INSTALLER_DIR" -name CVS -type d -exec rm -rf {} 2> /dev/null ';' || true
178

  
179
## hacemos las sustituciones de la variable
180
sed "s/%JARNAME%/$JARNAME/" "$INSTALLER_DIR"/launcher-Win32.ini > "$INSTALLER_DIR"/launcher-Win32.ini.bak
181
mv "$INSTALLER_DIR"/launcher-Win32.ini.bak "$INSTALLER_DIR"/launcher-Win32.ini;
182

  
183

  
184
mv "$JARNAME" "$INSTALLER_DIR"
185
cd "$INSTALLER_DIR"
186

  
187
if [ -f  "$DIR_BASE"/"$WINDOWSZIP" ] ; then
188
	rm -f "$DIR_BASE"/"$WINDOWSZIP"
189
fi
190
chmod u+x "$GVSIG_INSTALLDIR"/launcher/7z/7za
191
"$GVSIG_INSTALLDIR"/launcher/7z/7za a -r "$DIR_BASE"/"$WINDOWSZIP" *
192
cd -
193
sed "s/%TITLE%/$APPNAME-$BRIEFVERSION\_$BUILDNUMBER/" "$GVSIG_INSTALLDIR"/launcher/7z/dist_config.txt > dist_config.txt
194
cat "$GVSIG_INSTALLDIR"/launcher/7z/7zS.sfx  dist_config.txt "$WINDOWSZIP" > "$WINDOWSEXE"
195

  
196
###
197

  
198

  
199
rm dist_config.txt
200
rm "$WINDOWSZIP"
201

  
202
rm -Rf "$INSTALLER_DIR"
203

  
204
mv "$WINDOWSEXE" "$OUTPUT_DIR"
205

  
206
# Limpiamos tmpResources
207
cd "$DIR_BASE"/
208
rm -r ./tmpResources
209
cd -
210

  
211
## Limpiamos
212

  
213
rm -rf extensiones
214
rm -rf bin
215

  
216
echo "******************"
217
[ $LOC = "es" ] && echo " GENERAR FUENTES "
218
[ $LOC != "es" ] && echo " GENERATE SOURCES "
219
echo "******************"
220

  
221
cd ..
222
ant generate-source-package
223
mv dist-src/gv*-src.zip "$OUTPUT_DIR"
224
cd -
225

  
226

  
227
echo "*****************"
228
echo "    FIN     "
229
echo "*****************"
230

  
231
echo ""
232
echo "Generados los ficheros:"
233
echo "$OUTPUT_DIR"
234
ls -lh "$OUTPUT_DIR"
235
cd "$DIR_BASE"
tags/v2_0_0_Build_2051/extensions/extExpressionField/install/resources/userInputLang.xml_por
1
<langpack>
2
  <str id="text.label" txt="Path to gvSIG:"/>
3
</langpack>
tags/v2_0_0_Build_2051/extensions/extExpressionField/install/resources/gpl.txt
1
	GNU GENERAL PUBLIC LICENSE
2
	Version 2, June 1991
3

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

  
6
		Preamble
7

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

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

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

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

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

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

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

  
23
	The precise terms and conditions for copying, distribution and modification follow.
24

  
25
				GNU GENERAL PUBLIC LICENSE
26
	TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
27

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

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

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

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

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

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

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

  
42
c)	If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License.  (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
43

  
44
These requirements apply to the modified work as a whole.  If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works.  But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
45

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

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

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

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

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

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

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

  
60
If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
61

  
62
4.	You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License.  Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License.
63
However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
64

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

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

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

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

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

  
76
This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
77

  
78
8.	If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded.  In such case, this License incorporates the limitation as if written in the body of this License.
79

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

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

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

  
86
NO WARRANTY
87

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

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

  
92
END OF TERMS AND CONDITIONS
93

  
94
How to Apply These Terms to Your New Programs
95

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

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

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

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

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

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

  
108

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

Also available in: Unified diff