Sorry, I sent an unfinished mail.... I meant....
 "I can change the code to:info.setUpdateSequence( get( global, 
"updateSequence", long.class ) ); "
Alvaro
      De: A Huarte <ahuart...@yahoo.es>
 Para: "geoserver-devel@lists.sourceforge.net" 
<geoserver-devel@lists.sourceforge.net> 
 Enviado: Lunes 21 de diciembre de 2015 14:00
 Asunto: Fail build LegacyConfigurationImporter in Eclipse mars for Windows and 
Java8...
   
Hi, I have updated my geoserver repo to current master repo.
It builds ok from windows console with maven, but when I create the eclipse 
projects and I load them in Eclipse Mars (Windows 7 - x64), I get the error 
"Type mismatch: cannot convert from Integer to long" in line ...
https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/geoserver/config/util/LegacyConfigurationImporter.java#L115


The current method of GeoServerInfo class accepts a long 
value:https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/geoserver/config/GeoServerInfo.java#L253

I can change the code to:info.setUpdateSequence( get( global, "updateSequence", 
int.class ) );

Eclipse builds ok, but really where I am wrong?

Thanks in advance.Alvaro

   
------------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to