[Gvsig_desarrolladores] Empezando

jaume dominguez faus jaume.dominguez en iver.es
Lun Abr 2 16:31:22 CEST 2007


Por algún casual tu java es 1.5 o 1.6? la librería crimson.jar dejó de 
ser estándar a partir de java 1.5 y la tienes que añadir manualmente. Te 
la adjunto por si acaso. Pero aprovecho para recordarte que gvSIG 
trabaja con java 1.4.2

Espero que ayude


En/na Angel Rodriguez Fernandez ha escrit:

> Hola, quería empezar a realizar una extensión de gvSIG pero tengo 2 
> problemas:
>
> 1) No consigo compilar el gvSIG 1.0, yo creo que sigo las 
> indicaciones. El buid.xml principal me da la siguiente salida:
>  
> ------------------------------
> Buildfile: 
> _D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\build.xml_
>
> _main_:
>
> __
>
> _debug-yes_:
>
> __
>
> _base_:
>
> __
>
> _compile_:
>
> __
>
> _copy-data-files_:
>
> __
>
> _create-jar_:
>
> [_jar_] Building jar: 
> D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\libInternationalization\dist\gvsig-i18n.jar
>
> __
>
> _move-to-andami_:
>
> [_copy_] Copying 1 file to 
> D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\libInternationalization\lib
>
> [_move_] Moving 1 file to 
> D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\_fwAndami\lib
>
> __
>
> _batch-build_:
>
> __
>
> _compile_:
>
> [_javac_] Compiling 138 source files to 
> D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\libIverUtiles\bin
>
> [_javac_] 
> _D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\libIverUtiles\src\com\iver\utiles\xmlViewer\MultipleXMLContent.java_:47: 
> package org.apache.crimson.parser does not exist
>
> [_javac_] import org.apache.crimson.parser.XMLReaderImpl;
>
> [_javac_] ^
>
> [_javac_] 
> _D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\libIverUtiles\src\com\iver\utiles\xmlViewer\TextXMLContent.java_:46: 
> package org.apache.crimson.parser does not exist
>
> [_javac_] import org.apache.crimson.parser.XMLReaderImpl;
>
> [_javac_] ^
>
> [_javac_] 
> _D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\libIverUtiles\src\com\iver\utiles\xmlViewer\MultipleXMLContent.java_:88: 
> cannot find symbol
>
> [_javac_] symbol : class XMLReaderImpl
>
> [_javac_] location: class com.iver.utiles.xmlViewer.MultipleXMLContent
>
> [_javac_] XMLReaderImpl reader;
>
> [_javac_] ^
>
> [_javac_] 
> _D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\libIverUtiles\src\com\iver\utiles\xmlViewer\MultipleXMLContent.java_:101: 
> cannot find symbol
>
> [_javac_] symbol : class XMLReaderImpl
>
> [_javac_] location: class com.iver.utiles.xmlViewer.MultipleXMLContent
>
> [_javac_] reader = new XMLReaderImpl();
>
> [_javac_] ^
>
> [_javac_] 
> _D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\libIverUtiles\src\com\iver\utiles\xmlViewer\TextXMLContent.java_:82: 
> cannot find symbol
>
> [_javac_] symbol : class XMLReaderImpl
>
> [_javac_] location: class com.iver.utiles.xmlViewer.TextXMLContent
>
> [_javac_] XMLReaderImpl reader = new XMLReaderImpl();
>
> [_javac_] ^
>
> [_javac_] 
> _D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\libIverUtiles\src\com\iver\utiles\xmlViewer\TextXMLContent.java_:82: 
> cannot find symbol
>
> [_javac_] symbol : class XMLReaderImpl
>
> [_javac_] location: class com.iver.utiles.xmlViewer.TextXMLContent
>
> [_javac_] XMLReaderImpl reader = new XMLReaderImpl();
>
> [_javac_] ^
>
> [_javac_] Note: Some input files use or override a deprecated API.
>
> [_javac_] Note: Recompile with -Xlint:deprecation for details.
>
> [_javac_] 6 errors
>
> BUILD FAILED
>
> _
>
> D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\build.xml:8: 
> The following error occurred while executing this line:
>
> D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\appgvSIG\build.xml:219: 
> The following error occurred while executing this line:
>
> D:\anxo\facultad\Tercero\pfc\proyecto\Fuente_gvSIG\gvSIG\libIverUtiles\build.xml:31: 
> Compile failed; see the compiler error output for details.
>
> _
>
> Total time: 6 seconds
>
> Total time: 6 seconds
>  
> -----------
>  
>  
> 2) Me enviasteis unos tutoriales para crear extensiones en gvSIG. Ya 
> en el inicio del tutorial aparece una estructura con carpetas de la 
> que se supone que partimos, yo esas carpetas no las tengo, algunas 
> coinciden con las del codigo fuente del gvSIG pero yo no se si es que 
> es una versión antigua la del tutorial o que necesito algo que no tengo.
>  
>  
> Un saludo, y graciñas
> Anxo
>
>------------------------------------------------------------------------
>
>_______________________________________________
>gvSIG_desarrolladores mailing list
>gvSIG_desarrolladores en runas.cap.gva.es
>http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores
>  
>


-- 
Jaume Dominguez Faus


Àrea de Software Lliure
Equip gvSIG
Iver TI
C. Salamanca, 52
46005 València
Telf: 902 25 25 40 Fax: 96 316 27 16
(Spain)

------------ próxima parte ------------
Se ha borrado un mensaje que no está en formato texto plano...
Nombre     : crimson.jar
Tipo       : application/octet-stream
Tamaño     : 205045 bytes
Descripción: no disponible
Url        : http://runas.cap.gva.es/pipermail/gvsig_desarrolladores/attachments/20070402/42e88e20/crimson-0001.obj


Más información sobre la lista de distribución gvSIG_desarrolladores