[Gvsig_desarrolladores] archivo build.xml
Carlos Terán
carlosteranviteri en hotmail.com
Jue Mar 3 14:58:40 CET 2011
Saludos,
Espero que me puedan ayudar. Al momento estoy tratando de montar gvSIG 2.0 y al
instante q:
"Añadiremos a la vista de Ant que hemos abierto, el
archivo build.xml
que tenemos dentro del proyecto build.
Entonces nos aparecerán una serie de objetivos de ant,
entre los cuáles está mvn-install. Lo lanzamos
con doble click o seleccionando el objetivo indicado y
pulsando en el icono con la flecha." (Según el manual)
eclipse me arroja el siguiente error:
Buildfile:
C:\ProyectosGVSIG\build\build.xml
mvn-install:
BUILD FAILED
C:\ProyectosGVSIG\build\ant-tasks\maven-goals.xml:25:
The following error occurred while executing this line:
C:\ProyectosGVSIG\build\ant-tasks\ant-tasks-config.xml:73:
ERROR!!
You have to define
your gvSIG platform properties,
by creating the
file: C:\Documents and
Settings\dnac19/.gvsig.platform.properties
with the following
content:
native_platform=linux
native_distribution=Ubuntu-9.10
native_compiler=gcc4
native_arch=i386
native_libraryType=dynamic
export
native_classifier=${native_platform}-${native_distribution}-${native_compiler}-${native_arch}-${native_libraryType}
Replace the fifth
initial variables values with the ones appropiate
to your platform.
If you use maven in
the command line, you can use the previous file also
to define the
MAVEN_OPTS environment variable, by adding to your
.bash_rc file
something like this:
if [ -f
"${HOME}/.gvsig.platform.properties" ]
then
.
${HOME}/.gvsig.platform.properties
export
MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m
-Dnative-classifier=${native_classifier}"
else
export
MAVEN_OPTS="-Xmx256M -XX:MaxPermSize=64m"
fi
It will work if you
use the bash shell. In any other case or platform,
you'll
have to define your
MAVEN_OPTS environment variable and set the
"native-classifier"
parameter directly.
Imagino que el error es porque algún archivo está
prestablecido para correr en ubuntu y yo estoy trabajando sobre Windows (es así como debo
trabajar según el departamento de sistemas del Ministerio
de Desarrollo Urbano y Vivienda del Ecuador).
Por favor, ayúndenme indicandome el cómo hacer para que
funcione sobre windows.
Atentamente,
Carlos Terán V.
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: http://listserv.gva.es/pipermail/gvsig_desarrolladores/attachments/20110303/407da931/attachment.htm
Más información sobre la lista de distribución gvSIG_desarrolladores