[Gvsig_desarrolladores] Empezando

Simone Casciaroli simone.casciaroli en corenet.it
Lun Abr 2 17:12:38 CEST 2007


I think that you are using JDK1.5 to compile the source, you need JDK1.4.
Crimson (the lib that you need) is the default XML parser for JDK1.4 but not
forJDK1.5 (see http://java.sun.com/j2se/1.5.0/compatibility.html)
Best regards

Simone Casciaroli

On 4/2/07, Angel Rodriguez Fernandez <anxelin at hotmail.com> wrote:
>
>  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 at runas.cap.gva.es
> http://runas.cap.gva.es/mailman/listinfo/gvsig_desarrolladores
>
>


-- 
Simone Casciaroli
Core Soluzioni Informatiche S.r.l.
http://www.corenet.it
Via Calzolerie, 2 - 40125 BOLOGNA - ITALY
tel. +39.051.278969
fax. +39.051.270806
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://runas.cap.gva.es/pipermail/gvsig_desarrolladores/attachments/20070402/746e89aa/attachment-0001.htm


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