[Gvsig_desarrolladores] Asistente de creacion de plugin de gvsig2.0
seriznue
seriznue en hotmail.com
Vie Dic 9 13:20:43 CET 2011
Hola Cesar, he seguido tus recomendaciones pero sigo con el mismo error. En
efecto los proyectos estan creados. Supongo que no habrá ningun problema en
configurar manualmente mi espacio de trabajo. Aún así tengo otro problema.
Cuando intento ejecutar un objetivo del build.xml me aparece 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.
----------------------------------------------------------------------------------------------
Por lo que he leido en la documentacion de desarrolador tengo que crear un
archivo .gvsig.platorm.properties con los parametros para windows, pero,
¿como creo este archivo? ¿su extension es properties? ¿no le pongo nombre?
¿puede ser que el problema anterior se deba a este archivo?
Un saludo y muchas gracias por adelantado
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Asistente-de-creacion-de-plugin-de-gvsig2-0-tp7077771p7077988.html
Sent from the gvSIG desarrolladores mailing list archive at Nabble.com.
Más información sobre la lista de distribución gvSIG_desarrolladores