<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloCorreo17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=ES link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Buenas!!!!<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Estoy intentando migrar una extensión que ya tenia
desarrollada para la versión 1.1.2, a la actual versión estable 1.11. Antes de
tirarme &#8220;al barro&#8221; he optado por coger un ejemplo del manual de
desarrolladores y probarlo sobre la versión 1.11, pero me aparecen una serie de
problemas. Después de quitarle una serie de errores que eran evidentes, por el
tema de los import&#8230;., me aparecen otros errores que no consigo quitar:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:#3F7F5F'>//@Override</span><span
style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>      </span><b><span style='font-size:
10.0pt;font-family:"Courier New";color:#7F0055'>public</span></b><span
style='font-size:10.0pt;font-family:"Courier New";color:black'> </span><b><span
style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>void</span></b><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>
point(PointEvent event) </span><b><span style='font-size:10.0pt;font-family:
"Courier New";color:#7F0055'>throws</span></b><span style='font-size:10.0pt;
font-family:"Courier New";color:black'> BehaviorException {</span><span
style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>            ViewPort vp = </span><span
style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>mc</span><span
style='font-size:10.0pt;font-family:"Courier New";color:black'>.getViewPort();</span><span
style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>            Point2D pReal </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>=
vp.toMapPoint(event.getPoint());</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>        FLayers
lyrs = </span><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";
color:#0000C0'>mc</span><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New";color:black'>.getMapContext().getLayers();</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>        FLyrVect
lyrProvin = (FLyrVect) lyrs.getLayer(</span><span lang=EN-US style='font-size:
10.0pt;font-family:"Courier New";color:#2A00FF'>&quot;Provin.shp&quot;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>);     
</span><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>        </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>//try
{</span><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>            SelectableDataSource
ds =<b><u>lyrProvin.getRecordset()</u>; //error: </b></span><span lang=EN-US
style='font-size:8.0pt;font-family:"Tahoma","sans-serif"'>The method
getRecordset() from the type FLyrVect refers to the missing type
ReadDriverException</span><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>            </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>int</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>
idField = ds.<b><u>getFieldIndexByName</u></b>(</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:#2A00FF'>&quot;NOM_PROVIN&quot;</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>);
//error: </span><span lang=EN-US style='font-size:8.0pt;font-family:"Tahoma","sans-serif"'>The
method getFieldIndexByName(String) from the type SelectableDataSource refers to
the missing type ReadDriverException</span><span lang=EN-US style='font-size:
10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>            </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                  FBitSet
bs = lyrProvin.<b><u>queryByPoint</u></b>(pReal, 10.0); //error: </span><span
lang=EN-US style='font-size:8.0pt;font-family:"Tahoma","sans-serif"'>The method
queryByPoint(Point2D, double) from the type FLyrVect refers to the missing type
ReadDriverException</span><span lang=EN-US style='font-size:10.0pt;font-family:
"Courier New";color:black'> </span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                  </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>if</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'> (</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>dlg</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'> == </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>null</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>)</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                  {</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                        </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>dlg</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'> = </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>new</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>
DlgProvin();                   </span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                  }</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                  </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>dlg</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'> =
(DlgProvin) PluginServices.<i>getMDIManager</i>().addWindow(</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>dlg</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>);</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                  </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>for</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'> (</span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>int</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>
i=bs.nextSetBit(0); i &gt;=0; i=bs.nextSetBit(i+1))</span><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                  {</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                        </span><b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#7F0055'>long</span></b><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>
idRec = i;</span><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                        String
nom = ds.<b><u>getFieldValue</u></b>(idRec, idField).toString(); //</span><span
lang=EN-US style='font-size:8.0pt;font-family:"Tahoma","sans-serif"'> The
method getFieldValue(long, int) from the type SelectableDataSource refers to
the missing type Value</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                        </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#0000C0'>dlg</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:black'>.setProvinName(nom);</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>                  }</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:black'>            </span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>/*}
catch (DriverLoadException e) {</span><span lang=EN-US style='font-size:10.0pt;
font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>                  e.printStackTrace();</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>                  NotificationManager.addError(e);</span><span
lang=EN-US style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span lang=EN-US
style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>            </span><span
style='font-size:10.0pt;font-family:"Courier New";color:#3F7F5F'>}*/</span><span
style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>            </span><span
style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal style='text-autospace:none'><span style='font-size:10.0pt;
font-family:"Courier New";color:black'>            </span><span
style='font-size:10.0pt;font-family:"Courier New"'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Courier New";
color:black'>      }</span><span lang=EN-US style='font-size:8.0pt;font-family:
"Tahoma","sans-serif"'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:8.0pt;font-family:"Tahoma","sans-serif"'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal>Si despliego los errores, me aparece algo como esto:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Multiple markers at this line<o:p></o:p></p>

<p class=MsoNormal>                - The type
com.hardcode.gdbms.driver.exceptions.ReadDriverException cannot be resolved. It
is indirectly referenced from <o:p></o:p></p>

<p class=MsoNormal>                 required .class files<o:p></o:p></p>

<p class=MsoNormal>                - The method getRecordset() from the type
FLyrVect refers to the missing type ReadDriverException.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>La solución que se me ocurre es añadir al Build Path la librería
com.hardcode.gdbms.driver, que debería estar alojada en extJDBC, pero nada&#8230;sigue
sin funcionar.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Alguien sabe como limpiar esos errores??<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Gracias.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Antonio Araque.<o:p></o:p></p>

</div>

</body>

</html>