Revision 11534
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/.classpath | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<classpath> |
|
3 |
<classpathentry kind="src" path="src"/> |
|
4 |
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> |
|
5 |
<classpathentry combineaccessrules="false" kind="src" path="/_fwAndami"/> |
|
6 |
<classpathentry combineaccessrules="false" kind="src" path="/appgvSIG"/> |
|
7 |
<classpathentry combineaccessrules="false" kind="src" path="/extCAD"/> |
|
8 |
<classpathentry combineaccessrules="false" kind="src" path="/libFMap"/> |
|
9 |
<classpathentry kind="lib" path="/extScripting/lib/bsf-2.3.0rc1.jar"/> |
|
10 |
<classpathentry sourcepath="/libGDBMS" kind="lib" path="/libFMap/lib/gdbms-0.8-SNAPSHOT.jar"/> |
|
11 |
<classpathentry sourcepath="/libCq CMS for java" kind="lib" path="/libFMap/lib/cms.jar"/> |
|
12 |
<classpathentry sourcepath="/libUI" kind="lib" path="/_fwAndami/lib/beans.jar"/> |
|
13 |
<classpathentry sourcepath="/Utiles/src" kind="lib" path="/_fwAndami/lib/iver-utiles.jar"/> |
|
14 |
<classpathentry sourcepath="/libDriverManager" kind="lib" path="/libFMap/lib/driver-manager-1.1.jar"/> |
|
15 |
<classpathentry kind="output" path="bin"/> |
|
16 |
</classpath> |
|
0 | 17 |
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/.project | ||
---|---|---|
1 |
<?xml version="1.0" encoding="UTF-8"?> |
|
2 |
<projectDescription> |
|
3 |
<name>extExpresionField</name> |
|
4 |
<comment></comment> |
|
5 |
<projects> |
|
6 |
</projects> |
|
7 |
<buildSpec> |
|
8 |
<buildCommand> |
|
9 |
<name>org.eclipse.jdt.core.javabuilder</name> |
|
10 |
<arguments> |
|
11 |
</arguments> |
|
12 |
</buildCommand> |
|
13 |
<buildCommand> |
|
14 |
<name>de.loskutov.FileSync.FSBuilder</name> |
|
15 |
<arguments> |
|
16 |
</arguments> |
|
17 |
</buildCommand> |
|
18 |
</buildSpec> |
|
19 |
<natures> |
|
20 |
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature> |
|
21 |
<nature>org.eclipse.jdt.core.javanature</nature> |
|
22 |
<nature>org.eclipse.jem.beaninfo.BeanInfoNature</nature> |
|
23 |
</natures> |
|
24 |
</projectDescription> |
|
0 | 25 |
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/config/text.properties | ||
---|---|---|
1 |
#text.properties |
|
2 |
advanced=Avanzado |
|
3 |
boolean_value=Valor boleano |
|
4 |
calculate_expresion=Calcular expresi?n |
|
5 |
charging_operators=Cargando operadores |
|
6 |
clear_expresion=Borrar expresi?n |
|
7 |
column=Columna |
|
8 |
commands=Comandos |
|
9 |
continue?=?Quiere continuar? |
|
10 |
date=Fecha |
|
11 |
date_value=Valor fecha |
|
12 |
error_expresion=Error en la expresi?n |
|
13 |
eval_expresion_will_be_carried_out_right_now_with_current_values_in_table=El c?lculo de la expresi?n se realizar? en este momento\nsobre los registros existentes en la tabla. |
|
14 |
evaluate=Evaluar |
|
15 |
evaluate_expresion_with_errors=Expresiones evaluadas con errores |
|
16 |
explorer=Explorar |
|
17 |
expresion=Expresi?n |
|
18 |
expresions=Expresiones |
|
19 |
expresions_from_file=Expresiones de fichero |
|
20 |
field=Campo |
|
21 |
general=General |
|
22 |
incorrect_file=Fichero incorrecto |
|
23 |
information=Informaci?n |
|
24 |
it_has_established_a_limit_of_rows_will_lose_the_possibility_to_undo_wants_to_continue=Tiene establecido un l?mite de registros en preferencias, perder? la posibilidad de deshacer. ?Quiere continuar? |
|
25 |
limit_rows_in_memory=L?mite de registros en memoria |
|
26 |
numeric=Num?rico |
|
27 |
numeric_value=Valor num?rico |
|
28 |
parameter=Par?metro |
|
29 |
returns=Devuelve |
|
30 |
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expresion=Especifica el n?mero de registros\n en memoria cuando se evalue la expresi?n,\n reduciendose dr?sticamente la velocidad\n cuando se limite. |
|
31 |
string=Cadena |
|
32 |
string_value=Valor cadena |
|
33 |
type=Tipo |
|
34 |
without_limit=Sin l?mite |
|
0 | 35 |
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/config/about.htm | ||
---|---|---|
1 |
<html> |
|
2 |
<head> |
|
3 |
<title>Extesión de la Aplicación para el cálculo de una expresión sobre una columna de la tabla.</title> |
|
4 |
<meta content=""> |
|
5 |
<style></style> |
|
6 |
</head> |
|
7 |
<body> |
|
8 |
<table width="60%" border="0"> |
|
9 |
<tr> |
|
10 |
<td width="64%"><img src="images/logo_horiz_bicolor_gva.png" width="329" height="50"></td> |
|
11 |
<td width="36%"><div align="right"><img src="images/logoIver.png" width="87" height="50"></div></td> |
|
12 |
</tr> |
|
13 |
<tr> |
|
14 |
<td colspan="2"><font face="Arial, Helvetica, sans-serif">© Copyright |
|
15 |
Generalitat Valenciana, IVER T.I. 2007.</font></td> |
|
16 |
</tr> |
|
17 |
</table> |
|
18 |
<h3>Extensión de la Aplicación para el cálculo de una expresión sobre una columna de la tabla.</h3> |
|
19 |
<p><br><br><b> Build Number: #build.number#</b></p> |
|
20 |
</body> |
|
21 |
</html> |
|
0 | 22 |
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/config/text_en.properties | ||
---|---|---|
1 |
#text_en.properties |
|
2 |
advanced=Advanced |
|
3 |
boolean_value=Boolean value |
|
4 |
calculate_expresion=Calculate expresion |
|
5 |
charging_operators=Charging operators |
|
6 |
clear_expresion=Clear expresion |
|
7 |
column=Column |
|
8 |
commands=Commands |
|
9 |
continue?=Continue? |
|
10 |
date=Date |
|
11 |
date_value=Date value |
|
12 |
error_expresion=Error expresion |
|
13 |
eval_expresion_will_be_carried_out_right_now_with_current_values_in_table=Eval expresion will be carried out right now\nwith current values in table. |
|
14 |
evaluate=Evaluate |
|
15 |
evaluate_expresion_with_errors=Evaluated expresions with errors |
|
16 |
explorer=Explorer |
|
17 |
expresion=Expresion |
|
18 |
expresions=Expresions |
|
19 |
expresions_from_file=Expresions from file |
|
20 |
field=Field |
|
21 |
general=General |
|
22 |
incorrect_file=Incorrect file |
|
23 |
information=Information |
|
24 |
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? |
|
25 |
limit_rows_in_memory=Limit rows in memory |
|
26 |
numeric=Numeric |
|
27 |
numeric_value=Numeric value |
|
28 |
parameter=Parameter |
|
29 |
returns=Returns |
|
30 |
specifies_the_limit_rows_in_memory_when_the_program_eval_the_expresion=Speficies the limit rows in memory when the program eval the expresion\n The limit down the velocity. |
|
31 |
string=String |
|
32 |
string_value=String value |
|
33 |
type=Type |
|
34 |
without_limit=Without limit |
|
0 | 35 |
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/config/config.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
|
2 |
<plugin-config> |
|
3 |
<libraries library-dir="."/> |
|
4 |
<depends plugin-name="com.iver.cit.gvsig"/> |
|
5 |
<depends plugin-name="com.iver.cit.gvsig.cad"/> |
|
6 |
<depends plugin-name="org.gvsig.scripting"/> |
|
7 |
<resourceBundle name="text"/> |
|
8 |
<extensions> |
|
9 |
<extension class-name="com.iver.cit.gvsig.ExpresionFieldExtension" |
|
10 |
description="Extension that evaluate the expresion to a column." |
|
11 |
active="true"> |
|
12 |
<menu text="field/expresion" tooltip="expresion" |
|
13 |
action-command="EXPRESION" |
|
14 |
icon="images/kcalc.png" /> |
|
15 |
<tool-bar name="field_toolbar"> |
|
16 |
<action-tool icon="images/kcalc.png" |
|
17 |
action-command="EXPRESION" tooltip="expresion" |
|
18 |
last="true"/> |
|
19 |
</tool-bar> |
|
20 |
</extension> |
|
21 |
<extension class-name="com.iver.cit.gvsig.AboutExpresionFieldExtension" |
|
22 |
description="Extension to add about panel." |
|
23 |
active="true" |
|
24 |
priority="1"> |
|
25 |
</extension> |
|
26 |
</extensions> |
|
27 |
</plugin-config> |
|
0 | 28 |
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/build.number | ||
---|---|---|
1 |
#Build Number for ANT. Do not edit! |
|
2 |
#Wed May 09 14:05:22 CEST 2007 |
|
3 |
build.number=2 |
|
0 | 4 |
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/install/install.xml | ||
---|---|---|
1 |
<installation version="1.0"> |
|
2 |
<info> |
|
3 |
<!--<appname>gvSIG_1.0_alpha</appname>--> |
|
4 |
<appname>gvSIG_expresionField_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.expresionfield" override="true"/> |
|
75 |
</pack> |
|
76 |
|
|
77 |
|
|
78 |
</packs> |
|
79 |
|
|
80 |
</installation> |
|
0 | 81 |
tags/CalculadoraCampos_Build_2/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" |
|
0 | 236 |
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/install/resources/userInputLang.xml_val | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Ruta a gvSIG:"/> |
|
3 |
</langpack> |
|
0 | 4 |
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/install/resources/userInputLang.xml_spa | ||
---|---|---|
1 |
<langpack> |
|
2 |
<str id="text.label" txt="Ruta a gvSIG:"/> |
|
3 |
</langpack> |
|
0 | 4 |
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/install/resources/Leeme-ExpresionField.txt | ||
---|---|---|
1 |
Plugin Calculadora de Campos versi?n 1.0 (Build Number #build.number#): |
|
2 |
|
|
3 |
Antes de comenzar compruebe los siguientes puntos: |
|
4 |
|
|
5 |
1.- Descargue los fuentes de la v1.0.2 de gvSIG. Siga los pasos all? indicados en el archivo 'Leeme.txt' para obtener un entorno de desarrollo funcional. |
|
6 |
|
|
7 |
*** Compilaci?n |
|
8 |
|
|
9 |
1.- Descomprima este paquete dentro del directorio de fuentes que acaba de preparar ( gvSIG-1_0_2-src). |
|
10 |
|
|
11 |
2.- (S?lo si usa eclipse) Importe los proyectos que acaba de descomprimir: |
|
12 |
*1: Men? File/Import. |
|
13 |
*2: Seleccione 'Existing Projects into workspace' y 'Next' |
|
14 |
*3: Con la opci?n 'Select root directory' pulse 'Browse...' |
|
15 |
*4: Sit?ese en el directorio del workspace (normalmente el dialogo ya se encuentra en ?l) y pulse 'Aceptar'. |
|
16 |
*5: Pulse 'Deselect All' |
|
17 |
*6: Marque los siguientes proyectos de la lista: extExpresionField. |
|
18 |
*7: Pulse 'Finish'. |
|
19 |
|
|
20 |
3.- Ejecute el 'build.xml' del proyecto 'extExpresionField' (usando ant o eclipse). |
|
21 |
|
|
22 |
Ante cualquier problema: |
|
23 |
|
|
24 |
Apuntese a la lista de desarrolladores de gvSIG y pregunte all? (http://www.gvsig.gva.es). |
|
25 |
|
|
26 |
Gracias por desarrollar sobre gvSIG. |
|
27 |
|
|
28 |
Un saludo. |
|
29 |
|
|
30 |
Equipo gvSIG. |
|
0 | 31 |
tags/CalculadoraCampos_Build_2/extensions/extExpressionField/install/resources/images/ico-gvSIG.JPG | ||
---|---|---|
1 |
???? JFIF ` ` ?? C |
|
2 |
|
|
3 |
$.' ",#(7),01444'9=82<.342?? C |
|
4 |
|
|
5 |
2!!22222222222222222222222222222222222222222222222222?? ! " |